Uses of Enum Class
net.minecraft.util.math.Direction
Packages that use Direction
Package
Description
-
Uses of Direction in net.minecraft.block
Fields in net.minecraft.block declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]AbstractBlock.AbstractBlockState.ShapeCache.DIRECTIONSprotected static final Direction[]AbstractBlock.DIRECTIONSprivate static final Direction[]BuddingAmethystBlock.DIRECTIONSprotected static final Direction[]MultifaceGrowthBlock.DIRECTIONSprivate final DirectionLichenGrower.GrowPos.faceThe field for thefacerecord component.private final DirectionBlock.NeighborGroup.facingprivate 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_PROPERTIESstatic final Map<Direction,EnumProperty<WireConnection>> RedstoneWireBlock.DIRECTION_TO_WIRE_CONNECTION_PROPERTYstatic final EnumProperty<Direction>ShulkerBoxBlock.FACINGstatic final Map<Direction,BooleanProperty> ConnectingBlock.FACING_PROPERTIESprotected static final Map<Direction,BooleanProperty> HorizontalConnectingBlock.FACING_PROPERTIESprivate static final Map<Direction,BooleanProperty> MultifaceGrowthBlock.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_SHAPEprivate static final Map<Direction,VoxelShape> RedstoneWireBlock.field_24414private static final Map<Direction,VoxelShape> RedstoneWireBlock.field_24415static final ImmutableList<Direction>FluidBlock.FLOW_DIRECTIONSprivate static final Map<Direction,VoxelShape> BigDripleafBlock.SHAPES_FOR_DIRECTIONprivate static final Map<Direction,VoxelShape> MultifaceGrowthBlock.SHAPES_FOR_DIRECTIONSMethods in net.minecraft.block that return DirectionModifier and TypeMethodDescriptionprotected static DirectionLanternBlock.attachedDirection(BlockState state) LichenGrower.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 TypeMethodDescriptionMultifaceGrowthBlock.collectDirections(BlockState state) MultifaceGrowthBlock.flagToDirections(byte flag) Methods in net.minecraft.block with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3) booleanFenceBlock.canConnect(BlockState state, boolean neighborIsFullSquare, Direction dir) booleanComposterBlock.ComposterInventory.canExtract(int slot, ItemStack stack, Direction dir) Determines 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) Determines 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) Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanLichenGrower.canGrow(BlockState state, BlockView world, BlockPos pos, Direction direction) default booleanLichenGrower.GrowChecker.canGrow(BlockState state, Direction direction) protected booleanLichenGrower.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 booleanMultifaceGrowthBlock.canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) booleanMultifaceGrowthBlock.canGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) protected booleanMultifaceGrowthBlock.canHaveDirection(Direction direction) booleanDetermines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanDetermines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanDetermines 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) 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(World world, BlockPos pos, Direction facing) 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) Gets the available slot positions that are reachable from a given side.int[]ComposterBlock.DummyInventory.getAvailableSlots(Direction side) Gets the available slot positions that are reachable from a given side.int[]ComposterBlock.FullComposterInventory.getAvailableSlots(Direction side) Gets the available slot positions that are reachable from a given side.AbstractBlock.AbstractBlockState.getCullingFace(BlockView world, BlockPos pos, 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) LichenGrower.getGrowPos(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, LichenGrower.GrowPosPredicate predicate) abstract LichenGrower.GrowPosLichenGrower.GrowType.getGrowPos(BlockPos pos, Direction newDirection, Direction oldDirection) private static VoxelShapePistonHeadBlock.getHeadShape(Direction direction, boolean shortHead) protected intAbstractRedstoneGateBlock.getInputLevel(WorldView world, BlockPos pos, Direction dir) ChestBlock.getNeighborChestDirection(ItemPlacementContext ctx, Direction dir) private static int[][]BedBlock.getOnBedOffsets(Direction bedDirection) static BooleanPropertyMultifaceGrowthBlock.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(Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Deprecated.AbstractPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPlantStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractPressurePlateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractRailBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AbstractSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AmethystClusterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.AttachedStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BambooBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BambooSaplingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BeehiveBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BellBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BigDripleafStemBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.BubbleColumnBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CactusBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CampfireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CandleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CandleCakeBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CarpetBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChainBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChorusFlowerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ChorusPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CocoaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ConcretePowderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ConduitBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralBlockBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralParentBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.CoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DeadCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DirtPathBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.DoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.EnderChestBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FallingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FarmlandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FenceBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FenceGateBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FlowerPotBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FluidBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.FrogspawnBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.GlowLichenBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.HangingRootsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LadderBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LanternBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LeavesBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LightBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LightningRodBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MagmaBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MangroveRootsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MultifaceGrowthBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.MushroomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.NetherPortalBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.NoteBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ObserverBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PistonHeadBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PointedDripstoneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.PropaguleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.RedstoneWireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.RepeaterBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.ScaffoldingBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SculkSensorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SculkShriekerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SculkVeinBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SeagrassBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SeaPickleBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SlabBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SmallDripleafBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SnowBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SnowyBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SoulFireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SoulSandBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SporeBlossomBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.StairsBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.SugarCaneBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TallPlantBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TrapdoorBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TripwireBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.TripwireHookBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.VineBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallBannerBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallMountedBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallRedstoneTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallSignBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.WallTorchBlock.getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.LichenGrower.GrowChecker.getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) LichenGrower.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) intAbstractBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractButtonBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractPressurePlateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractRedstoneGateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intDetectorRailBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLecternBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLeverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLightningRodBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intObserverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneTorchBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneWireBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTrappedChestBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTripwireHookBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) private static ThicknessPointedDripstoneBlock.getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) intAbstractBlock.AbstractBlockState.getWeakRedstonePower(BlockView world, BlockPos pos, Direction direction) intAbstractBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractButtonBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractPressurePlateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intAbstractRedstoneGateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intDaylightDetectorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intDetectorRailBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLecternBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLeverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intLightningRodBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intObserverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intRedstoneWireBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTargetBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTrappedChestBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intTripwireHookBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) intWallRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) static voidBigDripleafBlock.grow(WorldAccess world, Random random, BlockPos pos, Direction direction) private longLichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, boolean markForPostProcessing) LichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction oldDirection, Direction newDirection, boolean markForPostProcessing) LichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing) default booleanLichenGrower.GrowChecker.hasDirection(BlockState state, Direction direction) static booleanMultifaceGrowthBlock.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) booleanAbstractBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) Deprecated.booleanFluidBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) booleanMangroveRootsBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) booleanPaneBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) booleanPowderSnowBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) booleanTransparentBlock.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, BlockView world, BlockPos pos, Direction side, BlockPos otherPos) private booleanPistonBlock.shouldExtend(World 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 voidTripwireHookBlock.updateNeighborsOnAxis(World world, BlockPos pos, Direction direction) MultifaceGrowthBlock.withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) Method parameters in net.minecraft.block with type arguments of type DirectionModifier and TypeMethodDescriptionstatic byteMultifaceGrowthBlock.directionsToFlag(Collection<Direction> directions) private BlockStateMultifaceGrowthBlock.mirror(BlockState state, Function<Direction, Direction> mirror) private BlockStateMultifaceGrowthBlock.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) 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) NeighborGroup(BlockState self, BlockState other, Direction facing) -
Uses of Direction in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidDispenserBehavior.setEntityPosition(BlockPointer pointer, Entity entity, Direction direction) static voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int speed, Direction side, Position pos) protected voidItemDispenserBehavior.spawnParticles(BlockPointer pointer, Direction side) -
Uses of Direction in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as DirectionModifier and TypeFieldDescriptionprivate DirectionPistonBlockEntity.facingBellBlockEntity.lastSideHitFields in net.minecraft.block.entity with type parameters of type DirectionModifier and TypeFieldDescriptionSculkSpreadManager.Cursor.DIRECTION_SET_CODECSculkSpreadManager.Cursor.facesprivate static final ThreadLocal<Direction>PistonBlockEntity.field_12205Methods in net.minecraft.block.entity that return DirectionModifier and TypeMethodDescriptionPistonBlockEntity.getFacing()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.booleanAbstractFurnaceBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Determines 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) Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity.canExtract(Inventory inv, ItemStack stack, int slot, Direction facing) booleanShulkerBoxBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanDetermines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanDetermines 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) booleanDetermines 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) Gets the available slot positions that are reachable from a given side.int[]BrewingStandBlockEntity.getAvailableSlots(Direction side) Gets the available slot positions that are reachable from a given side.private static IntStreamHopperBlockEntity.getAvailableSlots(Inventory inventory, Direction side) int[]ShulkerBoxBlockEntity.getAvailableSlots(Direction side) Gets the available slot positions that are reachable from a given side.private static doublePistonBlockEntity.getIntersectionSize(Box box, Direction direction, Box box2) private static booleanHopperBlockEntity.isInventoryEmpty(Inventory inv, Direction facing) private static booleanHopperBlockEntity.isInventoryFull(Inventory inventory, Direction direction) private static voidPistonBlockEntity.moveEntity(Direction direction, Entity entity, double double2, Direction direction2) 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.enums
Fields in net.minecraft.block.enums declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionJigsawOrientation.facingprivate final DirectionJigsawOrientation.rotationMethods in net.minecraft.block.enums that return DirectionMethods in net.minecraft.block.enums with parameters of type DirectionModifier and TypeMethodDescriptionstatic JigsawOrientationJigsawOrientation.byDirections(Direction facing, Direction rotation) private static intConstructors in net.minecraft.block.enums with parameters of type DirectionModifierConstructorDescriptionprivateJigsawOrientation(String name, Direction facing, Direction rotation) -
Uses of Direction in net.minecraft.block.pattern
Fields 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.piston
Fields 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.model
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) -
Uses of Direction in net.minecraft.client.network
Methods 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.particle
Methods in net.minecraft.client.particle with parameters of type DirectionModifier and TypeMethodDescriptionvoidParticleManager.addBlockBreakingParticles(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.client.render
Fields in net.minecraft.client.render declared as DirectionMethods in net.minecraft.client.render with parameters of type DirectionModifier and TypeMethodDescriptionvoidWorldRenderer.ChunkInfo.addDirection(Direction direction) booleanprivate ChunkBuilder.BuiltChunkWorldRenderer.getAdjacentChunk(BlockPos pos, ChunkBuilder.BuiltChunk chunk, Direction direction) voidWorldRenderer.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.block
Fields 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[] box, BitSet flags, boolean shaded) 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(BlockView world, BlockPos pos, BlockState state, Direction direction) private static booleanFluidRenderer.isSideCovered(BlockView world, BlockPos pos, Direction direction, float maxDeviation, BlockState state) private static booleanFluidRenderer.isSideCovered(BlockView world, Direction direction, float height, BlockPos pos, BlockState state) static booleanFluidRenderer.shouldRenderSide(BlockRenderView world, BlockPos pos, FluidState fluidState, BlockState blockState, Direction direction, FluidState neighborFluidState) 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.entity
Methods in net.minecraft.client.render.block.entity with parameters of type DirectionModifier and TypeMethodDescriptionprivate voidBedBlockEntityRenderer.renderPart(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ModelPart part, 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.chunk
Fields 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) ChunkBuilder.BuiltChunk.getNeighborPosition(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.entity
Methods in net.minecraft.client.render.entity with parameters of type Direction -
Uses of Direction in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as DirectionFields in net.minecraft.client.render.model with type parameters of type DirectionMethods in net.minecraft.client.render.model that return DirectionModifier and TypeMethodDescriptionstatic DirectionBakedQuadFactory.decodeDirection(int[] rotationMatrix) BakedQuad.getFace()Methods in net.minecraft.client.render.model with parameters of type DirectionModifier and TypeMethodDescriptionBakedQuadFactory.bake(Vec3f from, Vec3f to, ModelElementFace face, Sprite texture, Direction side, ModelBakeSettings settings, @Nullable ModelRotation rotation, boolean shade, Identifier modelId) private voidBakedQuadFactory.encodeDirection(int[] rotationMatrix, Direction direction) static CubeFaceprivate voidBakedQuadFactory.packVertexData(int[] vertices, int cornerIndex, Direction direction, ModelElementTexture texture, float[] positionMatrix, Sprite sprite, AffineTransformation orientation, @Nullable ModelRotation rotation, boolean shaded) private int[]BakedQuadFactory.packVertexData(ModelElementTexture texture, Sprite sprite, Direction direction, float[] positionMatrix, AffineTransformation orientation, @Nullable ModelRotation rotation, boolean shaded) static ModelElementTextureBakedQuadFactory.uvLock(ModelElementTexture texture, Direction orientation, AffineTransformation rotation, Identifier modelId) Constructors in net.minecraft.client.render.model with parameters of type DirectionModifierConstructorDescriptionConstructor 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, ModelOverrideList itemPropertyOverrides) -
Uses of Direction in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as DirectionModifier and TypeFieldDescriptionfinal DirectionModelElementFace.cullFaceprivate final DirectionItemModelGenerator.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.Deserializer.deserializeCullFace(JsonObject object) ItemModelGenerator.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 static BakedQuadJsonUnbakedModel.createQuad(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings, Identifier id) private 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) privateConstructor parameters in net.minecraft.client.render.model.json with type arguments of type DirectionModifierConstructorDescriptionModelElement(Vec3f from, Vec3f to, Map<Direction, ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade) -
Uses of Direction in net.minecraft.client.util
Methods in net.minecraft.client.util 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.client.world
Methods in net.minecraft.client.world with parameters of type DirectionModifier and TypeMethodDescriptionfloatClientWorld.getBrightness(Direction direction, boolean shaded) -
Uses of Direction in net.minecraft.data.client
Methods in net.minecraft.data.client 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 identifier, Identifier identifier2, Identifier identifier3, Identifier identifier4) Methods in net.minecraft.data.client with parameters of type DirectionModifier and TypeMethodDescriptionprivate BlockStateVariantBlockStateModelGenerator.getDripstoneVariant(Direction direction, Thickness thickness) Method parameters in net.minecraft.data.client 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 identifier, Identifier identifier2, Identifier identifier3, Identifier identifier4) -
Uses of Direction in net.minecraft.entity
Methods in net.minecraft.entity that return DirectionModifier and TypeMethodDescriptionEntity.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.pathing
Methods in net.minecraft.entity.ai.pathing with parameters of type DirectionModifier and TypeMethodDescriptionLandPathNodeMaker.getPathNode(int x, int y, int z, int maxYStep, double prevFeetY, Direction direction, PathNodeType nodeType) -
Uses of Direction in net.minecraft.entity.data
Fields 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.decoration
Fields 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 voidprotected voidvoidConstructors 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.painting
Methods in net.minecraft.entity.decoration.painting with parameters of type DirectionModifier and TypeMethodDescriptionstatic 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.mob
Fields 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(Direction direction, float extraLength) static BoxShulkerEntity.calculateBoundingBox(Direction direction, float prevExtraLength, float extraLength) (package private) booleanprivate voidShulkerEntity.setAttachedFace(Direction face) -
Uses of Direction in net.minecraft.entity.player
Methods 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.projectile
Fields 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.vehicle
Methods in net.minecraft.entity.vehicle that return DirectionModifier and TypeMethodDescriptionAbstractMinecartEntity.getMovementDirection()BoatEntity.getMovementDirection() -
Uses of Direction in net.minecraft.fluid
Methods in net.minecraft.fluid that return types with arguments of type DirectionModifier and TypeMethodDescriptionprotected Map<Direction,FluidState> FlowableFluid.getSpread(WorldView 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) protected booleanFlowableFluid.canFlow(BlockView world, BlockPos fluidPos, BlockState fluidBlockState, Direction flowDirection, BlockPos flowTo, BlockState flowToBlockState, FluidState fluidState, Fluid fluid) private booleanFlowableFluid.canFlowThrough(BlockView world, Fluid fluid, 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.method_15742(WorldView world, BlockPos blockPos, int int2, Direction direction, BlockState blockState, BlockPos blockPos2, Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> short2ObjectMap, Short2BooleanMap short2BooleanMap) protected booleanFlowableFluid.method_15749(BlockView world, BlockPos pos, Direction direction) private booleanFlowableFluid.receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) -
Uses of Direction in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type DirectionModifier and TypeMethodDescriptionbooleanSidedInventory.canExtract(int slot, ItemStack stack, Direction dir) Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanDetermines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.int[]SidedInventory.getAvailableSlots(Direction side) Gets the available slot positions that are reachable from a given side. -
Uses of Direction in net.minecraft.item
Fields in net.minecraft.item declared as DirectionMethods in net.minecraft.item that return DirectionModifier and TypeMethodDescriptionAutomaticItemPlacementContext.getPlacementDirections()ItemPlacementContext.getPlacementDirections()AutomaticItemPlacementContext.getPlayerFacing()ItemUsageContext.getPlayerFacing()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) static ItemPlacementContextItemPlacementContext.offset(ItemPlacementContext context, BlockPos pos, Direction side) static booleanBoneMealItem.useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) Constructors in net.minecraft.item with parameters of type Direction -
Uses of Direction in net.minecraft.network.packet.c2s.play
Fields 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.server.network
Methods in net.minecraft.server.network with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanServerPlayerEntity.isBedObstructed(BlockPos pos, Direction direction) private booleanServerPlayerEntity.isBedTooFarAway(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.world
Methods 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) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection. -
Uses of Direction in net.minecraft.state.property
Methods in net.minecraft.state.property with parameters of type DirectionModifier and TypeMethodDescriptionstatic DirectionPropertyCreates a direction property with the given values.Method parameters in net.minecraft.state.property with type arguments of type DirectionModifier and TypeMethodDescriptionstatic DirectionPropertyDirectionProperty.of(String name, Collection<Direction> values) Creates a direction property with the given values.static DirectionPropertyCreates a direction property with the values allowed by the given filter out of all 6 directions.Constructor parameters in net.minecraft.state.property with type arguments of type DirectionModifierConstructorDescriptionprotectedDirectionProperty(String name, Collection<Direction> values) -
Uses of Direction in net.minecraft.structure
Fields 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, Identifier lootTableId) 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 int2, int int3, int int4) 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 int2, int int3, int int4) 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.util
Methods 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.hit
Fields 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) BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) -
Uses of Direction in net.minecraft.util.math
Fields 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.Codec<Direction>Direction.CODECstatic final Map<Direction,AffineTransformation> AffineTransformations.DIRECTION_ROTATIONSEightWayDirection.directionsstatic final Map<Direction,AffineTransformation> AffineTransformations.INVERTED_DIRECTION_ROTATIONSDirectionTransformation.mappingsDirectionTransformation.mappingsprivate static final Long2ObjectMap<Direction>Direction.VECTOR_TO_DIRECTIONstatic final StringIdentifiable.Codec<Direction>Direction.VERTICAL_CODECMethods in net.minecraft.util.math that return DirectionModifier and TypeMethodDescriptionstatic DirectionDirection.byId(int id) static DirectionDirection.from(Direction.Axis axis, Direction.AxisDirection direction) static DirectionDirection.fromHorizontal(int value) static DirectionDirection.fromRotation(double rotation) Direction.fromVector(int x, int y, int z) Direction.fromVector(BlockPos pos) static DirectionDirection.get(Direction.AxisDirection direction, Direction.Axis axis) VerticalSurfaceType.getDirection()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 DirectionDirection.getLookDirectionForAxis(Entity entity, Direction.Axis axis) Direction.getOpposite()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(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>Direction.stream()Direction.Type.stream()private static com.mojang.serialization.DataResult<Direction>Direction.validateVertical(Direction direction) Methods in net.minecraft.util.math with parameters of type DirectionModifier and TypeMethodDescriptionstatic 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 BoxbooleanbooleanBox.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(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) static Directionstatic AffineTransformationAffineTransformations.uvLock(AffineTransformation affineTransformation, Direction direction, Supplier<String> supplier) 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.shape
Methods in net.minecraft.util.shape with parameters of type DirectionModifier and TypeMethodDescriptionstatic booleanVoxelShapes.adjacentSidesCoverSquare(VoxelShape one, VoxelShape two, Direction direction) voidstatic VoxelShapeVoxelShapes.extrudeFace(VoxelShape shape, Direction direction) private VoxelShapeVoxelShape.getUncachedFace(Direction direction) static booleanVoxelShapes.isSideCovered(VoxelShape shape, VoxelShape neighbor, Direction direction) -
Uses of Direction in net.minecraft.world
Fields in net.minecraft.world declared as DirectionMethods in net.minecraft.world with parameters of type DirectionModifier and TypeMethodDescriptionBlockLocating.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) intWorld.getEmittedRedstonePower(BlockPos pos, Direction direction) default intWorldView.getStrongRedstonePower(BlockPos pos, Direction direction) booleanWorld.isDirectionSolid(BlockPos pos, Entity entity, Direction direction) booleanWorld.isEmittingRedstonePower(BlockPos pos, Direction direction) private booleanPortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal) private static intBlockLocating.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable pos, Direction direction, int max) voidWorld.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) default voidWorldAccess.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection. -
Uses of Direction in net.minecraft.world.block
Fields in net.minecraft.world.block declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionChainRestrictedNeighborUpdater.StateReplacementEntry.directionThe field for thedirectionrecord component.ChainRestrictedNeighborUpdater.SixWayEntry.exceptstatic final Direction[]NeighborUpdater.UPDATE_ORDERMethods in net.minecraft.world.block that return DirectionModifier and TypeMethodDescriptionChainRestrictedNeighborUpdater.StateReplacementEntry.direction()Returns the value of thedirectionrecord component.Methods in net.minecraft.world.block with parameters of type DirectionModifier and TypeMethodDescriptionvoidChainRestrictedNeighborUpdater.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, BlockState neighborState, BlockPos pos, BlockPos neighborPos, 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) default voidNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except) Constructors in net.minecraft.world.block with parameters of type DirectionModifierConstructorDescription(package private)SixWayEntry(BlockPos pos, Block sourceBlock, @Nullable Direction except) (package private)StateReplacementEntry(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2) -
Uses of Direction in net.minecraft.world.chunk
Fields 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.light
Fields in net.minecraft.world.chunk.light declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]ChunkBlockLightProvider.DIRECTIONSprivate static final Direction[]ChunkLightProvider.DIRECTIONSprivate static final Direction[]ChunkSkyLightProvider.DIRECTIONSprivate static final Direction[]LightStorage.DIRECTIONSprivate static final Direction[]ChunkSkyLightProvider.HORIZONTAL_DIRECTIONSprivate static final Direction[]SkyLightStorage.LIGHT_REDUCTION_DIRECTIONSMethods in net.minecraft.world.chunk.light with parameters of type DirectionModifier and TypeMethodDescriptionprotected VoxelShapeChunkLightProvider.getOpaqueShape(BlockState world, long pos, Direction facing) static intChunkLightProvider.getRealisticOpacity(BlockView world, BlockState state1, BlockPos pos1, BlockState state2, BlockPos pos2, Direction direction, int opacity2) -
Uses of Direction in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as DirectionMethods in net.minecraft.world.dimension with parameters of type Direction -
Uses of Direction in net.minecraft.world.gen.blockpredicate
Fields 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.feature
Fields 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.util
Methods 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.placementmodifier
Fields 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.root
Methods 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.treedecorator
Fields 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.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type DirectionModifier and TypeMethodDescriptionprivate 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)
AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(net.minecraft.util.math.Direction, net.minecraft.block.BlockState, net.minecraft.world.WorldAccess, net.minecraft.util.math.BlockPos, net.minecraft.util.math.BlockPos)instead.