gnembon
35c288b03f
looping on nulls behaves like on empty lists.
2021-02-08 15:39:41 -04:00
gnembon
291393bb62
1.4.25
2021-02-03 20:18:05 -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
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
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
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
BisUmTo and gnembon
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
96244dc4e2
Update Gradle and reintroduce automatic JSON version
2020-12-30 14:20:19 +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