Commit Graph
1811 Commits
Author SHA1 Message Date
altrisi 852139d936 Make split split lists in list of single elements list without delimiter 2021-01-14 02:58:05 +01:00
gnembon d563e65c77 Merge pull request #666 from altrisi/extra-splitting
[Suggestion] Allow splitting lists by element value
2021-01-13 21:23:49 -04:00
replaceitem c0e2d17377 Fixed null acting as a string with matching operator (~) and split() (#662)
* Fixed null acting as a string with matching operator (~)
2021-01-13 21:17:39 -04:00
BisUmToandgnembon 2121a91a55 Added nbt_storage() scapet function (#655)
* Added storage() scarpet function

Allows you to easly manage vanilla data command storage

* Added docs and uniformed with scoreboard()

storage(key, nbt) will now return the previous value to be consistant with the scoreboard() command.

* Included imports

* Renamed storage function to nbt_storage

* Update docs/scarpet/api/Auxiliary.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-01-13 21:14:57 -04:00
Andrew S df20f9e4e4 Add the lightEngineMaxBatchSize rule (#654)
* Apply light batch sizes after start region has been created

* Add light batch rules
2021-01-13 21:07:42 -04:00
gnembon b362c46056 1.4.22, proven support for 1.16.5-pre1 2021-01-13 18:18:11 -04:00
Mitchell Skaggs 0f90328e53 Modify mixin signature to match 1.16 signature 2021-01-12 03:27:08 -06:00
altrisi 49ffa4f109 Add new split functions 2021-01-11 19:46:39 +01:00
gnembon 5e7bab6b9e events triggered for all players even for player specific events. Fixes #651 2021-01-09 04:57:06 -04:00
gnembon f3f8c689a8 fixing incorrect default upper bound for slice. Fixes #657 2021-01-07 00:40:39 -04:00
gnembon eac4eb0537 Merge pull request #634 from altrisi/freeze-schedules
❄️ Freezing Scarpet ❄️
2021-01-07 00:00:48 -04:00
altrisi cdaf17ea1e JSON support tweaks 2021-01-05 02:42:02 +01:00
altrisi 706d632956 Also freeze shapes 2021-01-03 23:55:47 +01:00
altrisi ffeee1fa9d Freeze schedules too 2021-01-02 12:57:45 +01:00
altrisi e38e8f74ea Better javadoc for #deeplyFrozen() 2020-12-29 16:17:59 +01:00
altrisi 6d3ac93e4c Use setters and getters for frozen state, separate superHot and
don't tick regular tick events
2020-12-29 16:00:07 +01:00
gnembon a0507400ee Merge pull request #631 from replaceitem/scoreboard-criterion-mod
Added ability to change criterion with scoreboard_add Fixes #624
2020-12-29 00:01:58 -04:00
gnembon 4aaec6562b Merge pull request #643 from altrisi/json-reading
Reading/Writing JSON in Scarpet
2020-12-28 22:48:55 -04:00
replaceitem 5771d42c98 scoreboard_add returns current criterion and null 2020-12-28 12:44:17 +01:00
Ghoulboy78 6375108dbf Add game_data_version (it's mostly for WE dev, ngl) 2020-12-28 10:28:20 +01:00
altrisi 929c17da36 Fix Value mess 2020-12-27 15:53:44 +01:00
altrisi aabff1623b Reading/Writing JSON, first working version 2020-12-27 02:04:19 +01:00
gnembon ba2586743a errors in arguments include failing argument custom tupe. 2020-12-25 05:34:55 -04:00
gnembon 7ad6de64ff slice can accept negative indices 2020-12-25 04:55:32 -04:00
gnembon d6eb53b6ce player entity value may become invalid due to respawns. This not only fixes #633, but also other cases where player reference is used over time while player respawns and its instance is recycled. 2020-12-24 06:48:14 -04:00
gnembon 6225e5f632 player() returns consistently on player scoped apps. 2020-12-23 11:55:45 -04:00
gnembon d99ab4fc24 limit depth of game_tick, just in case. 2020-12-20 22:58:41 -04:00
altrisi 33347baaf7 Freezing Scarpet
And the client
2020-12-21 00:14:20 +01:00
gnembon f54ab746fe player swinging events. 2020-12-20 18:34:43 -04:00
gnembon c6529c3d3c 1.4.21 2020-12-16 18:03:04 -04:00
replaceitem 6bb7eb2ae2 Merge branch 'master' into scoreboard-criterion-mod 2020-12-16 20:40:29 +01:00
replaceitem 055c26d44a added changing criterion to scoreboard_add #624 2020-12-16 20:35:28 +01:00
gnembon 8aa2e93162 Merge pull request #628 from altrisi/formatted-add
Add FormattedText addition
2020-12-16 02:14:23 -04:00
gnembon 5280cda3ee set can now accept map of properties. 2020-12-16 02:05:05 -04:00
gnembon 4466f9e8bb set vanishes block data on unsuccessful replace. Fixes #629 2020-12-16 01:37:00 -04:00
altrisi a81b549360 Move FormattedText addition into a combined function 2020-12-15 10:00:09 +01:00
altrisi 6dfd64027d Add FormattedText functionality to the right of the operand 2020-12-14 19:20:21 +01:00
altrisi 7b77fb0853 Add FormattedText addition 2020-12-14 18:36:24 +01:00
gnembon cd892f95bc cleaner 2020-12-14 02:36:53 -04:00
gnembon 68af14211d Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2020-12-13 06:29:48 -04:00
gnembon 7bacea1810 range now handles better long long chains, as well as float values. 2020-12-13 06:29:42 -04:00
gnembon 34ee6784a4 values close to zero don't round nicely with bigdecs 2020-12-13 06:07:13 -04:00
gnembon fe611145a9 Merge pull request #623 from BisUmTo/onTrade-Scarpet-Event
Added onTrade Scarpet Event
2020-12-12 00:43:14 -04:00
gnembon 5e98fbef66 Update src/main/java/carpet/mixins/TradeOutputSlot_scarpetEventMixin.java 2020-12-12 00:42:03 -04:00
Kevin Delugan 2be4ac8ee0 Added onTrade Scarpet Event 2020-12-11 05:19:06 +01:00
gnembon 97971322e5 better death messages for fake players and handling idling. Fixes #619 2020-12-11 00:14:11 -04:00
gnembon 6dc6a42bda client function, duh. 2020-12-08 19:15:33 -04:00
altrisi bf9aa3207a Fix optimizedTNT entity behaviour (#617)
Fixes gnembon#616
2020-12-07 17:30:04 -04:00
gnembon f54a098948 allow apps define their own command permission level, fixes #542 2020-12-07 16:03:42 -04:00
Ghoulboy bf0b75ebff adding dev_environment (#615) 2020-12-07 08:39:04 -04:00