net.minecraft.world.level.block

public class FenceGateBlock

extends HorizontalDirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dtb
net.minecraft.world.level.block.FenceGateBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FenceGateBlock>
a
CODEC
public static final BooleanProperty
b
OPEN
public static final BooleanProperty
c
POWERED
public static final BooleanProperty
d
IN_WALL
private static final Map<Direction$Axis, VoxelShape>
e
SHAPES
private static final Map<Direction$Axis, VoxelShape>
g
SHAPES_WALL
private static final Map<Direction$Axis, VoxelShape>
h
SHAPE_COLLISION
private static final Map<Direction$Axis, VoxelShape>
i
SHAPE_SUPPORT
private static final Map<Direction$Axis, VoxelShape>
D
SHAPE_OCCLUSION
private static final Map<Direction$Axis, VoxelShape>
R
SHAPE_OCCLUSION_WALL
private final WoodType
S
type

Constructor summary

ModifierConstructor
public (WoodType arg0, BlockBehaviour$Properties arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<FenceGateBlock>
a()
codec()
protected VoxelShape
a(eeb arg0, dly arg1, jb arg2, fix arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
protected BlockState
a(eeb arg0, dmx arg1, dnj arg2, jb arg3, jh arg4, jb arg5, eeb arg6, bck arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
protected VoxelShape
b_(eeb arg0, dly arg1, jb arg2)
getBlockSupportShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
protected VoxelShape
b(eeb arg0, dly arg1, jb arg2, fix arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
protected VoxelShape
d_(eeb arg0)
getOcclusionShape(BlockState arg0)
protected boolean
a(eeb arg0, fba arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
public BlockState
a(dgo arg0)
getStateForPlacement(BlockPlaceContext arg0)
private boolean
o(eeb arg0)
isWall(BlockState arg0)
protected InteractionResult
a(eeb arg0, dmu arg1, jb arg2, cut arg3, fio arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
protected void
a(eeb arg0, aub arg1, jb arg2, dmn arg3, BiConsumer<dcv, jb> arg4)
onExplosionHit(BlockState arg0, ServerLevel arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
protected void
a(eeb arg0, dmu arg1, jb arg2, dpz arg3, fbt arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
protected void
a(eec$a<dpz, eeb> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
public static boolean
a(eeb arg0, jh arg1)
connectsToDirection(BlockState arg0, Direction arg1)