This commit is contained in:
parent
8c2bcd7ddb
commit
d33fb21a7b
@ -30,7 +30,7 @@ public class GlowingObsidianBlock extends Block {
|
||||
public void onSteppedOn(World world, BlockPos pos, Entity entity) {
|
||||
super.onSteppedOn(world, pos, entity);
|
||||
if (!world.isClient() && entity instanceof LivingEntity) {
|
||||
((ServerWorld) world).spawnParticles(ParticleTypes.SMOKE, pos.getX() + 0.5d, pos.getY() + 1d, pos.getZ() + 0.5d, 3 + world.getRandom().nextInt(3), 0.2d, 0.5d, 0.2d,0.01d);
|
||||
((ServerWorld) world).spawnParticles(ParticleTypes.SMOKE, pos.getX() + 0.5d, pos.getY() + 1d, pos.getZ() + 0.5d, 3 + world.getRandom().nextInt(3), 0.2d, 0.5d, 0.2d, 0.01d);
|
||||
if (entity.age % 10 == 0) {
|
||||
final float amount = 2f;
|
||||
if (entity instanceof Monster) {
|
||||
|
Reference in New Issue
Block a user