public class ParticleHelper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParticleHelper.Callback |
static class |
ParticleHelper.DefaultCallback<B extends net.minecraft.block.Block> |
| Constructor and Description |
|---|
ParticleHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addBlockHitEffects(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.client.particle.ParticleManager effectRenderer,
ParticleHelper.Callback callback) |
static boolean |
addDestroyEffects(net.minecraft.world.World world,
net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.particle.ParticleManager effectRenderer,
ParticleHelper.Callback callback)
Spawn particles for when the block is destroyed.
|
public static boolean addBlockHitEffects(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.client.particle.ParticleManager effectRenderer,
ParticleHelper.Callback callback)
public static boolean addDestroyEffects(net.minecraft.world.World world,
net.minecraft.block.Block block,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.BlockPos pos,
net.minecraft.client.particle.ParticleManager effectRenderer,
ParticleHelper.Callback callback)