Commit Graph
1946 Commits
Author SHA1 Message Date
gnembon 9ebae27807 workaround for hanging events after shutdown. 2021-02-10 23:35:59 -04:00
gnembon ef4dc62f1f 21w06a 2021-02-10 23:29:42 -04:00
gnembon 257aca4254 mappings 2021-02-09 00:16:07 -04:00
gnembon 6108cdce23 Merge branch 'master' into 1.17 2021-02-08 23:54:23 -04:00
altrisi 4807e4d518 Fix rules-to-wiki and generalize some code for extension's equivalents (#696)
* Fix rules-to-wiki output

* Publicize OLD_OUT in RulePrinter to simplify extension's equivalents

And rename to CarpetRulePrinter because of the same reason
2021-02-08 23:52:49 -04:00
gnembon 4c09d6b736 added __on_start and defined better meta-events 2021-02-08 18:08:38 -04:00
gnembon 0a45778e4a scarpet and carpet close handler now triggers with players still online in SP 2021-02-08 18:06:49 -04:00
gnembon 1d4f105174 shapes would render much better without shaders 2021-02-08 15:42:00 -04:00
gnembon f68aa410c7 fix for operators not to use contexts that don't apply 2021-02-08 15:40:21 -04:00
gnembon 35c288b03f looping on nulls behaves like on empty lists. 2021-02-08 15:39:41 -04:00
gnembon 7309b33029 Merge branch 'master' into 1.17 2021-02-03 20:19:10 -04:00
gnembon 291393bb62 1.4.25 2021-02-03 20:18:05 -04:00
gnembon 50eae09c17 21w05a 2021-02-03 20:15:45 -04:00
gnembon 71a8dcc31e Merge branch 'master' into 1.17 2021-01-26 05:42:20 -04:00
gnembon 40b537501f reverting that merge of mixins since it will cause havoc on the future version branches 2021-01-26 05:32:59 -04:00
ramidzkh 566d2a7bca Use WorldRenderEvents if available (#680)
* Use WorldRenderEvents if available

Fixes an issue when Canvas is installed

* Improve code

* Depend only on fabric-rendering-v1

* Use fabricApi.module
2021-01-26 01:19:44 -04:00
altrisi a83548876a Extra handling of null values (part 1) (#684) 2021-01-26 01:16:48 -04:00
gnembon 2fb0c2c2ff Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-01-26 04:26:38 -04:00
gnembon 58b6974369 fixing so that the player option in /log is accessible. 2021-01-26 04:25:57 -04:00
e32b37dcf1 Add three Structure Block related settings (#664)
* Added structureBlockOutlineDistance

* Added structureBlockIgnored

* Added structureBlockLimit

* Made structureBlockLimit work on dedicated server

* Correct packet contents check and fix mixin list

* Add limits to structure block settings, slight optimisation to ignored block

* Fixed the `structureBlockLimit` limit

* Update src/main/java/carpet/CarpetSettings.java

Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>

* Fix missing imports and a typo

* Update src/main/java/carpet/CarpetSettings.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2021-01-22 23:38:10 -04:00
hqics eb334013ee make sure the index is within bounds 2021-01-21 17:30:44 +01:00
gnembon 42ea68e740 1.4.24 2021-01-20 22:54:11 -04:00
gnembon 6305fcab65 21w03a 2021-01-20 19:13:44 -04:00
gnembon 1ee0301504 Merge branch 'master' into 1.17
# Conflicts:
#	gradle.properties
2021-01-20 22:55:10 -04:00
gnembon 981dcf6eaa Merge branch 'master' into 1.17
# Conflicts:
#	gradle.properties
2021-01-15 11:41:07 -04:00
gnembon 569f4d502d Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-01-15 11:38:13 -04:00
gnembon 7a141affaf 1.16.5 at 1.4.23 2021-01-15 11:37:17 -04:00
gnembon b14cf288a1 mappings 2021-01-15 04:51:06 -04:00
gnembon 4694e40bdd Merge pull request #673 from altrisi/fix-split
Fix split
2021-01-14 23:57:28 -04:00
altrisi ecbd7f1dd7 Fix NbtIo crash when loading appdata 2021-01-14 20:40:31 +01: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
gnembon 95bac227a0 Merge branch 'master' into 1.17 2021-01-13 21:36:05 -04: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 0453dc33a0 Merge branch 'master' into 1.17
# Conflicts:
#	gradle.properties
2021-01-13 18:19:51 -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 ed4afa15ff Merge branch 'master' into 1.17 2021-01-07 00:41:15 -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