net.minecraft.world.level.block

public class FenceBlock

extends CrossCollisionBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

brh
net.minecraft.world.level.block.FenceBlock
net.minecraft.class_2354
net.minecraft.block.FenceBlock
net.minecraft.block.FenceBlock
net.minecraft.server.v1_15_R1.BlockFence

Field summary

Modifier and TypeField
private final VoxelShape[]
i
occlusionByIndex
field_11066
cullingShapes
field_199609_B

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
i(byj arg0, bjg arg1, fk arg2)
getOcclusionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9571(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getCullingShape(BlockState arg0, BlockView arg1, BlockPos arg2)
func_196247_c(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public boolean
a(byj arg0, bjg arg1, fk arg2, cqr arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public boolean
a(byj arg0, boolean arg1, fp arg2)
connectsTo(BlockState arg0, boolean arg1, Direction arg2)
method_10184(class_2680 arg0, boolean arg1, class_2350 arg2)
canConnect(BlockState state, boolean neighborIsFullSquare, Direction dir)
func_220111_a(BlockState arg0, boolean arg1, Direction arg2)
public InteractionResult
a(byj arg0, bjw arg1, fk arg2, ayj arg3, ajk arg4, cvg arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public BlockState
a(bcq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(byj arg0, fp arg1, byj arg2, bjx arg3, fk arg4, fk 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)
protected void
a(byk$a<bph, byj> 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)