public static class ParticleHelper.DefaultCallback<B extends net.minecraft.block.Block> extends java.lang.Object implements ParticleHelper.Callback
| Constructor and Description |
|---|
DefaultCallback(B block) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDestroyEffects(net.minecraft.client.particle.ParticleDigging fx,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
void |
addHitEffects(net.minecraft.client.particle.ParticleDigging fx,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
protected void |
setTexture(net.minecraft.client.particle.ParticleDigging fx,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
protected final B extends net.minecraft.block.Block block
public DefaultCallback(B block)
public void addHitEffects(net.minecraft.client.particle.ParticleDigging fx,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
addHitEffects in interface ParticleHelper.Callbackpublic void addDestroyEffects(net.minecraft.client.particle.ParticleDigging fx,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
addDestroyEffects in interface ParticleHelper.Callbackprotected void setTexture(net.minecraft.client.particle.ParticleDigging fx,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)