net.minecraft.world.level.block

public class LeavesBlock

extends Block

All mapped superinterfaces:

ItemLike

bpw
net.minecraft.world.level.block.LeavesBlock
net.minecraft.class_2397
net.minecraft.block.LeavesBlock
net.minecraft.block.LeavesBlock
net.minecraft.server.v1_14_R1.BlockLeaves

Field summary

Modifier and TypeField
public static final IntegerProperty
a
DISTANCE
field_11199
DISTANCE
field_208494_a
DISTANCE
public static final BooleanProperty
b
PERSISTENT
field_11200
PERSISTENT
field_208495_b
PERSISTENT
protected static boolean
c
renderCutout
field_11198
fancy
field_196478_c

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public boolean
m(bvt arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
func_149653_t(BlockState arg0)
isTicking(IBlockData arg0)
public void
c(bvt arg0, bhr arg1, ew arg2, Random arg3)
randomTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onRandomTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196265_a(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
public void
b(bvt arg0, bhr arg1, ew arg2, Random arg3)
tick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onScheduledTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, World arg1, BlockPosition arg2, Random arg3)
public int
k(bvt arg0, bhb arg1, ew arg2)
getLightBlock(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9505(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getOpacity(BlockState arg0, BlockView arg1, BlockPos arg2)
func_200011_d(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public BlockState
a(bvt arg0, fb arg1, bvt arg2, bhs arg3, ew arg4, ew arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
private static BlockState
a(bvt arg0, bhs arg1, ew arg2)
updateDistance(BlockState arg0, LevelAccessor arg1, BlockPos arg2)
method_10300(class_2680 arg0, class_1936 arg1, class_2338 arg2)
updateDistanceFromLogs(BlockState state, IWorld world, BlockPos pos)
func_208493_b(BlockState arg0, IWorld arg1, BlockPos arg2)
private static int
j(bvt arg0)
getDistanceAt(BlockState arg0)
method_10302(class_2680 arg0)
getDistanceFromLog(BlockState state)
func_208492_w(BlockState arg0)
public boolean
f(bvt arg0)
canOcclude(BlockState arg0)
method_9601(class_2680 arg0)
isOpaque(BlockState arg0)
func_200124_e(BlockState arg0)
public BlockLayer
c()
getRenderLayer()
method_9551()
getRenderLayer()
func_180664_k()
public boolean
c(bvt arg0, bhb arg1, ew arg2)
isViewBlocking(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_16362(class_2680 arg0, class_1922 arg1, class_2338 arg2)
canSuffocate(BlockState arg0, BlockView arg1, BlockPos arg2)
func_220060_c(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public boolean
a(bvt arg0, bhb arg1, ew arg2, ais<?> arg3)
isValidSpawn(BlockState arg0, BlockGetter arg1, BlockPos arg2, EntityType<?> arg3)
method_9523(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_1299<?> arg3)
allowsSpawning(BlockState arg0, BlockView arg1, BlockPos arg2, EntityType<?> arg3)
func_220067_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, EntityType<?> arg3)
protected void
a(bvu$a<bmv, bvt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public void
a(bvt arg0, bhr arg1, ew arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
public static void
a(boolean arg0)
setFancy(boolean arg0)
method_10301(boolean arg0)
setRenderingMode(boolean fancy)
func_196475_b(boolean arg0)