Interface CustomDestroyEffectsBlock
public interface CustomDestroyEffectsBlock
-
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyCustomDestroyEffects(net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.multiplayer.ClientLevel Level, net.minecraft.core.BlockPos pos, net.minecraft.client.particle.ParticleEngine engine) Custom effects when your block is broken.
-
Method Details
-
applyCustomDestroyEffects
@Environment(CLIENT) boolean applyCustomDestroyEffects(net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.multiplayer.ClientLevel Level, net.minecraft.core.BlockPos pos, net.minecraft.client.particle.ParticleEngine engine) Custom effects when your block is broken.- Returns:
- true to cancel vanilla effects
-