diff --git a/gradle.properties b/gradle.properties index 65253fd8..aab38179 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ gradle.cache.push=false modName=Clayworks modId=clayworks -modVersion=2.0.2 +modVersion=2.1.0-alpha1 minecraft=1.19.2 forge=43.1.0 diff --git a/src/main/java/com/teamabnormals/clayworks/common/block/KilnBlock.java b/src/main/java/com/teamabnormals/clayworks/common/block/KilnBlock.java index 77554e4b..11276e27 100644 --- a/src/main/java/com/teamabnormals/clayworks/common/block/KilnBlock.java +++ b/src/main/java/com/teamabnormals/clayworks/common/block/KilnBlock.java @@ -8,6 +8,7 @@ import net.minecraft.core.particles.SimpleParticleType; import net.minecraft.sounds.SoundSource; import net.minecraft.stats.Stats; +import net.minecraft.util.RandomSource; import net.minecraft.world.MenuProvider; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; @@ -47,7 +48,8 @@ protected void openContainer(Level worldIn, BlockPos pos, Player player) { } @OnlyIn(Dist.CLIENT) - public void animateTick(BlockState stateIn, Level worldIn, BlockPos pos, Random rand) { + @Override + public void animateTick(BlockState stateIn, Level worldIn, BlockPos pos, RandomSource rand) { if (stateIn.getValue(LIT)) { double d0 = pos.getX() + 0.5D; double d1 = pos.getY();