Made the offering table lightning bolt visual only

Closes #147
This commit is contained in:
Ell 2020-10-15 19:11:27 +02:00
parent 80efc282aa
commit 2d37302243

View file

@ -87,6 +87,7 @@ public class TileEntityOfferingTable extends TileEntityImpl implements ITickable
this.itemsToSpawn.add(recipe.output.copy());
LightningBoltEntity lightningboltentity = EntityType.LIGHTNING_BOLT.create(this.world);
lightningboltentity.setEffectOnly(true);
lightningboltentity.moveForced(Vector3d.copyCenteredHorizontally(this.pos));
this.world.addEntity(lightningboltentity);
PacketHandler.sendToAllAround(this.world, this.pos, 32, new PacketParticles(