Commit Graph
42 Commits
Author SHA1 Message Date
gnembon d388c406fd lists are now properly mutable 2021-04-24 00:30:51 -03:00
gnembon e22474156b maps unpack 2021-04-23 10:58:33 -03:00
gnembon a65d16c9ba WIP unpacking of parameters. 2021-04-21 12:21:47 -03:00
replaceitem ca4db433c1 Fixed slice() returning empty string when referring to last character (#751)
* Fixed slice() returning empty string when referring to last character
2021-03-01 22:10:49 -04:00
altrisi 9eea3b47a6 Actually return those lists 2021-01-14 03:08:33 +01:00
altrisi 852139d936 Make split split lists in list of single elements list without delimiter 2021-01-14 02:58:05 +01:00
altrisi 49ffa4f109 Add new split functions 2021-01-11 19:46:39 +01:00
gnembon f3f8c689a8 fixing incorrect default upper bound for slice. Fixes #657 2021-01-07 00:40:39 -04:00
gnembon 7ad6de64ff slice can accept negative indices 2020-12-25 04:55:32 -04:00
gnembon 5a8ce26c44 'biome' query api 2020-11-28 19:02:58 -04:00
altrisiandgnembon ba1071a8d1 Javadocs, cleanup, extension's client rules, built-in BundledModules generators, etc (#544)
* Add javadocs to many methods

* Added built-in ways to generate BundledModules and documented them

* Add Eclipse launch files to .gitignore and fix 11 warnings

* Remove many unused imports

* Remove some dead and unused code around app loading

* Allow extensions to have client-side rules in their SettingsManager

Also change tabs to spaces when those changed

* Remove unnecessary classloader param in BundledModule

* Change max tickwarp duration to Integer.MAX_VALUE

* Move RulePrinter into the source so it can be managed by the IDE

* Properly reset hopperCounters when changing worlds

Also change tabs to spaces again and minor tweaks to javadocs

* Run mergedocs even if Full.md was modified

* Update src/main/java/carpet/commands/TickCommand.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2020-11-16 09:30:59 -04:00
gnembon 9e8556f9d9 command arguments done 2020-11-09 03:04:26 -04:00
gnembon d5ebe5361c fixed incorrect recognition of some NULL objects 2020-09-28 22:17:29 -03:00
gnembon e759a368b9 Can has json version of a scarpet value 2020-08-21 01:44:19 -03:00
gnembon 968ef0cd9f numbers in scarpet better handle long type values.
If possible, numbers that can be represented as longs (seeds, etc) will be handled as longs but they will loose their longinness with a single arithmetic operation.
2020-08-21 00:47:19 -03:00
gnembon c6973d35f6 better wording with expected numerical argument. Fixes #419 2020-08-20 23:22:08 -03:00
gnembon df16a3561a better error message 2020-07-27 03:13:31 -03:00
gnembon ccd92c5957 added encode_nbt, added 'nbt' and 'nbt_merge' to modify entity API. 2020-06-20 02:19:20 -03:00
gnembonandGhoulboy78 29a81d53d6 unix_time and convert_date (#332)
* very simple stuff

* added unix_date and imporved unix_time

* Update docs/scarpet/api/Auxiliary.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>

* Update Full.md

* Dont 100% work, but It'll do untl I fix tomorrow

* works, I think

* changeing weekdays

* removing weird stuff I didnt mean to do

* previous commits

* moving to expression.java

because prof.gnembon said

* moving away from LazyFUnctions

cos gnembon doesn't like evaluating somewhere

* updating docs

* tweaks to dates

Co-authored-by: Ghoulboy78 <ghoulboy27@gmail.com>
2020-06-17 11:10:59 -03:00
gnembon ad43784ad6 unify structure info. 2020-05-04 15:48:45 -03:00
gnembon 3f9556f9aa added legacy untracked npp lang specs 2020-03-18 00:47:30 -03:00
gnembon dd31d43192 POI API 2020-01-17 17:10:22 -04:00
gnembon 5d32213922 threading 2019-12-16 08:56:22 -04:00
gnembon 24c1ee8d3d lists and maps copy by reference. use copy to get a copy. 2019-11-21 21:21:58 -04:00
gnembon efb87c8497 added copy and fixed cleaning of semicolons 2019-11-04 00:35:32 -04:00
gnembon 6c2ddd68db fixed named results, and added loaded_status 2019-10-29 00:46:44 -03:00
gnembon 0226965ba0 fixed scarpet error msgs 2019-10-19 22:17:41 -03:00
gnembon 8294c79428 handled proper null value for nbt 2019-10-16 21:17:04 -03:00
gnembon 6524725245 fixes to scarpet 1.5 2019-10-15 09:37:50 -03:00
gnembon 701a717135 reworked container access (never throw, multi-field access, return values, operator), added package storage 2019-10-13 02:54:18 -03:00
gnembon daea1c7aa8 extended list put support 2019-10-08 01:59:12 -03:00
gnembon c442a78e49 docs 2019-10-07 16:50:36 -03:00
gnembon 768c44cc14 equality issues and docs 2019-10-07 09:30:25 -03:00
gnembon dab9c5debe cleanup and added requirement for floats to start with 0.2 2019-10-05 02:23:53 -03:00
gnembon 718a619128 nbt support WIP and proper container API 2019-10-02 03:09:22 -03:00
gnembon 8b7b285503 hash code and stump of map 2019-10-01 14:50:16 -03:00
gnembon 6e4de969c8 list tweaks 2019-07-20 22:52:32 -03:00
gnembon 3c96345a60 tracking and tracing 2019-07-20 18:53:17 -03:00
gnembon 239e7006a5 reworked script host, working on nbttags 2019-07-19 09:45:15 -03:00
gnembon 83a8f35094 better inventory and nbt support. control flow statements default to nulls 2019-06-29 20:00:15 -03:00
gnembon 037321ccfd inventories 2019-06-24 09:15:54 -03:00
gnembon 885f579d6c scarpet v1.2 2019-05-16 14:11:39 -03:00