Change the ice spell to produce frosted ice instead of regular ice

This commit is contained in:
Sollace 2021-12-29 20:13:23 +02:00
parent 2da817bc64
commit 0f4e72a55b

View file

@ -24,7 +24,7 @@ public class StateMaps {
.add(StateMapping.cycleProperty(Blocks.SNOW, SnowBlock.LAYERS, 7))); .add(StateMapping.cycleProperty(Blocks.SNOW, SnowBlock.LAYERS, 7)));
public static final BlockStateConverter ICE_AFFECTED = register("ice", new BlockStateMap.Builder() public static final BlockStateConverter ICE_AFFECTED = register("ice", new BlockStateMap.Builder()
.replaceMaterial(Material.WATER, Blocks.ICE) .replaceMaterial(Material.WATER, Blocks.FROSTED_ICE)
.replaceMaterial(Material.LAVA, Blocks.OBSIDIAN) .replaceMaterial(Material.LAVA, Blocks.OBSIDIAN)
.add(StateMapping.cycleProperty(Blocks.SNOW, SnowBlock.LAYERS, 7)) .add(StateMapping.cycleProperty(Blocks.SNOW, SnowBlock.LAYERS, 7))
.replaceBlock(Blocks.FIRE, Blocks.AIR) .replaceBlock(Blocks.FIRE, Blocks.AIR)