Uses of Enum Class
net.minecraft.util.math.Direction
Packages that use Direction
Package
Description
Contains utility method classes, various enums, serialization helpers, and
 miscellaneous classes.
- 
Uses of Direction in net.minecraft.blockFields in net.minecraft.block declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]AbstractBlock.AbstractBlockState.DIRECTIONSprivate static final Direction[]AbstractBlock.AbstractBlockState.ShapeCache.DIRECTIONSprotected static final Direction[]AbstractBlock.DIRECTIONSprivate static final Direction[]BuddingAmethystBlock.DIRECTIONSprotected static final Direction[]MultifaceBlock.DIRECTIONSprivate static final Direction[]SpongeBlock.DIRECTIONSprivate final DirectionMultifaceGrower.GrowPos.faceThe field for thefacerecord component.private static final Direction[]ConnectingBlock.FACINGSprotected final DirectionAbstractPlantPartBlock.growthDirectionFields in net.minecraft.block with type parameters of type DirectionModifier and TypeFieldDescriptionprivate static final Map<Direction, VoxelShape> WallTorchBlock.BOUNDING_SHAPESprivate static final Map<Direction, BooleanProperty> FireBlock.DIRECTION_PROPERTIESprivate static final Map<Direction, VoxelShape> RedstoneWireBlock.DIRECTION_TO_SIDE_SHAPEprivate static final Map<Direction, VoxelShape> RedstoneWireBlock.DIRECTION_TO_UP_SHAPEstatic final Map<Direction, EnumProperty<WireConnection>> RedstoneWireBlock.DIRECTION_TO_WIRE_CONNECTION_PROPERTYstatic final EnumProperty<Direction> AbstractFurnaceBlock.FACINGstatic final EnumProperty<Direction> AmethystClusterBlock.FACINGstatic final EnumProperty<Direction> AnvilBlock.FACINGstatic final EnumProperty<Direction> AttachedStemBlock.FACINGstatic final EnumProperty<Direction> BarrelBlock.FACINGstatic final EnumProperty<Direction> BeehiveBlock.FACINGstatic final EnumProperty<Direction> BellBlock.FACINGstatic final EnumProperty<Direction> CalibratedSculkSensorBlock.FACINGstatic final EnumProperty<Direction> CampfireBlock.FACINGstatic final EnumProperty<Direction> CarvedPumpkinBlock.FACINGstatic final EnumProperty<Direction> ChestBlock.FACINGstatic final EnumProperty<Direction> CommandBlock.FACINGstatic final EnumProperty<Direction> DeadCoralWallFanBlock.FACINGprivate static final EnumProperty<Direction> DecoratedPotBlock.FACINGstatic final EnumProperty<Direction> DispenserBlock.FACINGstatic final EnumProperty<Direction> DoorBlock.FACINGstatic final EnumProperty<Direction> EnderChestBlock.FACINGstatic final EnumProperty<Direction> EndPortalFrameBlock.FACINGstatic final EnumProperty<Direction> FacingBlock.FACINGstatic final EnumProperty<Direction> FlowerbedBlock.FACINGstatic final EnumProperty<Direction> HopperBlock.FACINGstatic final EnumProperty<Direction> HorizontalFacingBlock.FACINGstatic final EnumProperty<Direction> LadderBlock.FACINGstatic final EnumProperty<Direction> LecternBlock.FACINGstatic final EnumProperty<Direction> PistonExtensionBlock.FACINGstatic final EnumProperty<Direction> ShulkerBoxBlock.FACINGstatic final EnumProperty<Direction> SmallDripleafBlock.FACINGstatic final EnumProperty<Direction> StairsBlock.FACINGstatic final EnumProperty<Direction> StonecutterBlock.FACINGstatic final EnumProperty<Direction> TripwireHookBlock.FACINGstatic final EnumProperty<Direction> VaultBlock.FACINGstatic final EnumProperty<Direction> WallBannerBlock.FACINGstatic final EnumProperty<Direction> WallHangingSignBlock.FACINGstatic final EnumProperty<Direction> WallRedstoneTorchBlock.FACINGstatic final EnumProperty<Direction> WallSignBlock.FACINGstatic final EnumProperty<Direction> WallSkullBlock.FACINGstatic final EnumProperty<Direction> WallTorchBlock.FACINGprivate static final BiFunction<Direction, Integer, VoxelShape> FlowerbedBlock.FACING_AND_AMOUNT_TO_SHAPEstatic final Map<Direction, BooleanProperty> ConnectingBlock.FACING_PROPERTIESprotected static final Map<Direction, BooleanProperty> HorizontalConnectingBlock.FACING_PROPERTIESprivate static final Map<Direction, BooleanProperty> MultifaceBlock.FACING_PROPERTIESprivate static final Map<Direction, BooleanProperty> MushroomBlock.FACING_PROPERTIESprivate static final Map<Direction, BooleanProperty> TripwireBlock.FACING_PROPERTIESstatic final Map<Direction, BooleanProperty> VineBlock.FACING_PROPERTIESprivate static final Map<Direction, VoxelShape> AttachedStemBlock.FACING_TO_SHAPEprivate static final Map<Direction, VoxelShape> DeadCoralWallFanBlock.FACING_TO_SHAPEprivate static final Map<Direction, VoxelShape> WallBannerBlock.FACING_TO_SHAPEprivate static final Map<Direction, VoxelShape> WallSignBlock.FACING_TO_SHAPEprivate static final Map<Direction, VoxelShape> WallSkullBlock.FACING_TO_SHAPEstatic final ImmutableList<Direction> FluidBlock.FLOW_DIRECTIONSprivate static final Map<Direction, VoxelShape> WallHangingSignBlock.OUTLINE_SHAPESprivate static final Map<Direction, VoxelShape> WallPiglinHeadBlock.SHAPESprivate static final Map<Direction, VoxelShape> BigDripleafBlock.SHAPES_FOR_DIRECTIONprivate static final Map<Direction, VoxelShape> MultifaceBlock.SHAPES_FOR_DIRECTIONSprivate static final Map<Direction, VoxelShape> ShulkerBoxBlock.SIDES_SHAPESstatic final EnumProperty<Direction> PointedDripstoneBlock.VERTICAL_DIRECTIONprivate static final Map<Direction, EnumProperty<WallShape>> PaleMossCarpetBlock.WALL_SHAPESMethods in net.minecraft.block that return DirectionModifier and TypeMethodDescriptionprotected static DirectionLanternBlock.attachedDirection(BlockState state) MultifaceGrower.GrowPos.face()Returns the value of thefacerecord component.BedBlock.getDirection(BlockView world, BlockPos pos) protected static DirectionWallMountedBlock.getDirection(BlockState state) PointedDripstoneBlock.getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction) private static DirectionBedBlock.getDirectionTowardsOtherPart(BedPart part, Direction direction) static DirectionChestBlock.getFacing(BlockState state) static DirectionJigsawBlock.getFacing(BlockState state) ChestBlock.getNeighborChestDirection(ItemPlacementContext ctx, Direction dir) static DirectionBedBlock.getOppositePartDirection(BlockState state) private static DirectionBellBlock.getPlacementSide(BlockState state) static DirectionJigsawBlock.getRotation(BlockState state) Methods in net.minecraft.block that return types with arguments of type DirectionModifier and TypeMethodDescriptionMultifaceBlock.collectDirections(BlockState state) MultifaceBlock.flagToDirections(byte flag) Methods in net.minecraft.block with parameters of type DirectionModifier and TypeMethodDescriptionprivate static voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, int color, Direction perpendicular, Direction direction, float minOffset, float maxOffset) booleanWallHangingSignBlock.canAttachTo(WorldView world, BlockState state, BlockPos toPos, Direction direction) booleanFenceBlock.canConnect(BlockState state, boolean neighborIsFullSquare, Direction dir) booleanComposterBlock.ComposterInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanComposterBlock.DummyInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanComposterBlock.FullComposterInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanMultifaceGrower.canGrow(BlockState state, BlockView world, BlockPos pos, Direction direction) default booleanMultifaceGrower.GrowChecker.canGrow(BlockState state, Direction direction) protected booleanMultifaceGrower.LichenGrowChecker.canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) booleanSculkVeinBlock.SculkVeinGrowChecker.canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) static booleanstatic booleanMultifaceBlock.canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) private static booleanPaleMossCarpetBlock.canGrowOnFace(BlockView world, BlockPos pos, Direction direction) booleanMultifaceBlock.canGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) protected booleanMultifaceBlock.canHaveDirection(Direction direction) booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.static booleanAbstractFireBlock.canPlaceAt(World world, BlockPos pos, Direction direction) static booleanWallMountedBlock.canPlaceAt(WorldView world, BlockPos pos, Direction direction) static booleanWallTorchBlock.canPlaceAt(WorldView world, BlockPos pos, Direction facing) private static booleanPointedDripstoneBlock.canPlaceAtWithDirection(WorldView world, BlockPos pos, Direction direction) private booleanLadderBlock.canPlaceOn(BlockView world, BlockPos pos, Direction side) static booleanFenceGateBlock.canWallConnect(BlockState state, Direction side) protected static booleanRedstoneWireBlock.connectsTo(BlockState state, @Nullable Direction dir) static BlockEntityPistonExtensionBlock.createBlockEntityPiston(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) static voidprivate static voidCommandBlock.executeCommandChain(ServerWorld world, BlockPos pos, Direction facing) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, float spawnAngle) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) private static int[][]BedBlock.getAroundAndOnBedOffsets(Direction bedDirection, Direction respawnDirection) private static int[][]BedBlock.getAroundBedOffsets(Direction bedDirection, Direction respawnDirection) private @Nullable ItemFrameEntityComparatorBlock.getAttachedItemFrame(World world, Direction facing, BlockPos pos) int[]ComposterBlock.ComposterInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.int[]ComposterBlock.DummyInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.int[]ComposterBlock.FullComposterInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.AbstractBlock.AbstractBlockState.getCullingFace(Direction direction) private static intHorizontalConnectingBlock.getDirectionMask(Direction dir) PointedDripstoneBlock.getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction) private static DirectionBedBlock.getDirectionTowardsOtherPart(BedPart part, Direction direction) static BooleanPropertyVineBlock.getFacingProperty(Direction direction) MultifaceGrower.getGrowPos(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, MultifaceGrower.GrowPosPredicate predicate) abstract MultifaceGrower.GrowPosMultifaceGrower.GrowType.getGrowPos(BlockPos pos, Direction newDirection, Direction oldDirection) private static VoxelShapePistonHeadBlock.getHeadShape(Direction direction, boolean shortHead) ChiseledBookshelfBlock.getHitPos(BlockHitResult hit, Direction facing) ChestBlock.getNeighborChestDirection(ItemPlacementContext ctx, Direction dir) private static int[][]BedBlock.getOnBedOffsets(Direction bedDirection) static BooleanPropertyMultifaceBlock.getProperty(Direction direction) private WireConnectionRedstoneWireBlock.getRenderConnectionType(BlockView world, BlockPos pos, Direction direction) private WireConnectionRedstoneWireBlock.getRenderConnectionType(BlockView world, BlockPos pos, Direction direction, boolean bool) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Gets the possibly updated block state of this block when a neighboring block is updated.protected BlockStateAbstractBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractCoralBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPlantStemBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPressurePlateBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractRailBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractTorchBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAmethystClusterBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAttachedStemBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBambooBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBambooShootBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBannerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBarrierBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBedBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBeehiveBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBellBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBigDripleafBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBigDripleafStemBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.BrushableBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBubbleColumnBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCactusBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCakeBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCampfireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCandleBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCandleCakeBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCarpetBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChainBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChestBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChorusFlowerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChorusPlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCocoaBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.ComparatorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateConcretePowderBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateConduitBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralBlockBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralFanBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCreakingHeartBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDeadCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDecoratedPotBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDirtPathBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDoorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateEnderChestBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFallingBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFarmlandBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFenceBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFenceGateBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFlowerPotBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFluidBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFrogspawnBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateGrateBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingMossBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingRootsBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHeavyCoreBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLadderBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLanternBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLeavesBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLightBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLightningRodBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMagmaBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMangroveRootsBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMultifaceBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMushroomBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateNetherPortalBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateNoteBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateObserverBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePaleMossCarpetBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePaneBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePistonHeadBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.PitcherCropBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePointedDripstoneBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePropaguleBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateRedstoneWireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateRepeaterBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateScaffoldingBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSculkSensorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSculkShriekerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSeagrassBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSeaPickleBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSlabBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSmallDripleafBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSnowBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSnowyBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSoulFireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSoulSandBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSporeBlossomBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateStairsBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSugarCaneBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTallPlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTrapdoorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTripwireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTripwireHookBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateVineBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallBannerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallHangingSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallMountedBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallRedstoneTorchBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallTorchBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.MultifaceGrower.GrowChecker.getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) MultifaceGrower.LichenGrowChecker.getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) private BlockStateWallBlock.getStateWithNeighbor(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) intAbstractBlock.AbstractBlockState.getStrongRedstonePower(BlockView world, BlockPos pos, Direction direction) protected intAbstractBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intAbstractPressurePlateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intAbstractRedstoneGateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intButtonBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intDetectorRailBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLecternBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLeverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLightningRodBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intObserverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intRedstoneTorchBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intRedstoneWireBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.intSculkSensorBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intTrappedChestBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intTripwireHookBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.private static ThicknessPointedDripstoneBlock.getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) static @Nullable EnumProperty<WallShape> PaleMossCarpetBlock.getWallShape(Direction face) intAbstractBlock.AbstractBlockState.getWeakRedstonePower(BlockView world, BlockPos pos, Direction direction) protected intAbstractBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intAbstractPressurePlateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intAbstractRedstoneGateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intButtonBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.intCalibratedSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intDaylightDetectorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intDetectorRailBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.intJukeboxBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLecternBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLeverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLightningRodBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intObserverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneWireBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTargetBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTrappedChestBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTripwireHookBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intWallRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.static voidBigDripleafBlock.grow(WorldAccess world, Random random, BlockPos pos, Direction direction) private longMultifaceGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, boolean markForPostProcessing) MultifaceGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction oldDirection, Direction newDirection, boolean markForPostProcessing) MultifaceGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing) static booleanMultifaceBlock.hasDirection(BlockState state, Direction direction) default booleanMultifaceGrower.GrowChecker.hasDirection(BlockState state, Direction direction) private static intAbstractBlock.AbstractBlockState.ShapeCache.indexSolidSide(Direction direction, SideShapeType shapeType) private static booleanStairsBlock.isDifferentOrientation(BlockState state, BlockView world, BlockPos pos, Direction dir) static booleanBlock.isFaceFullSquare(VoxelShape shape, Direction side) static booleanPistonBlock.isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) private static booleanPointedDripstoneBlock.isPointedDripstoneFacingDirection(BlockState state, Direction direction) private booleanBellBlock.isPointOnBell(BlockState state, Direction side, double y) booleanAbstractBlock.AbstractBlockState.isSideInvisible(BlockState state, Direction direction) protected booleanAbstractBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanFluidBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanMangroveRootsBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanPaneBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanPowderSnowBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanTranslucentBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) booleanAbstractBlock.AbstractBlockState.isSideSolid(BlockView world, BlockPos pos, Direction direction, SideShapeType shapeType) booleanAbstractBlock.AbstractBlockState.ShapeCache.isSideSolid(Direction direction, SideShapeType shapeType) booleanAbstractBlock.AbstractBlockState.isSideSolidFullSquare(BlockView world, BlockPos pos, Direction direction) final booleanAbstractBlock.AbstractBlockState.isSolidSurface(BlockView world, BlockPos pos, Entity entity, Direction direction) private static booleanChorusFlowerBlock.isSurroundedByAir(WorldView world, BlockPos pos, @Nullable Direction exceptDirection) private static booleanPointedDripstoneBlock.isTip(BlockState state, Direction direction) abstract booleanSideShapeType.matches(BlockState state, BlockView world, BlockPos pos, Direction direction) private booleanprivate static voidPointedDripstoneBlock.place(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) protected static booleanBigDripleafBlock.placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected static booleanBigDripleafStemBlock.placeStemAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) booleanbooleanbooleanTripwireBlock.shouldConnectTo(BlockState state, Direction facing) static booleanVineBlock.shouldConnectTo(BlockView world, BlockPos pos, Direction direction) private booleanWallBlock.shouldConnectTo(BlockState state, boolean faceFullSquare, Direction side) static booleanBlock.shouldDrawSide(BlockState state, BlockState otherState, Direction side) private booleanPistonBlock.shouldExtend(RedstoneView world, BlockPos pos, Direction pistonFace) private booleanVineBlock.shouldHaveSide(BlockView world, BlockPos pos, Direction side) private static booleanAbstractFireBlock.shouldLightPortalAt(World world, BlockPos pos, Direction direction) static booleanBlock.sideCoversSmallSquare(WorldView world, BlockPos pos, Direction side) private static voidPointedDripstoneBlock.tryGrow(ServerWorld world, BlockPos pos, Direction direction) private static voidTripwireHookBlock.updateNeighborsOnAxis(Block block, World world, BlockPos pos, Direction direction) MultifaceBlock.withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) Method parameters in net.minecraft.block with type arguments of type DirectionModifier and TypeMethodDescriptionstatic byteMultifaceBlock.directionsToFlag(Collection<Direction> directions) private BlockStateMultifaceBlock.mirror(BlockState state, Function<Direction, Direction> mirror) private BlockStateMultifaceBlock.mirror(BlockState state, Function<Direction, Direction> mirror) static booleanSculkVeinBlock.place(WorldAccess world, BlockPos pos, BlockState state, Collection<Direction> directions) default booleanSculkSpreadable.spread(WorldAccess world, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostProcessing) static <S extends BlockEntity>
 DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, Property<Direction> property, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) Constructors in net.minecraft.block with parameters of type DirectionModifierConstructorDescriptionprotectedAbstractPlantBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protectedAbstractPlantPartBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protectedAbstractPlantStemBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater, double growthChance) 
