Skip to content

Commit

Permalink
Fix Kiln smoke particles not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
bageldotjpg committed Mar 16, 2023
1 parent 035062e commit 99c1805
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 99c1805

Please sign in to comment.