use of net.minecraft.client.particle.ParticleManager in project Binnie by ForestryMC.
the class SplicerFX method onDisplayTick.
@SideOnly(Side.CLIENT)
@Override
public void onDisplayTick(World world, BlockPos pos, Random rand) {
if (!this.getUtil().getProcess().isInProgress())
return;
final int tick = (int) (world.getTotalWorldTime() % 3L);
if (tick == 0) {
final ParticleManager effectRenderer = BinnieCore.getBinnieProxy().getMinecraftInstance().effectRenderer;
effectRenderer.addEffect(new SplicerParticle(world, pos));
}
}
Aggregations