public static interface SetBlockCallbackRegistry.ISetBlockCallbackPredicate extends ICallback.ICallbackPredicate
ALWAYS_FALSE, ALWAYS_TRUE| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(net.minecraft.world.chunk.Chunk chunk,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState) |
default boolean |
apply(java.lang.Object... params)
Returns whether the associated
ICallback should be called or not. |
alwaysFalse, alwaysTrue, and, negate, ordefault boolean apply(java.lang.Object... params)
ICallback.ICallbackPredicateICallback should be called or not.apply in interface ICallback.ICallbackPredicateparams - the paramsboolean apply(net.minecraft.world.chunk.Chunk chunk,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState oldState,
net.minecraft.block.state.IBlockState newState)