This commit is contained in:
gnembon committed 2023-03-29 18:44:12 +02:00
1 parent 23b7aa0945
commit 4171f9b784
7 files changed
+31 -9

No files matched your search

@@ -524,7 +524,7 @@ public class WorldAccess
booleanStateTest(c, "liquid", lv, (s, p) -> !s.getFluidState().isEmpty()));
expression.addContextFunction("flammable", -1, (c, t, lv) ->
booleanStateTest(c, "flammable", lv, (s, p) -> s.getMaterial().isFlammable()));
booleanStateTest(c, "flammable", lv, (s, p) -> s.ignitedByLava()));
expression.addContextFunction("transparent", -1, (c, t, lv) ->
booleanStateTest(c, "transparent", lv, (s, p) -> !s.getMaterial().isSolid()));
@@ -182,7 +182,6 @@ public class Colors
entry(Material.SPONGE , "sponge" ),
entry(Material.SHULKER_SHELL , "shulker" ),
entry(Material.WOOD , "wood" ),
entry(Material.NETHER_WOOD , "nether_wood" ),
entry(Material.BAMBOO_SAPLING , "shoots" ),
entry(Material.BAMBOO , "bamboo" ),
entry(Material.WOOL , "wool" ),