add rules for crops

This commit is contained in:
octarine-noise
2021-07-12 20:49:45 +02:00
parent d2485cd323
commit 54e245bcd4
2 changed files with 3 additions and 15 deletions

View File

@@ -43,3 +43,6 @@ match block.name.matches("minecraft:cactus") setParam("type", "cactus") end
match block.name.matches("minecraft:lilypad") setParam("type", "lilypad") end
match block.name.matches("minecraft:mycelium") setParam("type", "mycelium") end
match block.name.matches("minecraft:netherrack") setParam("type", "netherrack") end
// Crops
match block.class.extends(classOf("minecraft:wheat")) setParam("type", "crop") end

View File

@@ -1,15 +0,0 @@
// Vanilla
net.minecraft.block.TallGrassBlock
net.minecraft.block.CropsBlock
-net.minecraft.block.ReedBlock
-net.minecraft.block.DoublePlantBlock
-net.minecraft.block.CarrotBlock
-net.minecraft.block.PotatoBlock
// Biomes O'Plenty
biomesoplenty.common.block.BlockBOPFlower
biomesoplenty.common.block.BlockBOPTurnip
biomesoplenty.common.block.BlockBOPPlant
// Tinkers' Construct
tconstruct.blocks.slime.SlimeTallGrass