public static interface RenderBlockRegistry.IRenderBlockCallbackPredicate extends ICallback.ICallbackPredicate
ICallback.ICallbackPredicate for IRenderBlockCallbacksALWAYS_FALSE, ALWAYS_TRUE| Modifier and Type | Method and Description |
|---|---|
default boolean |
apply(java.lang.Object... params)
Returns whether the associated
ICallback should be called or not. |
boolean |
apply(net.minecraft.client.renderer.VertexBuffer buffer,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
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.client.renderer.VertexBuffer buffer,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)