- 
Uses of Direction in net.minecraft.block.dispenserMethods in net.minecraft.block.dispenser with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int speed, Direction side, Position pos) protected voidItemDispenserBehavior.spawnParticles(BlockPointer pointer, Direction side) private static voidItemDispenserBehavior.syncActivatesEvent(BlockPointer pointer, Direction side) 
- 
Uses of Direction in net.minecraft.block.entityFields in net.minecraft.block.entity declared as DirectionModifier and TypeFieldDescriptionprivate DirectionHopperBlockEntity.facingprivate DirectionPistonBlockEntity.facingBrushableBlockEntity.hitDirectionBellBlockEntity.lastSideHitFields in net.minecraft.block.entity with type parameters of type DirectionModifier and TypeFieldDescriptionSculkSpreadManager.Cursor.DIRECTION_SET_CODECprivate static final ThreadLocal<Direction> PistonBlockEntity.entityMovementDirectionSculkSpreadManager.Cursor.facesMethods in net.minecraft.block.entity that return DirectionModifier and TypeMethodDescriptionPistonBlockEntity.getDirection()PistonBlockEntity.getFacing()BrushableBlockEntity.getHitDirection()DecoratedPotBlockEntity.getHorizontalFacing()PistonBlockEntity.getMovementDirection()Methods in net.minecraft.block.entity that return types with arguments of type DirectionMethods in net.minecraft.block.entity with parameters of type DirectionModifier and TypeMethodDescriptionvoidRings the bell in a given direction.booleanBrushableBlockEntity.brush(long worldTime, ServerWorld world, PlayerEntity player, Direction hitDirection, ItemStack brush) booleanAbstractFurnaceBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanBrewingStandBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity.canExtract(Inventory hopperInventory, Inventory fromInventory, ItemStack stack, int slot, Direction facing) booleanShulkerBoxBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity.canInsert(Inventory inventory, ItemStack stack, int slot, @Nullable Direction side) booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.private static booleanSculkSpreadManager.Cursor.canSpread(WorldAccess world, BlockPos pos, Direction direction) private static booleanint[]AbstractFurnaceBlockEntity.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.int[]BrewingStandBlockEntity.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.private static int[]HopperBlockEntity.getAvailableSlots(Inventory inventory, Direction side) int[]ShulkerBoxBlockEntity.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.private static Vec3dVaultBlockEntity.Client.getConnectedParticlesOrigin(BlockPos pos, Direction direction) private static doublePistonBlockEntity.getIntersectionSize(Box box, Direction direction, Box box2) private static booleanHopperBlockEntity.isInventoryFull(Inventory inventory, Direction direction) private static voidPistonBlockEntity.moveEntity(Direction direction, Entity entity, double distance, Direction movementDirection) private static voidbooleanEndGatewayBlockEntity.shouldDrawSide(Direction direction) booleanEndPortalBlockEntity.shouldDrawSide(Direction direction) private static ItemStackHopperBlockEntity.transfer(@Nullable Inventory from, Inventory to, ItemStack stack, int slot, @Nullable Direction side) static ItemStackHopperBlockEntity.transfer(@Nullable Inventory from, Inventory to, ItemStack stack, @Nullable Direction side) Constructors in net.minecraft.block.entity with parameters of type DirectionModifierConstructorDescriptionPistonBlockEntity(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) Constructor parameters in net.minecraft.block.entity with type arguments of type Direction
- 
Uses of Direction in net.minecraft.block.enumsFields in net.minecraft.block.enums declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionOrientation.facingprivate final DirectionDoubleBlockHalf.oppositeDirectionprivate final DirectionOrientation.rotationMethods in net.minecraft.block.enums that return DirectionModifier and TypeMethodDescriptionOrientation.getFacing()DoubleBlockHalf.getOppositeDirection()Orientation.getRotation()Methods in net.minecraft.block.enums with parameters of type DirectionModifier and TypeMethodDescriptionstatic OrientationOrientation.byDirections(Direction facing, Direction rotation) private static intConstructors in net.minecraft.block.enums with parameters of type DirectionModifierConstructorDescriptionprivateDoubleBlockHalf(Direction oppositeDirection) privateOrientation(String name, Direction facing, Direction rotation) 
- 
Uses of Direction in net.minecraft.block.patternFields in net.minecraft.block.pattern declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionBlockPattern.Result.forwardsprivate final DirectionBlockPattern.Result.upMethods in net.minecraft.block.pattern that return DirectionMethods in net.minecraft.block.pattern with parameters of type DirectionModifier and TypeMethodDescriptionprivate @Nullable BlockPattern.ResultBlockPattern.testTransform(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache) BlockPattern.testTransform(WorldView world, BlockPos frontTopLeft, Direction forwards, Direction up) protected static BlockPosBlockPattern.translate(BlockPos pos, Direction forwards, Direction up, int offsetLeft, int offsetDown, int offsetForwards) Constructors in net.minecraft.block.pattern with parameters of type DirectionModifierConstructorDescriptionResult(BlockPos frontTopLeft, Direction forwards, Direction up, LoadingCache<BlockPos, CachedBlockPosition> cache, int width, int height, int depth) 
- 
Uses of Direction in net.minecraft.block.pistonFields in net.minecraft.block.piston declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionPistonHandler.motionDirectionprivate final DirectionPistonHandler.pistonDirectionMethods in net.minecraft.block.piston that return DirectionMethods in net.minecraft.block.piston with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanConstructors in net.minecraft.block.piston with parameters of type DirectionModifierConstructorDescriptionPistonHandler(World world, BlockPos pos, Direction dir, boolean retracted) 
- 
Uses of Direction in net.minecraft.client.dataFields in net.minecraft.client.data with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final List<com.mojang.datafixers.util.Pair<Direction, Function<Identifier, BlockStateVariant>>> BlockStateModelGenerator.CONNECTION_VARIANT_FUNCTIONSA map from a boolean property about connection on one direction to a function that creates a block state variant for connection on that direction with a given connection model.Methods in net.minecraft.client.data that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate static BlockStateVariantMap.QuadrupleProperty<Direction, DoubleBlockHalf, DoorHinge, Boolean> BlockStateModelGenerator.fillDoorVariantMap(BlockStateVariantMap.QuadrupleProperty<Direction, DoubleBlockHalf, DoorHinge, Boolean> variantMap, DoubleBlockHalf targetHalf, Identifier leftHingeClosedModelId, Identifier leftHingeOpenModelId, Identifier rightHingeClosedModelId, Identifier rightHingeOpenModelId) Methods in net.minecraft.client.data with parameters of type DirectionModifier and TypeMethodDescriptionprivate BlockStateVariantBlockStateModelGenerator.getDripstoneVariant(Direction direction, Thickness thickness) Method parameters in net.minecraft.client.data with type arguments of type DirectionModifier and TypeMethodDescriptionprivate static BlockStateVariantMap.QuadrupleProperty<Direction, DoubleBlockHalf, DoorHinge, Boolean> BlockStateModelGenerator.fillDoorVariantMap(BlockStateVariantMap.QuadrupleProperty<Direction, DoubleBlockHalf, DoorHinge, Boolean> variantMap, DoubleBlockHalf targetHalf, Identifier leftHingeClosedModelId, Identifier leftHingeOpenModelId, Identifier rightHingeClosedModelId, Identifier rightHingeOpenModelId) 
- 
Uses of Direction in net.minecraft.client.modelFields in net.minecraft.client.model with type parameters of type DirectionMethod parameters in net.minecraft.client.model with type arguments of type DirectionModifier and TypeMethodDescriptionModelPartBuilder.cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Set<Direction> directions) Constructors in net.minecraft.client.model with parameters of type DirectionModifierConstructorDescriptionQuad(ModelPart.Vertex[] vertices, float u1, float v1, float u2, float v2, float squishU, float squishV, boolean flip, Direction direction) Constructor parameters in net.minecraft.client.model with type arguments of type DirectionModifierConstructorDescriptionCuboid(int u, int v, float x, float y, float z, float sizeX, float sizeY, float sizeZ, float extraX, float extraY, float extraZ, boolean mirror, float textureWidth, float textureHeight, Set<Direction> set) protectedModelCuboidData(@Nullable String name, float textureX, float textureY, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, boolean mirror, float textureScaleX, float textureScaleY, Set<Direction> directions) 
- 
Uses of Direction in net.minecraft.client.networkMethods in net.minecraft.client.network with parameters of type DirectionModifier and TypeMethodDescriptionbooleanClientPlayerInteractionManager.attackBlock(BlockPos pos, Direction direction) booleanClientPlayerInteractionManager.updateBlockBreakingProgress(BlockPos pos, Direction direction) 
- 
Uses of Direction in net.minecraft.client.particleMethods in net.minecraft.client.particle with parameters of type DirectionModifier and TypeMethodDescriptionvoidParticleManager.addBlockBreakingParticles(BlockPos pos, Direction direction) 
- 
Uses of Direction in net.minecraft.client.renderFields in net.minecraft.client.render declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]ChunkRenderingDataPreparer.DIRECTIONSMethods in net.minecraft.client.render with parameters of type DirectionModifier and TypeMethodDescription(package private) voidChunkRenderingDataPreparer.ChunkInfo.addDirection(Direction direction) (package private) booleanstatic voidVertexRendering.drawSide(MatrixStack matrices, VertexConsumer vertexConsumers, Direction side, float minX, float minY, float minZ, float maxX, float maxY, float maxZ, float red, float green, float blue, float alpha) private ChunkBuilder.BuiltChunkChunkRenderingDataPreparer.getRenderedChunk(long sectionPos, ChunkBuilder.BuiltChunk chunk, Direction direction) (package private) voidChunkRenderingDataPreparer.ChunkInfo.updateCullingState(byte parentCullingState, Direction from) Constructors in net.minecraft.client.render with parameters of type DirectionModifierConstructorDescription(package private)ChunkInfo(ChunkBuilder.BuiltChunk chunk, @Nullable Direction direction, int propagationLevel) 
- 
Uses of Direction in net.minecraft.client.render.blockFields in net.minecraft.client.render.block declared as DirectionModifier and TypeFieldDescription(package private) static final Direction[]BlockModelRenderer.DIRECTIONS(package private) final Direction[]BlockModelRenderer.NeighborData.facesMethods in net.minecraft.client.render.block with parameters of type DirectionModifier and TypeMethodDescriptionvoidBlockModelRenderer.AmbientOcclusionCalculator.apply(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] float2, BitSet bitSet, boolean bool) private voidBlockModelRenderer.getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, @org.jetbrains.annotations.Nullable float[] box, BitSet flags) BlockModelRenderer.Translation.getTranslations(Direction direction) private static booleanFluidRenderer.isOppositeSideCovered(BlockState blockState, Direction direction) private static booleanFluidRenderer.isSideCovered(Direction direction, float float2, BlockState blockState) private static booleanFluidRenderer.method_3344(Direction direction, float float2, BlockState blockState) static booleanFluidRenderer.shouldRenderSide(FluidState fluidState, BlockState blockState, Direction direction, FluidState fluidState2) Constructors in net.minecraft.client.render.block with parameters of type DirectionModifierConstructorDescriptionprivateNeighborData(Direction[] faces, float float2, boolean nonCubicWeight, BlockModelRenderer.NeighborOrientation[] neighborOrientation, BlockModelRenderer.NeighborOrientation[] neighborOrientation2, BlockModelRenderer.NeighborOrientation[] neighborOrientation3, BlockModelRenderer.NeighborOrientation[] neighborOrientation4) privateNeighborOrientation(Direction direction, boolean flip) 
- 
Uses of Direction in net.minecraft.client.render.block.entityMethods in net.minecraft.client.render.block.entity with parameters of type DirectionModifier and TypeMethodDescriptionprivate float[]BrushableBlockEntityRenderer.getTranslation(Direction direction, int dustedLevel) voidShulkerBoxBlockEntityRenderer.render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, Direction facing, float openness, SpriteIdentifier textureId) private voidBedBlockEntityRenderer.renderPart(MatrixStack matrices, VertexConsumerProvider vertexConsumers, Model model, Direction direction, SpriteIdentifier sprite, int light, int overlay, boolean isFoot) private voidEndPortalBlockEntityRenderer.renderSide(T entity, Matrix4f model, VertexConsumer vertices, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, Direction side) static voidSkullBlockEntityRenderer.renderSkull(@Nullable Direction direction, float yaw, float animationProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, SkullBlockEntityModel model, RenderLayer renderLayer) 
- 
Uses of Direction in net.minecraft.client.render.chunkFields in net.minecraft.client.render.chunk declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]ChunkOcclusionDataBuilder.DIRECTIONSMethods in net.minecraft.client.render.chunk that return types with arguments of type DirectionMethods in net.minecraft.client.render.chunk with parameters of type DirectionModifier and TypeMethodDescriptionfloatChunkRendererRegion.getBrightness(Direction direction, boolean shaded) longChunkBuilder.BuiltChunk.getOffsetSectionPos(Direction direction) booleanChunkBuilder.ChunkData.isVisibleThrough(Direction from, Direction to) booleanChunkOcclusionData.isVisibleThrough(Direction from, Direction to) private intvoidChunkOcclusionData.setVisibleThrough(Direction from, Direction to, boolean visible) Method parameters in net.minecraft.client.render.chunk with type arguments of type DirectionModifier and TypeMethodDescriptionprivate voidChunkOcclusionDataBuilder.addEdgeFaces(int pos, Set<Direction> openFaces) voidChunkOcclusionData.addOpenEdgeFaces(Set<Direction> faces) 
- 
Uses of Direction in net.minecraft.client.render.debugFields in net.minecraft.client.render.debug declared as DirectionMethods in net.minecraft.client.render.debug with parameters of type DirectionModifier and TypeMethodDescriptionprivate static voidLightDebugRenderer.drawFace(MatrixStack matrices, VertexConsumer vertexConsumer, Direction direction, double cameraX, double cameraY, double cameraZ, int x, int y, int z, Vector4f color) 
- 
Uses of Direction in net.minecraft.client.render.entityMethods in net.minecraft.client.render.entity with parameters of type Direction
- 
Uses of Direction in net.minecraft.client.render.entity.stateFields in net.minecraft.client.render.entity.state declared as DirectionModifier and TypeFieldDescriptionItemFrameEntityRenderState.facingPaintingEntityRenderState.facingShulkerEntityRenderState.facingLivingEntityRenderState.sleepingDirectionMethods in net.minecraft.client.render.entity.state with parameters of type DirectionModifier and TypeMethodDescriptionfloatFallingBlockEntityRenderState.getBrightness(Direction direction, boolean shaded) 
- 
Uses of Direction in net.minecraft.client.render.item.model.specialFields in net.minecraft.client.render.item.model.special declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionShulkerBoxModelRenderer.Unbaked.facingThe field for thefacingrecord component.private final DirectionShulkerBoxModelRenderer.orientationMethods in net.minecraft.client.render.item.model.special that return DirectionModifier and TypeMethodDescriptionShulkerBoxModelRenderer.Unbaked.facing()Returns the value of thefacingrecord component.Constructors in net.minecraft.client.render.item.model.special with parameters of type DirectionModifierConstructorDescriptionShulkerBoxModelRenderer(ShulkerBoxBlockEntityRenderer blockEntityRenderer, float openness, Direction facing, SpriteIdentifier textureId) Unbaked(Identifier identifier, float float2, Direction direction) 
- 
Uses of Direction in net.minecraft.client.render.modelFields in net.minecraft.client.render.model declared as DirectionFields in net.minecraft.client.render.model with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final EnumMap<Direction, ImmutableList.Builder<BakedQuad>> BasicBakedModel.Builder.faceQuadsBasicBakedModel.faceQuadsMethods in net.minecraft.client.render.model that return DirectionModifier and TypeMethodDescriptionprivate static DirectionBakedQuadFactory.decodeDirection(int[] rotationMatrix) BakedQuad.getFace()Methods in net.minecraft.client.render.model with parameters of type DirectionModifier and TypeMethodDescriptionstatic BakedQuadBakedQuadFactory.bake(Vector3f from, Vector3f to, ModelElementFace face, Sprite sprite, Direction direction, ModelBakeSettings settings, @Nullable ModelRotation rotation, boolean shade, int lightEmission) private static BakedQuadBasicBakedModel.bake(ModelElement element, ModelElementFace face, Sprite sprite, Direction direction, ModelBakeSettings settings) private static voidBakedQuadFactory.encodeDirection(int[] rotationMatrix, Direction direction) static CubeFaceprivate static voidBakedQuadFactory.packVertexData(int[] vertices, int cornerIndex, Direction direction, ModelElementTexture texture, float[] positionMatrix, Sprite sprite, AffineTransformation orientation, @Nullable ModelRotation rotation) private static int[]BakedQuadFactory.packVertexData(ModelElementTexture texture, Sprite sprite, Direction direction, float[] positionMatrix, AffineTransformation orientation, @Nullable ModelRotation rotation) static ModelElementTextureBakedQuadFactory.uvLock(ModelElementTexture texture, Direction orientation, AffineTransformation rotation) Constructors in net.minecraft.client.render.model with parameters of type DirectionModifierConstructorDescriptionBakedQuad(int[] vertexData, int tintIndex, Direction face, Sprite sprite, boolean shade, int lightEmission) Constructor parameters in net.minecraft.client.render.model with type arguments of type DirectionModifierConstructorDescriptionBasicBakedModel(List<BakedQuad> quads, Map<Direction, List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation) 
- 
Uses of Direction in net.minecraft.client.render.model.jsonFields in net.minecraft.client.render.model.json declared as DirectionModifier and TypeFieldDescriptionModelElementFace.cullFaceThe field for thecullFacerecord component.private final DirectionGeneratedItemModel.Side.directionFields in net.minecraft.client.render.model.json with type parameters of type DirectionMethods in net.minecraft.client.render.model.json that return DirectionModifier and TypeMethodDescriptionModelElementFace.cullFace()Returns the value of thecullFacerecord component.ModelElementFace.Deserializer.deserializeCullFace(JsonObject object) GeneratedItemModel.Side.getDirection()private DirectionModelElement.Deserializer.getDirection(String name) Methods in net.minecraft.client.render.model.json that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate Map<Direction, ModelElementFace> ModelElement.Deserializer.deserializeFaces(JsonDeserializationContext context, JsonObject object) private Map<Direction, ModelElementFace> ModelElement.Deserializer.deserializeFacesValidating(JsonDeserializationContext context, JsonObject object) Methods in net.minecraft.client.render.model.json with parameters of type DirectionModifier and TypeMethodDescriptionprivate float[]ModelElement.getRotatedMatrix(Direction direction) Constructors in net.minecraft.client.render.model.json with parameters of type DirectionModifierConstructorDescriptionModelElementFace(@Nullable Direction cullFace, int tintIndex, String textureId, ModelElementTexture textureData) Creates an instance of aModelElementFacerecord class.privateConstructor parameters in net.minecraft.client.render.model.json with type arguments of type DirectionModifierConstructorDescriptionModelElement(Vector3f from, Vector3f to, Map<Direction, ModelElementFace> faces) ModelElement(Vector3f from, Vector3f to, Map<Direction, ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade, int lightEmission) 
- 
Uses of Direction in net.minecraft.client.worldMethods in net.minecraft.client.world with parameters of type DirectionModifier and TypeMethodDescriptionfloatClientWorld.getBrightness(Direction direction, boolean shaded) 
- 
Uses of Direction in net.minecraft.entityMethods in net.minecraft.entity that return DirectionModifier and TypeMethodDescriptionEntity.getFacing()Entity.getHorizontalFacing()Entity.getMovementDirection()LivingEntity.getSleepingDirection()Methods in net.minecraft.entity with parameters of type DirectionModifier and TypeMethodDescriptionstatic int[][]Dismounting.getDismountOffsets(Direction movementDirection) 
- 
Uses of Direction in net.minecraft.entity.ai.pathingMethods in net.minecraft.entity.ai.pathing with parameters of type DirectionModifier and TypeMethodDescriptionLandPathNodeMaker.getJumpOnTopNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType, BlockPos.Mutable mutablePos) LandPathNodeMaker.getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) 
- 
Uses of Direction in net.minecraft.entity.dataFields in net.minecraft.entity.data with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final TrackedDataHandler<Direction> TrackedDataHandlerRegistry.FACING
- 
Uses of Direction in net.minecraft.entity.decorationFields in net.minecraft.entity.decoration declared as DirectionMethods in net.minecraft.entity.decoration that return DirectionMethods in net.minecraft.entity.decoration with parameters of type DirectionModifier and TypeMethodDescriptionprotected abstract BoxAbstractDecorationEntity.calculateBoundingBox(BlockPos pos, Direction side) protected BoxItemFrameEntity.calculateBoundingBox(BlockPos pos, Direction side) protected voidprotected voidConstructors in net.minecraft.entity.decoration with parameters of type DirectionModifierConstructorDescriptionGlowItemFrameEntity(World world, BlockPos pos, Direction facing) ItemFrameEntity(EntityType<? extends ItemFrameEntity> type, World world, BlockPos pos, Direction facing) ItemFrameEntity(World world, BlockPos pos, Direction facing) 
- 
Uses of Direction in net.minecraft.entity.decoration.paintingMethods in net.minecraft.entity.decoration.painting with parameters of type DirectionModifier and TypeMethodDescriptionprotected BoxPaintingEntity.calculateBoundingBox(BlockPos pos, Direction side) static Optional<PaintingEntity> PaintingEntity.placePainting(World world, BlockPos pos, Direction facing) Constructors in net.minecraft.entity.decoration.painting with parameters of type DirectionModifierConstructorDescriptionPaintingEntity(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) 
- 
Uses of Direction in net.minecraft.entity.mobFields in net.minecraft.entity.mob declared as DirectionFields in net.minecraft.entity.mob with type parameters of type DirectionModifier and TypeFieldDescriptionprotected static final TrackedData<Direction> ShulkerEntity.ATTACHED_FACEMethods in net.minecraft.entity.mob that return DirectionModifier and TypeMethodDescriptionShulkerEntity.findAttachSide(BlockPos pos) ShulkerEntity.getAttachedFace()Methods in net.minecraft.entity.mob with parameters of type DirectionModifier and TypeMethodDescriptionstatic BoxShulkerEntity.calculateBoundingBox(float scale, Direction facing, float prevExtraLength, float extraLength, Vec3d pos) static BoxShulkerEntity.calculateBoundingBox(float scale, Direction facing, float extraLength, Vec3d pos) (package private) booleanprivate voidShulkerEntity.setAttachedFace(Direction face) 
- 
Uses of Direction in net.minecraft.entity.playerMethods in net.minecraft.entity.player with parameters of type DirectionModifier and TypeMethodDescriptionbooleanPlayerEntity.canPlaceOn(BlockPos pos, Direction facing, ItemStack stack) 
- 
Uses of Direction in net.minecraft.entity.projectileFields in net.minecraft.entity.projectile declared as DirectionMethods in net.minecraft.entity.projectile that return DirectionMethods in net.minecraft.entity.projectile with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidShulkerBulletEntity.setDirection(@Nullable Direction direction) 
- 
Uses of Direction in net.minecraft.entity.vehicleMethods in net.minecraft.entity.vehicle that return DirectionModifier and TypeMethodDescriptionDefaultMinecartController.getHorizontalFacing()MinecartController.getHorizontalFacing()AbstractBoatEntity.getMovementDirection()AbstractMinecartEntity.getMovementDirection()
- 
Uses of Direction in net.minecraft.fluidFields in net.minecraft.fluid declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionFlowableFluid.NeighborGroup.facingThe field for thefacingrecord component.Methods in net.minecraft.fluid that return DirectionModifier and TypeMethodDescriptionFlowableFluid.NeighborGroup.facing()Returns the value of thefacingrecord component.Methods in net.minecraft.fluid that return types with arguments of type DirectionModifier and TypeMethodDescriptionprotected Map<Direction, FluidState> FlowableFluid.getSpread(ServerWorld world, BlockPos pos, BlockState state) Methods in net.minecraft.fluid with parameters of type DirectionModifier and TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanFluidState.canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private booleanFlowableFluid.canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) private booleanFlowableFluid.canFlowThrough(BlockView world, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) protected voidFlowableFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected voidLavaFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected intFlowableFluid.getMinFlowDownDistance(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, FlowableFluid.SpreadCache spreadCache) Finds the distance to the closest hole the fluid can flow down into starting with the direction specified.protected booleanFlowableFluid.isFlowBlocked(BlockView world, BlockPos pos, Direction direction) private static booleanFlowableFluid.receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) Constructors in net.minecraft.fluid with parameters of type DirectionModifierConstructorDescription(package private)NeighborGroup(BlockState self, BlockState other, Direction facing) Creates an instance of aNeighborGrouprecord class.
- 
Uses of Direction in net.minecraft.inventoryMethods in net.minecraft.inventory with parameters of type DirectionModifier and TypeMethodDescriptionbooleanSidedInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.int[]SidedInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.
- 
Uses of Direction in net.minecraft.itemFields in net.minecraft.item declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionAutomaticItemPlacementContext.facingprivate final DirectionVerticallyAttachableBlockItem.verticalAttachmentDirectionMethods in net.minecraft.item that return DirectionModifier and TypeMethodDescriptionAutomaticItemPlacementContext.getHorizontalPlayerFacing()Returns the horizontal facing direction of the player.ItemUsageContext.getHorizontalPlayerFacing()Returns the horizontal facing direction of the player.AutomaticItemPlacementContext.getPlacementDirections()ItemPlacementContext.getPlacementDirections()AutomaticItemPlacementContext.getPlayerLookDirection()ItemPlacementContext.getPlayerLookDirection()ItemUsageContext.getSide()ItemPlacementContext.getVerticalPlayerLookDirection()Methods in net.minecraft.item with parameters of type DirectionModifier and TypeMethodDescriptionprotected booleanDecorationItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) protected booleanItemFrameItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) ArrowItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) EggItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) FireChargeItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ProjectileItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) SnowballItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ThrowablePotionItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) TridentItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) WindChargeItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ProjectileItem.PositionFunction.getDispensePosition(BlockPointer pointer, Direction facing) static ItemPlacementContextItemPlacementContext.offset(ItemPlacementContext context, BlockPos pos, Direction side) private static Vec3dFireworkRocketItem.position(BlockPointer pointer, Direction facing) static booleanBoneMealItem.useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) Constructors in net.minecraft.item with parameters of type DirectionModifierConstructorDescriptionAutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side) SignItem(Item.Settings settings, Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection) VerticallyAttachableBlockItem(Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection, Item.Settings settings) 
- 
Uses of Direction in net.minecraft.network.packet.c2s.playFields in net.minecraft.network.packet.c2s.play declared as DirectionMethods in net.minecraft.network.packet.c2s.play that return DirectionConstructors in net.minecraft.network.packet.c2s.play with parameters of type DirectionModifierConstructorDescriptionPlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction) PlayerActionC2SPacket(PlayerActionC2SPacket.Action action, BlockPos pos, Direction direction, int sequence) 
- 
Uses of Direction in net.minecraft.particleMethods in net.minecraft.particle with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static voidParticleUtil.spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) 
- 
Uses of Direction in net.minecraft.server.networkMethods in net.minecraft.server.network with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanServerPlayerEntity.isBedObstructed(BlockPos pos, Direction direction) private booleanServerPlayerEntity.isBedWithinRange(BlockPos pos, Direction direction) voidDemoServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) voidServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) 
- 
Uses of Direction in net.minecraft.server.worldMethods in net.minecraft.server.world with parameters of type DirectionModifier and TypeMethodDescriptionfloatServerWorld.getBrightness(Direction direction, boolean shaded) voidServerWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection.
- 
Uses of Direction in net.minecraft.state.propertyFields in net.minecraft.state.property with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EnumProperty<Direction> Properties.FACINGA property that specifies the direction a block is facing.static final EnumProperty<Direction> Properties.HOPPER_FACINGA property that specifies the direction a hopper's output faces.static final EnumProperty<Direction> Properties.HORIZONTAL_FACINGA property that specifies the direction a block is facing.static final EnumProperty<Direction> Properties.VERTICAL_DIRECTIONA property that specifies the direction a pointed dripstone is facing.
- 
Uses of Direction in net.minecraft.structureFields in net.minecraft.structure declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionMineshaftGenerator.MineshaftCrossing.directionStructurePiece.facingMethods in net.minecraft.structure that return DirectionModifier and TypeMethodDescriptionWoodlandMansionGenerator.MansionParameters.findConnectedRoomDirection(WoodlandMansionGenerator.FlagMatrix layout, int i, int j, int floor, int roomId) StructurePiece.getFacing()protected static DirectionStructurePiece.getRandomHorizontalDirection(Random random) Methods in net.minecraft.structure with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidWoodlandMansionGenerator.LayoutGenerator.addBigRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool) protected booleanStructurePiece.addDispenser(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, RegistryKey<LootTable> lootTable) private voidWoodlandMansionGenerator.LayoutGenerator.addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) private voidWoodlandMansionGenerator.LayoutGenerator.addOuterWall(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece, WoodlandMansionGenerator.FlagMatrix layout, Direction direction, int startI, int startJ, int endI, int endJ) private voidWoodlandMansionGenerator.LayoutGenerator.addSmallRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) NetherFortressGenerator.Bridge.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeCrossing.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeEnd.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgePlatform.create(StructurePiecesHolder holder, int x, int y, int z, int chainLength, Direction orientation) NetherFortressGenerator.BridgeSmallCrossing.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeStairs.create(StructurePiecesHolder holder, int x, int y, int z, int chainlength, Direction orientation) NetherFortressGenerator.CorridorBalcony.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorCrossing.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorExit.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorLeftTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorNetherWartsRoom.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainlength) NetherFortressGenerator.CorridorRightTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorStairs.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.SmallCorridor.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.ChestCorridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainlength) static StrongholdGenerator.CorridorStrongholdGenerator.Corridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.FiveWayCrossing.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.LeftTurnStrongholdGenerator.LeftTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.LibraryStrongholdGenerator.Library.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.PortalRoom.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.PrisonHall.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.RightTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static BlockBoxStrongholdGenerator.SmallCorridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) StrongholdGenerator.SpiralStaircase.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.SquareRoom.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.StairsStrongholdGenerator.Stairs.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static BlockBoxOceanMonumentGenerator.Piece.createBox(Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) protected static BlockBoxStructurePiece.createBox(int x, int y, int z, Direction orientation, int width, int height, int depth) (package private) static NetherFortressGenerator.PieceNetherFortressGenerator.createPiece(NetherFortressGenerator.PieceData pieceData, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.PieceStrongholdGenerator.createPiece(Class<? extends StrongholdGenerator.Piece> pieceType, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength) OceanMonumentGenerator.DoubleXRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleXYRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleYRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleYZRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleZRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.PieceFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.SimpleRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.SimpleRoomTopFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) MineshaftGenerator.MineshaftCorridor.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftCrossing.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftStairs.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) private voidWoodlandMansionGenerator.MansionParameters.layoutCorridor(WoodlandMansionGenerator.FlagMatrix layout, int i, int j, Direction direction, int length) private static MineshaftGenerator.MineshaftPartMineshaftGenerator.pickPiece(StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, MineshaftStructure.Type type) private NetherFortressGenerator.PieceNetherFortressGenerator.Piece.pickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.PieceStrongholdGenerator.pickPiece(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) (package private) static MineshaftGenerator.MineshaftPartMineshaftGenerator.pieceGenerator(StructurePiece start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private StructurePieceNetherFortressGenerator.Piece.pieceGenerator(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside) (package private) static StructurePieceStrongholdGenerator.pieceGenerator(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength) voidOceanMonumentGenerator.PieceSetting.setNeighbor(Direction orientation, OceanMonumentGenerator.PieceSetting setting) voidStructurePiece.setOrientation(@Nullable Direction orientation) Constructors in net.minecraft.structure with parameters of type DirectionModifierConstructorDescriptionprotectedBridgeCrossing(int x, int z, Direction orientation) BridgeCrossing(int chainLength, BlockBox boundingBox, Direction orientation) BridgePlatform(int chainLength, BlockBox boundingBox, Direction orientation) BridgeSmallCrossing(int chainLength, BlockBox boundingBox, Direction orientation) BridgeStairs(int chainLength, BlockBox boundingBox, Direction orientation) ChestCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CoreRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) CorridorBalcony(int chainLength, BlockBox boundingBox, Direction orientation) CorridorCrossing(int chainLength, BlockBox boundingBox, Direction orientation) CorridorExit(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorLeftTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorNetherWartsRoom(int chainLength, BlockBox boundingBox, Direction orientation) CorridorRightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorStairs(int chainLength, BlockBox boundingBox, Direction orientation) DoubleXRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleXYRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleYRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleYZRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleZRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) Entry(Direction orientation, OceanMonumentGenerator.PieceSetting setting) FiveWayCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation) MineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) MineshaftCrossing(int chainLength, BlockBox boundingBox, @Nullable Direction orientation, MineshaftStructure.Type type) MineshaftStairs(int chainLength, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) protectedPiece(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) Piece(StructurePieceType type, Direction orientation, int length, BlockBox box) PortalRoom(int chainLength, BlockBox boundingBox, Direction orientation) PrisonHall(int chainLength, Random random, BlockBox boundingBox, Direction orientation) protectedShiftableStructurePiece(StructurePieceType type, int x, int y, int z, int width, int height, int depth, Direction orientation) SimpleRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting, Random random) SimpleRoomTop(Direction orientation, OceanMonumentGenerator.PieceSetting setting) SmallCorridor(int chainLength, BlockBox boundingBox, Direction orientation) SmallCorridor(int chainLength, BlockBox boundingBox, Direction orientation) SpiralStaircase(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SpiralStaircase(StructurePieceType structurePieceType, int chainLength, int x, int z, Direction orientation) SquareRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation) 
- 
Uses of Direction in net.minecraft.testMethods in net.minecraft.test with parameters of type DirectionModifier and TypeMethodDescriptionvoidTestContext.expectRedstonePower(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<String> errorMessage) voidTestContext.useStackOnBlock(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction) 
- 
Uses of Direction in net.minecraft.utilMethods in net.minecraft.util that return DirectionModifier and TypeMethodDescriptionMethods in net.minecraft.util with parameters of type Direction
- 
Uses of Direction in net.minecraft.util.hitFields in net.minecraft.util.hit declared as DirectionMethods in net.minecraft.util.hit that return DirectionMethods in net.minecraft.util.hit with parameters of type DirectionModifier and TypeMethodDescriptionstatic BlockHitResultBlockHitResult.createMissed(Vec3d pos, Direction side, BlockPos blockPos) Constructors in net.minecraft.util.hit with parameters of type DirectionModifierConstructorDescriptionprivateBlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) 
- 
Uses of Direction in net.minecraft.util.mathFields in net.minecraft.util.math declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]Direction.ALLprivate final DirectionVerticalSurfaceType.directionprivate final Direction[]Direction.Type.facingArrayprivate static final Direction[]Direction.HORIZONTALprivate static final Direction[]Direction.VALUESFields in net.minecraft.util.math with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<Direction> Direction.CODECstatic final Map<Direction, AffineTransformation> AffineTransformations.DIRECTION_ROTATIONSEightWayDirection.directionsstatic final IntFunction<Direction> Direction.ID_TO_VALUE_FUNCTIONstatic final Map<Direction, AffineTransformation> AffineTransformations.INVERTED_DIRECTION_ROTATIONSDirectionTransformation.mappingsDirectionTransformation.mappingsstatic final PacketCodec<ByteBuf, Direction> Direction.PACKET_CODECstatic final com.mojang.serialization.Codec<Direction> Direction.VERTICAL_CODECMethods in net.minecraft.util.math that return DirectionModifier and TypeMethodDescriptionstatic DirectionDirection.byId(int id) Returns a direction with the givenname, ornullif there is no such direction.static DirectionDirection.from(Direction.Axis axis, Direction.AxisDirection direction) static DirectionDirection.fromHorizontalDegrees(double angle) static DirectionDirection.fromHorizontalQuarterTurns(int quarterTurns) Direction.fromVector(int x, int y, int z, @Nullable Direction fallback) Returns the closest direction of the vector, orfallbackfor zero vector.Direction.fromVector(Vec3i vec, @Nullable Direction fallback) static DirectionDirection.get(Direction.AxisDirection direction, Direction.Axis axis) VerticalSurfaceType.getDirection()Direction.Axis.getDirections()static Direction[]Direction.getEntityFacingOrder(Entity entity) static DirectionDirection.getFacing(double x, double y, double z) static DirectionDirection.getFacing(float x, float y, float z) static Directionstatic DirectionDirection.getLookDirectionForAxis(Entity entity, Direction.Axis axis) abstract DirectionDirection.Axis.getNegativeDirection()Direction.getOpposite()abstract DirectionDirection.Axis.getPositiveDirection()private static Direction[]Direction.listClosest(Direction first, Direction second, Direction third) Helper function that returns the 3 directions given, followed by the 3 opposite given in opposite order.static DirectionDirection.rotateClockwise(Direction.Axis axis) Direction.rotateCounterclockwise(Direction.Axis axis) private DirectionDirection.rotateXClockwise()private DirectionDirection.rotateXCounterclockwise()Direction.rotateYClockwise()Direction.rotateYCounterclockwise()private DirectionDirection.rotateZClockwise()private DirectionDirection.rotateZCounterclockwise()Box.traceCollisionSide(double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ, double begin, double minX, double maxX, double minZ, double maxZ, Direction resultDirection, double startX, double startY, double startZ) Box.traceCollisionSide(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) Box.traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) static Directionstatic DirectionReturns the enum constant of this class with the specified name.static Direction[]Direction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util.math that return types with arguments of type DirectionModifier and TypeMethodDescriptionEightWayDirection.getDirections()Direction.Type.getShuffled(Random random) Direction.Type.iterator()static Collection<Direction> Returns a shuffled collection of all directions.Direction.stream()Direction.Type.stream()RotationPropertyHelper.toDirection(int rotation) private static com.mojang.serialization.DataResult<Direction> Direction.validateVertical(Direction direction) Methods in net.minecraft.util.math with parameters of type DirectionModifier and TypeMethodDescriptionstatic intRotationPropertyHelper.fromDirection(Direction direction) Direction.fromVector(int x, int y, int z, @Nullable Direction fallback) Returns the closest direction of the vector, orfallbackfor zero vector.Direction.fromVector(Vec3i vec, @Nullable Direction fallback) static floatDirection.getHorizontalDegreesOrThrow(Direction direction) static Iterable<BlockPos.Mutable> BlockPos.iterateInSquare(BlockPos center, int radius, Direction firstDirection, Direction secondDirection) Iterates block positions around thecenterin a square of (2 * radius + 1) by (2 * radius + 1).private static Direction[]Direction.listClosest(Direction first, Direction second, Direction third) Helper function that returns the 3 directions given, followed by the 3 opposite given in opposite order.Moves this mutable block position by 1 block in the given direction.Moves this mutable block position by the given distance in the given direction.static longstatic longOffsets a packed chunk section position in the given direction.Returns a vector which is offset by1indirectiondirection.Returns a vector which is offset bydistanceindirectiondirection.static BlockBoxBlockBox.rotated(int x, int y, int z, int offsetX, int offsetY, int offsetZ, int sizeX, int sizeY, int sizeZ, Direction facing) Sets this mutable block position to the offset position of the given pos by the given direction.static BoxbooleanbooleanintRotationCalculator.toRotation(Direction direction) Box.traceCollisionSide(double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ, double begin, double minX, double maxX, double minZ, double maxZ, Direction resultDirection, double startX, double startY, double startZ) Box.traceCollisionSide(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) Box.traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) static Directionstatic AffineTransformationAffineTransformations.uvLock(AffineTransformation transformation, Direction dir) private static com.mojang.serialization.DataResult<Direction> Direction.validateVertical(Direction direction) Constructors in net.minecraft.util.math with parameters of type DirectionModifierConstructorDescriptionprivateEightWayDirection(Direction[] directions) privateType(Direction[] facingArray, Direction.Axis[] axisArray) privateVerticalSurfaceType(Direction direction, int offset, String name) 
- 
Uses of Direction in net.minecraft.util.shapeMethods in net.minecraft.util.shape with parameters of type DirectionModifier and TypeMethodDescriptionstatic booleanVoxelShapes.adjacentSidesCoverSquare(VoxelShape one, VoxelShape two, Direction direction) voidprivate VoxelShapeVoxelShape.getUncachedFace(Direction facing) static booleanVoxelShapes.isSideCovered(VoxelShape shape, VoxelShape neighbor, Direction direction) 
- 
Uses of Direction in net.minecraft.worldFields in net.minecraft.world declared as DirectionMethods in net.minecraft.world with parameters of type DirectionModifier and TypeMethodDescriptionprivate static booleanExperimentalRedstoneController.canProvidePowerTo(BlockState wireState, Direction direction) BlockLocating.findColumnEnd(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting fromposextending indirection.floatBlockRenderView.getBrightness(Direction direction, boolean shaded) floatChunkRegion.getBrightness(Direction direction, boolean shaded) floatEmptyBlockRenderView.getBrightness(Direction direction, boolean shaded) default intRedstoneView.getEmittedRedstonePower(BlockPos pos, Direction direction) default intRedstoneView.getEmittedRedstonePower(BlockPos pos, Direction direction, boolean onlyFromGate) default intRedstoneView.getStrongRedstonePower(BlockPos pos, Direction direction) booleanWorld.isDirectionSolid(BlockPos pos, Entity entity, Direction direction) default booleanRedstoneView.isEmittingRedstonePower(BlockPos pos, Direction direction) private static intBlockLocating.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable pos, Direction direction, int max) voidWorld.replaceWithStateForNeighborUpdate(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) default voidWorldAccess.replaceWithStateForNeighborUpdate(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) voidWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection.
- 
Uses of Direction in net.minecraft.world.blockFields in net.minecraft.world.block declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionChainRestrictedNeighborUpdater.StateReplacementEntry.directionThe field for thedirectionrecord component.ChainRestrictedNeighborUpdater.SixWayEntry.exceptprivate final DirectionWireOrientation.frontprivate final DirectionWireOrientation.rightprivate final DirectionWireOrientation.upstatic final Direction[]NeighborUpdater.UPDATE_ORDERFields in net.minecraft.world.block with type parameters of type DirectionModifier and TypeFieldDescriptionWireOrientation.directionsByPriorityWireOrientation.horizontalDirectionsprivate final Map<Direction, WireOrientation> WireOrientation.siblingsByFrontprivate final Map<Direction, WireOrientation> WireOrientation.siblingsByUpWireOrientation.verticalDirectionsMethods in net.minecraft.world.block that return DirectionModifier and TypeMethodDescriptionChainRestrictedNeighborUpdater.StateReplacementEntry.direction()Returns the value of thedirectionrecord component.WireOrientation.getFront()WireOrientation.getRight()WireOrientation.getUp()Methods in net.minecraft.world.block that return types with arguments of type DirectionModifier and TypeMethodDescriptionWireOrientation.getDirectionsByPriority()WireOrientation.getHorizontalDirections()WireOrientation.getVerticalDirections()Methods in net.minecraft.world.block with parameters of type DirectionModifier and TypeMethodDescriptionstatic @Nullable WireOrientationOrientationHelper.getEmissionOrientation(World world, @Nullable Direction up, @Nullable Direction front) static WireOrientationWireOrientation.of(Direction up, Direction front, WireOrientation.SideBias sideBias) protected static intWireOrientation.ordinalFromComponents(Direction up, Direction front, WireOrientation.SideBias sideBias) voidChainRestrictedNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) static voidNeighborUpdater.replaceWithStateForNeighborUpdate(WorldAccess world, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) voidSimpleNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidChainRestrictedNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) default voidNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) WireOrientation.withFrontAndSideBias(Direction direction) WireOrientation.withFrontIfNotUp(Direction direction) static @Nullable WireOrientationOrientationHelper.withFrontNullable(@Nullable WireOrientation orientation, Direction direction) Constructors in net.minecraft.world.block with parameters of type DirectionModifierConstructorDescription(package private)SixWayEntry(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, @Nullable Direction except) (package private)StateReplacementEntry(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2, int int3) privateWireOrientation(Direction up, Direction front, WireOrientation.SideBias sideBias) 
- 
Uses of Direction in net.minecraft.world.chunkFields in net.minecraft.world.chunk declared as DirectionMethods in net.minecraft.world.chunk with parameters of type DirectionModifier and TypeMethodDescriptionprivate static BlockStateUpgradeData.applyAdjacentBlock(BlockState oldState, Direction dir, WorldAccess world, BlockPos currentPos, BlockPos otherPos) UpgradeData.Logic.getUpdatedState(BlockState oldState, Direction direction, BlockState otherState, WorldAccess world, BlockPos currentPos, BlockPos otherPos) 
- 
Uses of Direction in net.minecraft.world.chunk.lightFields in net.minecraft.world.chunk.light declared as DirectionModifier and TypeFieldDescriptionprotected static final Direction[]ChunkLightProvider.DIRECTIONSMethods in net.minecraft.world.chunk.light with parameters of type DirectionModifier and TypeMethodDescriptionprivate static longChunkLightProvider.class_8531.clearDirectionBit(long packed, Direction direction) private static booleanChunkSkyLightProvider.exitsChunkXZ(Direction direction, int localX, int localZ) static VoxelShapeChunkLightProvider.getOpaqueShape(BlockState state, Direction direction) static intChunkLightProvider.getRealisticOpacity(BlockState state1, BlockState state2, Direction direction, int opacity2) static booleanChunkLightProvider.class_8531.isDirectionBitSet(long packed, Direction direction) static longChunkLightProvider.class_8531.method_51574(int lightLevel, boolean trivial, Direction direction) static longChunkLightProvider.class_8531.method_51579(int lightLevel, boolean trivial, Direction direction) private voidChunkSkyLightProvider.method_51587(long blockPos, Direction direction, int lightLevel, boolean bool, int int2) static longChunkLightProvider.class_8531.packWithOneDirectionCleared(int lightLevel, Direction direction) private static longChunkLightProvider.class_8531.setDirectionBit(long packed, Direction direction) protected booleanChunkLightProvider.shapesCoverFullCube(BlockState source, BlockState target, Direction direction) 
- 
Uses of Direction in net.minecraft.world.dimensionFields in net.minecraft.world.dimension declared as DirectionMethods in net.minecraft.world.dimension with parameters of type DirectionModifier and TypeMethodDescriptionprivate static intNetherPortal.getHeight(BlockView world, BlockPos lowerCorner, Direction negativeDir, int width, MutableInt foundPortalBlocks) NetherPortal.getLowerCorner(BlockView world, Direction direction, BlockPos pow) private static intNetherPortal.getPotentialHeight(BlockView world, BlockPos lowerCorner, Direction negativeDir, BlockPos.Mutable pos, int width, MutableInt foundPortalBlocks) private static intNetherPortal.getValidatedWidth(BlockView world, BlockPos lowerCorner, Direction negativeDir) private static intprivate static booleanNetherPortal.isHorizontalFrameValid(BlockView world, BlockPos lowerCorner, Direction direction, BlockPos.Mutable pos, int width, int height) private booleanPortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal) Constructors in net.minecraft.world.dimension with parameters of type DirectionModifierConstructorDescriptionprivateNetherPortal(Direction.Axis axis, int foundPortalBlocks, Direction negativeDir, BlockPos lowerCorner, int width, int height) 
- 
Uses of Direction in net.minecraft.world.gen.blockpredicateFields in net.minecraft.world.gen.blockpredicate declared as DirectionMethods in net.minecraft.world.gen.blockpredicate with parameters of type DirectionModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.hasSturdyFace(Direction face) static BlockPredicateBlockPredicate.hasSturdyFace(Vec3i offset, Direction face) Constructors in net.minecraft.world.gen.blockpredicate with parameters of type Direction
- 
Uses of Direction in net.minecraft.world.gen.featureFields in net.minecraft.world.gen.feature declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionBlockColumnFeatureConfig.directionThe field for thedirectionrecord component.private static final Direction[]DeltaFeature.DIRECTIONSprivate static final Direction[]GeodeFeature.DIRECTIONSprivate static final Direction[]WeepingVinesFeature.DIRECTIONSFields in net.minecraft.world.gen.feature with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final ObjectArrayList<Direction> MultifaceGrowthFeatureConfig.directionsMethods in net.minecraft.world.gen.feature that return DirectionModifier and TypeMethodDescriptionBlockColumnFeatureConfig.direction()Returns the value of thedirectionrecord component.Methods in net.minecraft.world.gen.feature that return types with arguments of type DirectionModifier and TypeMethodDescriptionSmallDripstoneFeature.getDirection(WorldAccess world, BlockPos pos, Random random) MultifaceGrowthFeatureConfig.shuffleDirections(Random random) MultifaceGrowthFeatureConfig.shuffleDirections(Random random, Direction excluded) Methods in net.minecraft.world.gen.feature with parameters of type DirectionModifier and TypeMethodDescriptionprivate static RegistryEntry<PlacedFeature> UndergroundConfiguredFeatures.createBigDripleafFeature(Direction direction) private static booleanWaterloggedVegetationPatchFeature.isSolidBlockSide(StructureWorldAccess world, BlockPos pos, BlockPos.Mutable mutablePos, Direction direction) private voidDripstoneClusterFeature.placeDripstoneBlocks(StructureWorldAccess world, BlockPos pos, int height, Direction direction) MultifaceGrowthFeatureConfig.shuffleDirections(Random random, Direction excluded) Method parameters in net.minecraft.world.gen.feature with type arguments of type DirectionModifier and TypeMethodDescriptionstatic booleanMultifaceGrowthFeature.generate(StructureWorldAccess world, BlockPos pos, BlockState state, MultifaceGrowthFeatureConfig config, Random random, List<Direction> directions) Constructors in net.minecraft.world.gen.feature with parameters of type DirectionModifierConstructorDescriptionBlockColumnFeatureConfig(List<BlockColumnFeatureConfig.Layer> list, Direction direction, BlockPredicate blockPredicate, boolean bool) 
- 
Uses of Direction in net.minecraft.world.gen.feature.utilMethods in net.minecraft.world.gen.feature.util with parameters of type DirectionModifier and TypeMethodDescriptionprotected static voidDripstoneHelper.generatePointedDripstone(WorldAccess world, BlockPos pos, Direction direction, int height, boolean merge) private static OptionalIntCaveSurface.getCaveSurface(TestableWorld world, int height, Predicate<BlockState> canGenerate, Predicate<BlockState> canReplace, BlockPos.Mutable mutablePos, int y, Direction direction) protected static voidDripstoneHelper.getDripstoneThickness(Direction direction, int height, boolean merge, Consumer<BlockState> callback) private static BlockState
- 
Uses of Direction in net.minecraft.world.gen.placementmodifierFields in net.minecraft.world.gen.placementmodifier declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionEnvironmentScanPlacementModifier.directionMethods in net.minecraft.world.gen.placementmodifier with parameters of type DirectionModifier and TypeMethodDescriptionEnvironmentScanPlacementModifier.of(Direction direction, BlockPredicate targetPredicate, int maxSteps) EnvironmentScanPlacementModifier.of(Direction direction, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps) Constructors in net.minecraft.world.gen.placementmodifier with parameters of type DirectionModifierConstructorDescriptionprivateEnvironmentScanPlacementModifier(Direction direction, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps) 
- 
Uses of Direction in net.minecraft.world.gen.rootMethods in net.minecraft.world.gen.root with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanMangroveRootPlacer.canGrow(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) MangroveRootPlacer.getOffshootPositions(BlockPos pos, Direction direction, Random random, BlockPos origin) 
- 
Uses of Direction in net.minecraft.world.gen.treedecoratorFields in net.minecraft.world.gen.treedecorator declared as DirectionModifier and TypeFieldDescriptionprivate static final DirectionBeehiveTreeDecorator.BEE_NEST_FACEprivate static final Direction[]BeehiveTreeDecorator.GENERATE_DIRECTIONSFields in net.minecraft.world.gen.treedecorator with type parameters of type DirectionMethods in net.minecraft.world.gen.treedecorator with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanAttachedToLeavesTreeDecorator.meetsRequiredEmptyBlocks(TreeDecorator.Generator generator, BlockPos pos, Direction direction) Constructor parameters in net.minecraft.world.gen.treedecorator with type arguments of type DirectionModifierConstructorDescriptionAttachedToLeavesTreeDecorator(float probability, int exclusionRadiusXZ, int exclusionRadiusY, BlockStateProvider blockProvider, int requiredEmptyBlocks, List<Direction> directions) 
- 
Uses of Direction in net.minecraft.world.gen.trunkMethods in net.minecraft.world.gen.trunk with parameters of type DirectionModifier and TypeMethodDescriptionprivate FoliagePlacer.TreeNodeCherryTrunkPlacer.generateBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) private voidUpwardsBranchingTrunkPlacer.generateExtraBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps)