Uses of Enum Class
net.minecraft.util.math.Direction
Packages that use Direction
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of Direction in net.minecraft.block
Fields in net.minecraft.block declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]AbstractBlock.AbstractBlockState.DIRECTIONSprivate static final Direction[]AbstractBlock.AbstractBlockState.ShapeCache.DIRECTIONSprotected static final Direction[]AbstractBlock.DIRECTIONSprivate static final Direction[]BuddingAmethystBlock.DIRECTIONSprotected static final Direction[]MultifaceBlock.DIRECTIONSprivate static final Direction[]SpongeBlock.DIRECTIONSprivate final DirectionMultifaceGrower.GrowPos.faceThe field for thefacerecord component.private final DirectionSideChaining.Neighbors.facingThe field for thefacingrecord component.protected final DirectionAbstractPlantPartBlock.growthDirectionFields in net.minecraft.block with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final Map<Direction, BooleanProperty> FireBlock.DIRECTION_PROPERTIESstatic final Map<Direction, EnumProperty<WireConnection>> RedstoneWireBlock.DIRECTION_TO_WIRE_CONNECTION_PROPERTYprivate static final Map<Direction, VoxelShape> ChestBlock.DOUBLE_SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> PistonBlock.EXTENDED_SHAPES_BY_DIRECTIONstatic final EnumProperty<Direction> AbstractFurnaceBlock.FACINGstatic final EnumProperty<Direction> AmethystClusterBlock.FACINGstatic final EnumProperty<Direction> AnvilBlock.FACINGstatic final EnumProperty<Direction> AttachedStemBlock.FACINGstatic final EnumProperty<Direction> BarrelBlock.FACINGstatic final EnumProperty<Direction> BeehiveBlock.FACINGstatic final EnumProperty<Direction> BellBlock.FACINGstatic final EnumProperty<Direction> CalibratedSculkSensorBlock.FACINGstatic final EnumProperty<Direction> CampfireBlock.FACINGstatic final EnumProperty<Direction> CarvedPumpkinBlock.FACINGstatic final EnumProperty<Direction> ChestBlock.FACINGstatic final EnumProperty<Direction> ChiseledBookshelfBlock.FACINGstatic final EnumProperty<Direction> CommandBlock.FACINGstatic final EnumProperty<Direction> CopperGolemStatueBlock.FACINGstatic final EnumProperty<Direction> DeadCoralWallFanBlock.FACINGstatic final EnumProperty<Direction> DecoratedPotBlock.FACINGstatic final EnumProperty<Direction> DispenserBlock.FACINGstatic final EnumProperty<Direction> DoorBlock.FACINGstatic final EnumProperty<Direction> EnderChestBlock.FACINGstatic final EnumProperty<Direction> EndPortalFrameBlock.FACINGstatic final EnumProperty<Direction> FacingBlock.FACINGstatic final EnumProperty<Direction> HopperBlock.FACINGstatic final EnumProperty<Direction> HorizontalFacingBlock.FACINGstatic final EnumProperty<Direction> LadderBlock.FACINGstatic final EnumProperty<Direction> LecternBlock.FACINGstatic final EnumProperty<Direction> PistonExtensionBlock.FACINGstatic final EnumProperty<Direction> ShelfBlock.FACINGstatic final EnumProperty<Direction> ShulkerBoxBlock.FACINGstatic final EnumProperty<Direction> SmallDripleafBlock.FACINGstatic final EnumProperty<Direction> StairsBlock.FACINGstatic final EnumProperty<Direction> StonecutterBlock.FACINGstatic final EnumProperty<Direction> TripwireHookBlock.FACINGstatic final EnumProperty<Direction> VaultBlock.FACINGstatic final EnumProperty<Direction> WallBannerBlock.FACINGstatic final EnumProperty<Direction> WallHangingSignBlock.FACINGstatic final EnumProperty<Direction> WallRedstoneTorchBlock.FACINGstatic final EnumProperty<Direction> WallSignBlock.FACINGstatic final EnumProperty<Direction> WallSkullBlock.FACINGstatic final EnumProperty<Direction> WallTorchBlock.FACINGstatic final Map<Direction, BooleanProperty> ConnectingBlock.FACING_PROPERTIESstatic final Map<Direction, BooleanProperty> HorizontalConnectingBlock.FACING_PROPERTIESprivate static final Map<Direction, BooleanProperty> MultifaceBlock.FACING_PROPERTIESprivate static final Map<Direction, BooleanProperty> MushroomBlock.FACING_PROPERTIESprivate static final Map<Direction, BooleanProperty> TripwireBlock.FACING_PROPERTIESstatic final Map<Direction, BooleanProperty> VineBlock.FACING_PROPERTIESstatic final ImmutableList<Direction> FluidBlock.FLOW_DIRECTIONSstatic final EnumProperty<Direction> FlowerbedBlock.HORIZONTAL_FACINGstatic final EnumProperty<Direction> LeafLitterBlock.HORIZONTAL_FACINGprivate static final Map<Direction, VoxelShape> StairsBlock.INNER_BOTTOM_SHAPESprivate static final Map<Direction, VoxelShape> StairsBlock.INNER_TOP_SHAPESprivate static final Map<Direction, VoxelShape> PistonHeadBlock.LONG_SHAPESprivate static final Map<Direction, VoxelShape> StairsBlock.OUTER_BOTTOM_SHAPESprivate static final Map<Direction, VoxelShape> StairsBlock.OUTER_TOP_SHAPESprivate static final Map<Direction, VoxelShape> LecternBlock.OUTLINE_SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> TrapdoorBlock.shapeByDirectionprivate static final List<Map<Direction, VoxelShape>> CocoaBlock.SHAPESprivate static final Map<Direction, VoxelShape> ShelfBlock.SHAPESprivate static final Map<Direction, VoxelShape> WallPiglinHeadBlock.SHAPESprivate static final Map<Direction, VoxelShape> AttachedStemBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> BedBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> BigDripleafStemBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> DeadCoralWallFanBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> DoorBlock.SHAPES_BY_DIRECTIONstatic final Map<Direction, VoxelShape> LadderBlock.SHAPES_BY_DIRECTIONstatic final Map<Direction, VoxelShape> ShulkerBoxBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> TripwireHookBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> WallBannerBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> WallSignBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> WallSkullBlock.SHAPES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> WallTorchBlock.SHAPES_BY_DIRECTIONprivate final Map<Direction, VoxelShape> AmethystClusterBlock.shapesByDirectionprivate final Map<Direction, VoxelShape> HopperBlock.shapesByDirectionprivate static final Map<Direction, VoxelShape> PistonHeadBlock.SHORT_SHAPESprivate static final Map<Direction, VoxelShape> BellBlock.SINGLE_WALL_SHAPESprivate static final Map<Direction, VoxelShape> StairsBlock.STRAIGHT_BOTTOM_SHAPESprivate static final Map<Direction, VoxelShape> StairsBlock.STRAIGHT_TOP_SHAPESstatic final EnumProperty<Direction> PointedDripstoneBlock.VERTICAL_DIRECTIONstatic final Map<Direction, EnumProperty<WallShape>> PaleMossCarpetBlock.WALL_SHAPE_PROPERTIES_BY_DIRECTIONstatic final Map<Direction, EnumProperty<WallShape>> WallBlock.WALL_SHAPE_PROPERTIES_BY_DIRECTIONprivate static final Map<Direction, VoxelShape> WallBlock.WALL_SHAPES_FOR_TALL_TEST_BY_DIRECTIONMethods in net.minecraft.block that return DirectionModifier and TypeMethodDescriptionprotected static DirectionLanternBlock.attachedDirection(BlockState state) MultifaceGrower.GrowPos.face()Returns the value of thefacerecord component.SideChaining.Neighbors.facing()Returns the value of thefacingrecord 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) ShelfBlock.getFacing(BlockState state) SideChaining.getFacing(BlockState state) ChestBlock.getNeighborChestDirection(World world, BlockPos pos, Direction neighborOffset) static DirectionBedBlock.getOppositePartDirection(BlockState state) private static DirectionBellBlock.getPlacementSide(BlockState state) static DirectionJigsawBlock.getRotation(BlockState state) Methods in net.minecraft.block that return types with arguments of type DirectionModifier and TypeMethodDescriptionMultifaceBlock.collectDirections(BlockState state) MultifaceBlock.flagToDirections(byte flag) Methods in net.minecraft.block with parameters of type DirectionModifier and TypeMethodDescriptionprivate static voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, int color, Direction perpendicular, Direction direction, float minOffset, float maxOffset) booleanWallHangingSignBlock.canAttachTo(WorldView world, BlockState state, BlockPos toPos, Direction direction) booleanFenceBlock.canConnect(BlockState state, boolean neighborIsFullSquare, Direction dir) booleanComposterBlock.ComposterInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanComposterBlock.DummyInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanComposterBlock.FullComposterInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanMultifaceGrower.canGrow(BlockState state, BlockView world, BlockPos pos, Direction direction) default booleanMultifaceGrower.GrowChecker.canGrow(BlockState state, Direction direction) protected booleanMultifaceGrower.LichenGrowChecker.canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) booleanSculkVeinBlock.SculkVeinGrowChecker.canGrow(BlockView world, BlockPos pos, BlockPos growPos, Direction direction, BlockState state) static booleanstatic booleanMultifaceBlock.canGrowOn(BlockView world, Direction direction, BlockPos pos, BlockState state) private static booleanPaleMossCarpetBlock.canGrowOnFace(BlockView world, BlockPos pos, Direction direction) booleanMultifaceBlock.canGrowWithDirection(BlockView world, BlockState state, BlockPos pos, Direction direction) protected booleanMultifaceBlock.canHaveDirection(Direction direction) booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.static booleanAbstractFireBlock.canPlaceAt(World world, BlockPos pos, Direction direction) static booleanWallMountedBlock.canPlaceAt(WorldView world, BlockPos pos, Direction direction) static booleanWallTorchBlock.canPlaceAt(WorldView world, BlockPos pos, Direction facing) private static booleanPointedDripstoneBlock.canPlaceAtWithDirection(WorldView world, BlockPos pos, Direction direction) private booleanLadderBlock.canPlaceOn(BlockView world, BlockPos pos, Direction side) static booleanFenceGateBlock.canWallConnect(BlockState state, Direction side) protected static booleanRedstoneWireBlock.connectsTo(BlockState state, @Nullable Direction dir) static BlockEntityPistonExtensionBlock.createBlockEntityPiston(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) static voidprivate static voidCommandBlock.executeCommandChain(ServerWorld world, BlockPos pos, Direction facing) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, float spawnAngle) BedBlock.findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection) static BlockStateCopperChestBlock.fromCopperBlock(Block block, Direction facing, World world, BlockPos pos) private static int[][]BedBlock.getAroundAndOnBedOffsets(Direction bedDirection, Direction respawnDirection) private static int[][]BedBlock.getAroundBedOffsets(Direction bedDirection, Direction respawnDirection) private @Nullable ItemFrameEntityComparatorBlock.getAttachedItemFrame(World world, Direction facing, BlockPos pos) int[]ComposterBlock.ComposterInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.int[]ComposterBlock.DummyInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.int[]ComposterBlock.FullComposterInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.protected ChestTypeChestBlock.getChestType(World world, BlockPos pos, Direction facing) intAbstractBlock.AbstractBlockState.getComparatorOutput(World world, BlockPos pos, Direction direction) protected intAbstractBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intAbstractFurnaceBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intBarrelBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intBeehiveBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intBrewingStandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intBulbBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intCandleCakeBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intChestBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intChiseledBookshelfBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intCommandBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intComposterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intCopperGolemStatueBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intCrafterBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intCreakingHeartBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intDecoratedPotBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intDetectorRailBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intDispenserBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intEndPortalFrameBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intHopperBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intJukeboxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intLavaCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intLecternBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intLeveledCauldronBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intRespawnAnchorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intSculkSensorBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intShelfBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.protected intShulkerBoxBlock.getComparatorOutput(BlockState state, World world, BlockPos pos, Direction direction) Returns the comparator output of the block, from0to15.AbstractBlock.AbstractBlockState.getCullingFace(Direction direction) PointedDripstoneBlock.getDirectionToPlaceAt(WorldView world, BlockPos pos, Direction direction) private static DirectionBedBlock.getDirectionTowardsOtherPart(BedPart part, Direction direction) static BooleanPropertyVineBlock.getFacingProperty(Direction direction) MultifaceGrower.getGrowPos(BlockState state, BlockView world, BlockPos pos, Direction oldDirection, Direction newDirection, MultifaceGrower.GrowPosPredicate predicate) abstract MultifaceGrower.GrowPosMultifaceGrower.GrowType.getGrowPos(BlockPos pos, Direction newDirection, Direction oldDirection) InteractibleSlotContainer.getHitPosOnFront(BlockHitResult hitResult, Direction facing) default OptionalIntInteractibleSlotContainer.getHitSlot(BlockHitResult hitResult, Direction facing) ChestBlock.getNeighborChestDirection(World world, BlockPos pos, Direction neighborOffset) private SideChaining.NeighborsSideChaining.getNeighbors(WorldAccess world, BlockPos pos, Direction facing) private static int[][]BedBlock.getOnBedOffsets(Direction bedDirection) private SideChaining.NeighborSideChaining.Neighbors.getOrCreateNeighbor(Direction direction, Integer distance) static BooleanPropertyMultifaceBlock.getProperty(Direction direction) private WireConnectionRedstoneWireBlock.getRenderConnectionType(BlockView world, BlockPos pos, Direction direction) private WireConnectionRedstoneWireBlock.getRenderConnectionType(BlockView world, BlockPos pos, Direction direction, boolean bool) AbstractBlock.AbstractBlockState.getStateForNeighborUpdate(WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Gets the possibly updated block state of this block when a neighboring block is updated.protected BlockStateAbstractBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractCoralBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPlantStemBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractPressurePlateBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractRailBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAbstractTorchBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAmethystClusterBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateAttachedStemBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBambooBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBambooShootBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBannerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBarrierBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBedBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBeehiveBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBellBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBigDripleafBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBigDripleafStemBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.BrushableBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateBubbleColumnBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCactusBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCakeBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCampfireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCandleBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCandleCakeBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCarpetBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChainBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChestBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChorusFlowerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateChorusPlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCocoaBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.ComparatorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateConcretePowderBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateConduitBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCopperChestBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCopperGolemStatueBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralBlockBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralFanBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateCreakingHeartBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDeadCoralWallFanBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDecoratedPotBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDirtPathBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDoorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateDriedGhastBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateEnderChestBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFallingBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFarmlandBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFenceBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFenceGateBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFlowerPotBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFluidBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateFrogspawnBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateGrateBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingMossBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingRootsBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHangingSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateHeavyCoreBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLadderBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLanternBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLeavesBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLightBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateLightningRodBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMagmaBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMangroveRootsBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMultifaceBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateMushroomBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateNetherPortalBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateNoteBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateObserverBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePaleMossCarpetBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePaneBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePistonHeadBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.PitcherCropBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePointedDripstoneBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStatePropaguleBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateRedstoneWireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateRepeaterBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateScaffoldingBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSculkSensorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSculkShriekerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSeagrassBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSeaPickleBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateShelfBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSlabBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSmallDripleafBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSnowBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSnowyBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSoulFireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSoulSandBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSporeBlossomBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateStairsBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateSugarCaneBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTallPlantBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTrapdoorBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTripwireBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateTripwireHookBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateVineBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallBannerBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallHangingSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallMountedBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallRedstoneTorchBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallSignBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.protected BlockStateWallTorchBlock.getStateForNeighborUpdate(BlockState state, WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random) Returns the state of the block after a neighboring block's state change.MultifaceGrower.GrowChecker.getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) MultifaceGrower.LichenGrowChecker.getStateWithDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) private BlockStateWallBlock.getStateWithNeighbor(WorldView world, BlockPos pos, BlockState state, BlockPos neighborPos, BlockState neighborState, Direction direction) intAbstractBlock.AbstractBlockState.getStrongRedstonePower(BlockView world, BlockPos pos, Direction direction) protected intAbstractBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intAbstractPressurePlateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intAbstractRedstoneGateBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intButtonBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intDetectorRailBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLecternBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLeverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intLightningRodBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intObserverBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intRedstoneTorchBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intRedstoneWireBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.intSculkSensorBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intTrappedChestBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.protected intTripwireHookBlock.getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the strong redstone power emitted from the block.private static ThicknessPointedDripstoneBlock.getThickness(WorldView world, BlockPos pos, Direction direction, boolean tryMerge) static @Nullable EnumProperty<WallShape> PaleMossCarpetBlock.getWallShape(Direction face) intAbstractBlock.AbstractBlockState.getWeakRedstonePower(BlockView world, BlockPos pos, Direction direction) protected intAbstractBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intAbstractPressurePlateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intAbstractRedstoneGateBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intButtonBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.intCalibratedSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intDaylightDetectorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intDetectorRailBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.intJukeboxBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLecternBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLeverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intLightningRodBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intObserverBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intRedstoneWireBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intSculkSensorBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTargetBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.intTestBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTrappedChestBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intTripwireHookBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.protected intWallRedstoneTorchBlock.getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction) Returns the weak redstone power emitted from the block.static voidBigDripleafBlock.grow(WorldAccess world, Random random, BlockPos pos, Direction direction) private longMultifaceGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, boolean markForPostProcessing) MultifaceGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction oldDirection, Direction newDirection, boolean markForPostProcessing) MultifaceGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing) static booleanMultifaceBlock.hasDirection(BlockState state, Direction direction) default booleanMultifaceGrower.GrowChecker.hasDirection(BlockState state, Direction direction) private static intAbstractBlock.AbstractBlockState.ShapeCache.indexSolidSide(Direction direction, SideShapeType shapeType) private static booleanStairsBlock.isDifferentOrientation(BlockState state, BlockView world, BlockPos pos, Direction dir) static booleanBlock.isFaceFullSquare(VoxelShape shape, Direction side) static booleanPistonBlock.isMovable(BlockState state, World world, BlockPos pos, Direction direction, boolean canBreak, Direction pistonDir) private static booleanPointedDripstoneBlock.isPointedDripstoneFacingDirection(BlockState state, Direction direction) private booleanBellBlock.isPointOnBell(BlockState state, Direction side, double y) booleanAbstractBlock.AbstractBlockState.isSideInvisible(BlockState state, Direction direction) protected booleanAbstractBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanFluidBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanMangroveRootsBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanPaneBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanPowderSnowBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) protected booleanTranslucentBlock.isSideInvisible(BlockState state, BlockState stateFrom, Direction direction) booleanAbstractBlock.AbstractBlockState.isSideSolid(BlockView world, BlockPos pos, Direction direction, SideShapeType shapeType) booleanAbstractBlock.AbstractBlockState.ShapeCache.isSideSolid(Direction direction, SideShapeType shapeType) booleanAbstractBlock.AbstractBlockState.isSideSolidFullSquare(BlockView world, BlockPos pos, Direction direction) final booleanAbstractBlock.AbstractBlockState.isSolidSurface(BlockView world, BlockPos pos, Entity entity, Direction direction) private static booleanChorusFlowerBlock.isSurroundedByAir(WorldView world, BlockPos pos, @Nullable Direction exceptDirection) private static booleanPointedDripstoneBlock.isTip(BlockState state, Direction direction) abstract booleanSideShapeType.matches(BlockState state, BlockView world, BlockPos pos, Direction direction) private booleanprivate static voidPointedDripstoneBlock.place(WorldAccess world, BlockPos pos, Direction direction, Thickness thickness) protected static booleanBigDripleafBlock.placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) protected static booleanBigDripleafStemBlock.placeStemAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction) booleanbooleanbooleanTripwireBlock.shouldConnectTo(BlockState state, Direction facing) static booleanVineBlock.shouldConnectTo(BlockView world, BlockPos pos, Direction direction) private booleanWallBlock.shouldConnectTo(BlockState state, boolean faceFullSquare, Direction side) static booleanBlock.shouldDrawSide(BlockState state, BlockState otherState, Direction side) private booleanPistonBlock.shouldExtend(RedstoneView world, BlockPos pos, Direction pistonFace) private booleanVineBlock.shouldHaveSide(BlockView world, BlockPos pos, Direction side) private static booleanAbstractFireBlock.shouldLightPortalAt(World world, BlockPos pos, Direction direction) static booleanBlock.sideCoversSmallSquare(WorldView world, BlockPos pos, Direction side) private static voidPointedDripstoneBlock.tryGrow(ServerWorld world, BlockPos pos, Direction direction) private static voidTripwireHookBlock.updateNeighborsOnAxis(Block block, World world, BlockPos pos, Direction direction) MultifaceBlock.withDirection(BlockState state, BlockView world, BlockPos pos, Direction direction) Method parameters in net.minecraft.block with type arguments of type DirectionModifier and TypeMethodDescriptiondefault Function<BlockState, VoxelShape> Segmented.createShapeFunction(EnumProperty<Direction> directionProperty, IntProperty segmentAmountProperty) static byteMultifaceBlock.directionsToFlag(Collection<Direction> directions) Fertilizable.findPosToSpreadTo(List<Direction> directions, WorldView world, BlockPos pos, BlockState state) default BlockStateSegmented.getPlacementState(ItemPlacementContext context, Block block, IntProperty amountProperty, EnumProperty<Direction> directionProperty) private BlockStateMultifaceBlock.mirror(BlockState state, Function<Direction, Direction> mirror) private BlockStateMultifaceBlock.mirror(BlockState state, Function<Direction, Direction> mirror) static booleanSculkVeinBlock.place(WorldAccess world, BlockPos pos, BlockState state, Collection<Direction> directions) default booleanSculkSpreadable.spread(WorldAccess world, BlockPos pos, BlockState state, @Nullable Collection<Direction> directions, boolean markForPostProcessing) static <S extends BlockEntity>
DoubleBlockProperties.PropertySource<S> DoubleBlockProperties.toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState, DoubleBlockProperties.Type> typeMapper, Function<BlockState, Direction> directionMapper, Property<Direction> facingProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess, BlockPos> fallbackTester) Constructors in net.minecraft.block with parameters of type DirectionModifierConstructorDescriptionprotectedAbstractPlantBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protectedAbstractPlantPartBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater) protectedAbstractPlantStemBlock(AbstractBlock.Settings settings, Direction growthDirection, VoxelShape outlineShape, boolean tickWater, double growthChance) Neighbors(SideChaining sideChaining, WorldAccess worldAccess, Direction direction, BlockPos blockPos, Map<BlockPos, SideChaining.Neighbor> map) -
Uses of Direction in net.minecraft.block.dispenser
Methods in net.minecraft.block.dispenser with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidItemDispenserBehavior.spawnItem(World world, ItemStack stack, int speed, Direction side, Position pos) protected voidItemDispenserBehavior.spawnParticles(BlockPointer pointer, Direction side) private static voidItemDispenserBehavior.syncActivatesEvent(BlockPointer pointer, Direction side) -
Uses of Direction in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as DirectionModifier and TypeFieldDescriptionprivate DirectionHopperBlockEntity.facingprivate DirectionPistonBlockEntity.facingBrushableBlockEntity.hitDirectionBellBlockEntity.lastSideHitFields in net.minecraft.block.entity with type parameters of type DirectionModifier and TypeFieldDescriptionSculkSpreadManager.Cursor.DIRECTION_SET_CODECprivate static final ThreadLocal<Direction> PistonBlockEntity.ENTITY_MOVEMENT_DIRECTIONSculkSpreadManager.Cursor.facesMethods in net.minecraft.block.entity that return DirectionModifier and TypeMethodDescriptionPistonBlockEntity.getDirection()PistonBlockEntity.getFacing()BrushableBlockEntity.getHitDirection()DecoratedPotBlockEntity.getHorizontalFacing()PistonBlockEntity.getMovementDirection()Methods in net.minecraft.block.entity that return types with arguments of type DirectionMethods in net.minecraft.block.entity with parameters of type DirectionModifier and TypeMethodDescriptionvoidRings the bell in a given direction.booleanBrushableBlockEntity.brush(long worldTime, ServerWorld world, LivingEntity brusher, Direction hitDirection, ItemStack brush) booleanAbstractFurnaceBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanBrewingStandBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity.canExtract(Inventory hopperInventory, Inventory fromInventory, ItemStack stack, int slot, Direction facing) booleanShulkerBoxBlockEntity.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.private static booleanHopperBlockEntity.canInsert(Inventory inventory, ItemStack stack, int slot, @Nullable Direction side) booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.private static booleanSculkSpreadManager.Cursor.canSpread(WorldAccess world, BlockPos pos, Direction direction) private static booleanint[]AbstractFurnaceBlockEntity.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.int[]BrewingStandBlockEntity.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.private static int[]HopperBlockEntity.getAvailableSlots(Inventory inventory, Direction side) int[]ShulkerBoxBlockEntity.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side.private static Vec3dVaultBlockEntity.Client.getConnectedParticlesOrigin(BlockPos pos, Direction direction) private static doublePistonBlockEntity.getIntersectionSize(Box box, Direction direction, Box box2) private static booleanHopperBlockEntity.isInventoryFull(Inventory inventory, Direction direction) private static voidPistonBlockEntity.moveEntity(Direction direction, Entity entity, double distance, Direction movementDirection) private static voidbooleanEndGatewayBlockEntity.shouldDrawSide(Direction direction) booleanEndPortalBlockEntity.shouldDrawSide(Direction direction) private static ItemStackHopperBlockEntity.transfer(@Nullable Inventory from, Inventory to, ItemStack stack, int slot, @Nullable Direction side) static ItemStackHopperBlockEntity.transfer(@Nullable Inventory from, Inventory to, ItemStack stack, @Nullable Direction side) Constructors in net.minecraft.block.entity with parameters of type DirectionModifierConstructorDescriptionPistonBlockEntity(BlockPos pos, BlockState state, BlockState pushedBlock, Direction facing, boolean extending, boolean source) Constructor parameters in net.minecraft.block.entity with type arguments of type Direction -
Uses of Direction in net.minecraft.block.enums
Fields in net.minecraft.block.enums declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionOrientation.facingprivate final DirectionDoubleBlockHalf.oppositeDirectionprivate final DirectionOrientation.rotationMethods in net.minecraft.block.enums that return DirectionModifier and TypeMethodDescriptionOrientation.getFacing()DoubleBlockHalf.getOppositeDirection()Orientation.getRotation()Methods in net.minecraft.block.enums with parameters of type DirectionModifier and TypeMethodDescriptionstatic OrientationOrientation.byDirections(Direction facing, Direction rotation) private static intConstructors in net.minecraft.block.enums with parameters of type DirectionModifierConstructorDescriptionprivateDoubleBlockHalf(Direction oppositeDirection) privateOrientation(String name, Direction facing, Direction rotation) -
Uses of Direction in net.minecraft.block.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.data
Fields in net.minecraft.client.data with type parameters of type DirectionModifier and TypeFieldDescriptionprivate static final Map<Direction, ModelVariantOperator> BlockStateModelGenerator.CONNECTION_VARIANT_FUNCTIONSA map from a boolean property about connection on one direction to a function that creates a block state variant for connection on that direction with a given connection model.Methods in net.minecraft.client.data with parameters of type DirectionModifier and TypeMethodDescriptionprivate static MultipartModelConditionBlockStateModelGenerator.createSideChainModelCondition(Direction facing, @Nullable Boolean powered, @Nullable SideChainPart sideChain) private WeightedVariantBlockStateModelGenerator.getDripstoneVariant(Direction direction, Thickness thickness) Method parameters in net.minecraft.client.data with type arguments of type DirectionModifier and TypeMethodDescriptionprivate static <T extends Property<?>>
Map<T, ModelVariantOperator> BlockStateModelGenerator.collectMultifaceOperators(State<?, ?> state, Function<Direction, T> propertyGetter) private static voidBlockStateModelGenerator.forEachHorizontalDirection(BiConsumer<Direction, ModelVariantOperator> biConsumer) -
Uses of Direction in net.minecraft.client.model
Fields in net.minecraft.client.model with type parameters of type DirectionMethods in net.minecraft.client.model that return DirectionModifier and TypeMethodDescriptionprivate static DirectionModelPart.Quad.getMirrorDirection(Direction direction) Methods in net.minecraft.client.model with parameters of type DirectionModifier and TypeMethodDescriptionprivate static DirectionModelPart.Quad.getMirrorDirection(Direction direction) Method parameters in net.minecraft.client.model with type arguments of type DirectionModifier and TypeMethodDescriptionModelPartBuilder.cuboid(float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Set<Direction> directions) Constructors in net.minecraft.client.model with parameters of type DirectionModifierConstructorDescriptionQuad(ModelPart.Vertex[] vertices, float u1, float v1, float u2, float v2, float squishU, float squishV, boolean flip, Direction direction) Constructor parameters in net.minecraft.client.model with type arguments of type DirectionModifierConstructorDescriptionCuboid(int u, int v, float x, float y, float z, float sizeX, float sizeY, float sizeZ, float extraX, float extraY, float extraZ, boolean mirror, float textureWidth, float textureHeight, Set<Direction> sides) protectedModelCuboidData(@Nullable String name, float textureX, float textureY, float offsetX, float offsetY, float offsetZ, float sizeX, float sizeY, float sizeZ, Dilation extra, boolean mirror, float textureScaleX, float textureScaleY, Set<Direction> directions) -
Uses of Direction in net.minecraft.client.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.render
Fields in net.minecraft.client.render declared as DirectionModifier and TypeFieldDescriptionprivate static final Direction[]ChunkRenderingDataPreparer.DIRECTIONSMethods in net.minecraft.client.render with parameters of type DirectionModifier and TypeMethodDescription(package private) voidChunkRenderingDataPreparer.ChunkInfo.addDirection(Direction direction) (package private) booleanstatic voidVertexRendering.drawSide(Matrix4f matrix4f, VertexConsumer vertexConsumers, Direction side, float minX, float minY, float minZ, float maxX, float maxY, float maxZ, float red, float green, float blue, float alpha) private ChunkBuilder.BuiltChunkChunkRenderingDataPreparer.getRenderedChunk(long sectionPos, ChunkBuilder.BuiltChunk chunk, Direction direction) private voidCloudRenderer.method_71098(ByteBuffer byteBuffer, int int2, int int3, Direction direction, int int4) (package private) voidChunkRenderingDataPreparer.ChunkInfo.updateCullingState(byte parentCullingState, Direction from) Constructors in net.minecraft.client.render with parameters of type DirectionModifierConstructorDescription(package private)ChunkInfo(ChunkBuilder.BuiltChunk chunk, @Nullable Direction direction, int propagationLevel) -
Uses of Direction in net.minecraft.client.render.block
Fields in net.minecraft.client.render.block declared as DirectionModifier and TypeFieldDescriptionprivate 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, boolean bool) floatMovingBlockRenderState.getBrightness(Direction direction, boolean shaded) private static voidBlockModelRenderer.getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, BlockModelRenderer.LightmapCache lightmap) BlockModelRenderer.Translation.getTranslations(Direction direction) private static booleanFluidRenderer.isOppositeSideCovered(BlockState state, Direction side) private static booleanFluidRenderer.isSideCovered(Direction side, float height, BlockState state) private static booleanBlockModelRenderer.shouldDrawFace(BlockRenderView world, BlockState state, boolean cull, Direction side, BlockPos pos) static booleanFluidRenderer.shouldRenderSide(FluidState fluid, BlockState state, Direction side, FluidState fluidFromSide) private static booleanFluidRenderer.shouldSkipRendering(Direction side, float height, BlockState state) 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) -
Uses of Direction in net.minecraft.client.render.block.entity
Methods in net.minecraft.client.render.block.entity with parameters of type DirectionModifier and TypeMethodDescriptionvoidShulkerBoxBlockEntityRenderer.collectVertices(Direction facing, float openness, Set<Vector3f> vertices) private float[]BrushableBlockEntityRenderer.getTranslation(Direction direction, int dustedLevel) voidShulkerBoxBlockEntityRenderer.render(MatrixStack matrices, OrderedRenderCommandQueue queue, int light, int overlay, Direction facing, float openness, ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlay, SpriteIdentifier spriteId, int int2) static voidSkullBlockEntityRenderer.render(@Nullable Direction facing, float yaw, float poweredTicks, MatrixStack matrices, OrderedRenderCommandQueue queue, int light, SkullBlockEntityModel model, RenderLayer renderLayer, int outlineColor, ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlay) private voidBedBlockEntityRenderer.renderPart(MatrixStack matrices, OrderedRenderCommandQueue queue, Model.SinglePartModel model, Direction direction, SpriteIdentifier spriteId, int light, int overlay, boolean isFoot, ModelCommandRenderer.CrumblingOverlayCommand crumblingOverlay, int int2) private voidAbstractEndPortalBlockEntityRenderer.renderSide(EnumSet<Direction> sides, Matrix4f model, VertexConsumer vertices, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, Direction side) private static voidBedBlockEntityRenderer.setTransforms(MatrixStack matrices, boolean isFoot, Direction direction) private voidShulkerBoxBlockEntityRenderer.setTransforms(MatrixStack matrices, Direction facing, float openness) Method parameters in net.minecraft.client.render.block.entity with type arguments of type DirectionModifier and TypeMethodDescriptionprivate voidAbstractEndPortalBlockEntityRenderer.renderSide(EnumSet<Direction> sides, Matrix4f model, VertexConsumer vertices, float x1, float x2, float y1, float y2, float z1, float z2, float z3, float z4, Direction side) private voidAbstractEndPortalBlockEntityRenderer.renderSides(EnumSet<Direction> sides, Matrix4f matrix, VertexConsumer vertexConsumer) -
Uses of Direction in net.minecraft.client.render.block.entity.model
Fields in net.minecraft.client.render.block.entity.model declared as DirectionModifier and TypeFieldDescriptionBellBlockModel.BellModelState.shakeDirectionThe field for theshakeDirectionrecord component.Methods in net.minecraft.client.render.block.entity.model that return DirectionModifier and TypeMethodDescriptionBellBlockModel.BellModelState.shakeDirection()Returns the value of theshakeDirectionrecord component.Methods in net.minecraft.client.render.block.entity.model with parameters of type DirectionConstructors in net.minecraft.client.render.block.entity.model with parameters of type Direction -
Uses of Direction in net.minecraft.client.render.block.entity.state
Fields in net.minecraft.client.render.block.entity.state declared as DirectionModifier and TypeFieldDescriptionBrushableBlockEntityRenderState.faceBedBlockEntityRenderState.facingCampfireBlockEntityRenderState.facingCopperGolemStatueBlockEntityRenderState.facingDecoratedPotBlockEntityRenderState.facingShulkerBoxBlockEntityRenderState.facingSkullBlockEntityRenderState.facingBellBlockEntityRenderState.shakeDirectionFields in net.minecraft.client.render.block.entity.state with type parameters of type Direction -
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) longChunkBuilder.BuiltChunk.getOffsetSectionPos(Direction direction) booleanAbstractChunkRenderData.isVisibleThrough(Direction from, Direction to) booleanChunkOcclusionData.isVisibleThrough(Direction from, Direction to) booleanChunkRenderData.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.debug
Fields in net.minecraft.client.render.debug declared as DirectionMethods in net.minecraft.client.render.debug with parameters of type DirectionModifier and TypeMethodDescriptionprivate static voidLightDebugRenderer.drawFace(MatrixStack matrices, VertexConsumer vertexConsumer, Direction direction, double cameraX, double cameraY, double cameraZ, int x, int y, int z, Vector4f color) -
Uses of Direction in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type Direction -
Uses of Direction in net.minecraft.client.render.entity.state
Fields in net.minecraft.client.render.entity.state declared as Direction -
Uses of Direction in net.minecraft.client.render.item.model.special
Fields in net.minecraft.client.render.item.model.special declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionShulkerBoxModelRenderer.facingprivate final DirectionShulkerBoxModelRenderer.Unbaked.facingThe field for thefacingrecord component.Methods in net.minecraft.client.render.item.model.special that return DirectionModifier and TypeMethodDescriptionShulkerBoxModelRenderer.Unbaked.facing()Returns the value of thefacingrecord component.Constructors in net.minecraft.client.render.item.model.special with parameters of type DirectionModifierConstructorDescriptionShulkerBoxModelRenderer(ShulkerBoxBlockEntityRenderer blockEntityRenderer, float openness, Direction facing, SpriteIdentifier textureId) Unbaked(Identifier identifier, float float2, Direction direction) -
Uses of Direction in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionBakedQuad.faceThe field for thefacerecord component.Fields in net.minecraft.client.render.model with type parameters of type DirectionModifier and TypeFieldDescriptionModelRotation.facesModelRotation.invertedFacesBakedGeometry.Builder.sidedQuadsMethods in net.minecraft.client.render.model that return DirectionModifier and TypeMethodDescriptionprivate static DirectionBakedQuadFactory.decodeDirection(int[] rotationMatrix) BakedQuad.face()Returns the value of thefacerecord component.Methods in net.minecraft.client.render.model with parameters of type DirectionModifier and TypeMethodDescriptionstatic BakedQuadBakedQuadFactory.bake(Vector3fc from, Vector3fc to, ModelElementFace facing, Sprite sprite, Direction direction, ModelBakeSettings settings, @Nullable ModelRotation rotation, boolean shade, int lightEmission) private static BakedQuadUnbakedGeometry.bakeQuad(ModelElement element, ModelElementFace face, Sprite sprite, Direction facing, ModelBakeSettings settings) private static voidBakedQuadFactory.encodeDirection(int[] rotationMatrix, Direction direction) default Matrix4fcstatic CubeFaceprivate static int[]BakedQuadFactory.packVertexData(ModelElementFace.UV texture, AxisRotation rotation, Matrix4fc matrix4fc, Sprite sprite, Direction facing, float[] float2, AffineTransformation transform, @Nullable ModelRotation modelRotation) default Matrix4fc(package private) static ModelElementFace.UVBakedQuadFactory.setDefaultUV(Vector3fc from, Vector3fc to, Direction facing) Constructors in net.minecraft.client.render.model with parameters of type Direction -
Uses of Direction in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as DirectionModifier and TypeFieldDescriptionModelElementFace.cullFaceThe field for thecullFacerecord component.private final DirectionGeneratedItemModel.Side.directionFields in net.minecraft.client.render.model.json with type parameters of type DirectionModifier and TypeFieldDescriptionprivate final Map<Direction, ModelElementFace> ModelElement.facesThe field for thefacesrecord component.Methods in net.minecraft.client.render.model.json that return DirectionModifier and TypeMethodDescriptionModelElementFace.cullFace()Returns the value of thecullFacerecord component.ModelElementFace.Deserializer.deserializeCullFace(JsonObject jsonObject) GeneratedItemModel.Side.getDirection()private DirectionModelElement.Deserializer.getDirection(String name) Methods in net.minecraft.client.render.model.json that return types with arguments of type DirectionModifier and TypeMethodDescriptionprivate Map<Direction, ModelElementFace> ModelElement.Deserializer.deserializeFaces(JsonDeserializationContext context, JsonObject object) private Map<Direction, ModelElementFace> ModelElement.Deserializer.deserializeFacesValidating(JsonDeserializationContext context, JsonObject object) ModelElement.faces()Returns the value of thefacesrecord component.Constructors in net.minecraft.client.render.model.json with parameters of type DirectionModifierConstructorDescriptionModelElementFace(@Nullable Direction cullFace, int tintIndex, String textureId, @Nullable ModelElementFace.UV textureData, AxisRotation axisRotation) privateConstructor parameters in net.minecraft.client.render.model.json with type arguments of type DirectionModifierConstructorDescriptionModelElement(Vector3fc vector3fc, Vector3fc vector3fc2, Map<Direction, ModelElementFace> faces) ModelElement(Vector3fc vector3fc, Vector3fc vector3fc2, Map<Direction, ModelElementFace> faces, @Nullable ModelRotation rotation, boolean shade, int lightEmission) -
Uses of Direction in net.minecraft.client.render.state
Fields in net.minecraft.client.render.state declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionWorldBorderRenderState.Distance.directionThe field for thedirectionrecord component.Methods in net.minecraft.client.render.state that return DirectionModifier and TypeMethodDescriptionWorldBorderRenderState.Distance.direction()Returns the value of thedirectionrecord component.Constructors in net.minecraft.client.render.state with parameters of type Direction -
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) voidClientWorld.spawnBlockBreakingParticle(BlockPos pos, Direction direction) -
Uses of Direction in net.minecraft.entity
Methods in net.minecraft.entity that return DirectionModifier and TypeMethodDescriptionEntity.getFacing()Entity.getHorizontalFacing()Entity.getMovementDirection()LivingEntity.getSleepingDirection()Methods in net.minecraft.entity with parameters of type DirectionModifier and TypeMethodDescriptionstatic int[][]Dismounting.getDismountOffsets(Direction movementDirection) -
Uses of Direction in net.minecraft.entity.ai.pathing
Methods in net.minecraft.entity.ai.pathing with parameters of type DirectionModifier and TypeMethodDescriptionLandPathNodeMaker.getJumpOnTopNode(int x, int y, int z, int maxYStep, double lastFeetY, Direction direction, PathNodeType nodeType, BlockPos.Mutable mutablePos) LandPathNodeMaker.getPathNode(int x, int y, int z, int maxYStep, double lastFeetY, 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 DirectionModifier and TypeFieldDescriptionprivate static final DirectionAbstractDecorationEntity.DEFAULT_FACINGFields in net.minecraft.entity.decoration with type parameters of type DirectionModifier and TypeFieldDescriptionprivate static final TrackedData<Direction> AbstractDecorationEntity.FACINGMethods in net.minecraft.entity.decoration that return DirectionMethods in net.minecraft.entity.decoration with parameters of type DirectionModifier and TypeMethodDescriptionprotected abstract BoxAbstractDecorationEntity.calculateBoundingBox(BlockPos pos, Direction side) protected BoxItemFrameEntity.calculateBoundingBox(BlockPos pos, Direction side) protected voidprotected voidprotected voidAbstractDecorationEntity.setFacingInternal(Direction facing) Constructors 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 TypeMethodDescriptionprotected BoxPaintingEntity.calculateBoundingBox(BlockPos pos, Direction side) static Optional<PaintingEntity> PaintingEntity.placePainting(World world, BlockPos pos, Direction facing) Constructors in net.minecraft.entity.decoration.painting with parameters of type DirectionModifierConstructorDescriptionPaintingEntity(World world, BlockPos pos, Direction direction, RegistryEntry<PaintingVariant> variant) -
Uses of Direction in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as DirectionModifier and TypeFieldDescriptionprivate static final DirectionShulkerEntity.DEFAULT_ATTACHED_FACESilverfishEntity.WanderAndInfestGoal.directionFields in net.minecraft.entity.mob with type parameters of type DirectionModifier and TypeFieldDescriptionprotected static final TrackedData<Direction> ShulkerEntity.ATTACHED_FACEMethods in net.minecraft.entity.mob that return DirectionModifier and TypeMethodDescriptionShulkerEntity.findAttachSide(BlockPos pos) ShulkerEntity.getAttachedFace()Methods in net.minecraft.entity.mob with parameters of type DirectionModifier and TypeMethodDescriptionstatic BoxShulkerEntity.calculateBoundingBox(float scale, Direction facing, float lastExtraLength, float extraLength, Vec3d pos) static BoxShulkerEntity.calculateBoundingBox(float scale, Direction facing, float extraLength, Vec3d pos) (package private) booleanprivate voidShulkerEntity.setAttachedFace(Direction face) -
Uses of Direction in net.minecraft.entity.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 TypeMethodDescriptionDefaultMinecartController.getHorizontalFacing()MinecartController.getHorizontalFacing()AbstractBoatEntity.getMovementDirection()AbstractMinecartEntity.getMovementDirection() -
Uses of Direction in net.minecraft.fluid
Fields in net.minecraft.fluid declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionFlowableFluid.NeighborGroup.facingThe field for thefacingrecord component.Methods in net.minecraft.fluid that return DirectionModifier and TypeMethodDescriptionFlowableFluid.NeighborGroup.facing()Returns the value of thefacingrecord component.Methods in net.minecraft.fluid that return types with arguments of type DirectionModifier and TypeMethodDescriptionprotected Map<Direction, FluidState> FlowableFluid.getSpread(ServerWorld world, BlockPos pos, BlockState state) Methods in net.minecraft.fluid with parameters of type DirectionModifier and TypeMethodDescriptionbooleanEmptyFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) protected abstract booleanFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanFluidState.canBeReplacedWith(BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanLavaFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) booleanWaterFluid.canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction) private booleanFlowableFluid.canFlowThrough(BlockView world, Fluid fluid, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) private booleanFlowableFluid.canFlowThrough(BlockView world, BlockPos pos, BlockState state, Direction face, BlockPos fromPos, BlockState fromState, FluidState fluidState) protected voidFlowableFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected voidLavaFluid.flow(WorldAccess world, BlockPos pos, BlockState state, Direction direction, FluidState fluidState) protected intFlowableFluid.getMinFlowDownDistance(WorldView world, BlockPos pos, int int2, Direction direction, BlockState state, FlowableFluid.SpreadCache spreadCache) Finds the distance to the closest hole the fluid can flow down into starting with the direction specified.protected booleanFlowableFluid.isFlowBlocked(BlockView world, BlockPos pos, Direction direction) private static booleanFlowableFluid.receivesFlow(Direction face, BlockView world, BlockPos pos, BlockState state, BlockPos fromPos, BlockState fromState) Constructors in net.minecraft.fluid with parameters of type DirectionModifierConstructorDescription(package private)NeighborGroup(BlockState self, BlockState other, Direction facing) Creates an instance of aNeighborGrouprecord class. -
Uses of Direction in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type DirectionModifier and TypeMethodDescriptionbooleanSidedInventory.canExtract(int slot, ItemStack stack, Direction dir) Returns whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanReturns whether the given stack can be inserted into this inventory at the specified slot position from the given direction.int[]SidedInventory.getAvailableSlots(Direction side) Returns the available slot positions that are reachable from a given side. -
Uses of Direction in net.minecraft.item
Fields in net.minecraft.item declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionAutomaticItemPlacementContext.facingprivate final DirectionVerticallyAttachableBlockItem.verticalAttachmentDirectionMethods in net.minecraft.item that return DirectionModifier and TypeMethodDescriptionAutomaticItemPlacementContext.getHorizontalPlayerFacing()Returns the horizontal facing direction of the player.ItemUsageContext.getHorizontalPlayerFacing()Returns the horizontal facing direction of the player.AutomaticItemPlacementContext.getPlacementDirections()ItemPlacementContext.getPlacementDirections()AutomaticItemPlacementContext.getPlayerLookDirection()ItemPlacementContext.getPlayerLookDirection()ItemUsageContext.getSide()ItemPlacementContext.getVerticalPlayerLookDirection()Methods in net.minecraft.item with parameters of type DirectionModifier and TypeMethodDescriptionprotected booleanDecorationItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) protected booleanItemFrameItem.canPlaceOn(PlayerEntity player, Direction side, ItemStack stack, BlockPos pos) ArrowItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) EggItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ExperienceBottleItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) FireChargeItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) FireworkRocketItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ProjectileItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) SnowballItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) SpectralArrowItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ThrowablePotionItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) TridentItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) WindChargeItem.createEntity(World world, Position pos, ItemStack stack, Direction direction) ProjectileItem.PositionFunction.getDispensePosition(BlockPointer pointer, Direction facing) static ItemPlacementContextItemPlacementContext.offset(ItemPlacementContext context, BlockPos pos, Direction side) private static Vec3dFireworkRocketItem.position(BlockPointer pointer, Direction facing) static booleanBoneMealItem.useOnGround(ItemStack stack, World world, BlockPos blockPos, @Nullable Direction facing) Constructors in net.minecraft.item with parameters of type DirectionModifierConstructorDescriptionAutomaticItemPlacementContext(World world, BlockPos pos, Direction facing, ItemStack stack, Direction side) SignItem(Item.Settings settings, Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection) VerticallyAttachableBlockItem(Block standingBlock, Block wallBlock, Direction verticalAttachmentDirection, Item.Settings settings) -
Uses of Direction in net.minecraft.network.packet.c2s.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.particle
Methods in net.minecraft.particle with parameters of type DirectionModifier and TypeMethodDescriptionstatic voidParticleUtil.spawnParticle(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static voidParticleUtil.spawnParticles(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) -
Uses of Direction in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type DirectionModifier and TypeMethodDescriptionprivate booleanServerPlayerEntity.isBedObstructed(BlockPos pos, Direction direction) private booleanServerPlayerEntity.isBedWithinRange(BlockPos pos, Direction direction) voidDemoServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) voidServerPlayerInteractionManager.processBlockBreakingAction(BlockPos pos, PlayerActionC2SPacket.Action action, Direction direction, int worldHeight, int sequence) -
Uses of Direction in net.minecraft.server.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, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection. -
Uses of Direction in net.minecraft.state.property
Fields in net.minecraft.state.property with type parameters of type DirectionModifier and TypeFieldDescriptionstatic final EnumProperty<Direction> Properties.FACINGA property that specifies the direction a block is facing.static final EnumProperty<Direction> Properties.HOPPER_FACINGA property that specifies the direction a hopper's output faces.static final EnumProperty<Direction> Properties.HORIZONTAL_FACINGA property that specifies the direction a block is facing.static final EnumProperty<Direction> Properties.VERTICAL_DIRECTIONA property that specifies the direction a pointed dripstone is facing. -
Uses of Direction in net.minecraft.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, RegistryKey<LootTable> lootTable) private voidWoodlandMansionGenerator.LayoutGenerator.addMediumRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction connectedRoomDirection, Direction entranceDirection, WoodlandMansionGenerator.RoomPool pool, boolean staircase) private voidWoodlandMansionGenerator.LayoutGenerator.addOuterWall(List<WoodlandMansionGenerator.Piece> pieces, WoodlandMansionGenerator.GenerationPiece wallPiece, WoodlandMansionGenerator.FlagMatrix layout, Direction direction, int startI, int startJ, int endI, int endJ) private voidWoodlandMansionGenerator.LayoutGenerator.addSmallRoom(List<WoodlandMansionGenerator.Piece> pieces, BlockPos pos, BlockRotation rotation, Direction direction, WoodlandMansionGenerator.RoomPool pool) NetherFortressGenerator.Bridge.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeCrossing.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeEnd.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgePlatform.create(StructurePiecesHolder holder, int x, int y, int z, int chainLength, Direction orientation) NetherFortressGenerator.BridgeSmallCrossing.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeStairs.create(StructurePiecesHolder holder, int x, int y, int z, int chainlength, Direction orientation) NetherFortressGenerator.CorridorBalcony.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorCrossing.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorExit.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorLeftTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorNetherWartsRoom.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainlength) NetherFortressGenerator.CorridorRightTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorStairs.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.SmallCorridor.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.ChestCorridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainlength) static StrongholdGenerator.CorridorStrongholdGenerator.Corridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.FiveWayCrossing.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.LeftTurnStrongholdGenerator.LeftTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.LibraryStrongholdGenerator.Library.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.PortalRoom.create(StructurePiecesHolder holder, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.PrisonHall.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.RightTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static BlockBoxStrongholdGenerator.SmallCorridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) StrongholdGenerator.SpiralStaircase.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.SquareRoom.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.StairsStrongholdGenerator.Stairs.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static BlockBoxOceanMonumentGenerator.Piece.createBox(Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) protected static BlockBoxStructurePiece.createBox(int x, int y, int z, Direction orientation, int width, int height, int depth) (package private) static NetherFortressGenerator.PieceNetherFortressGenerator.createPiece(NetherFortressGenerator.PieceData pieceData, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.PieceStrongholdGenerator.createPiece(Class<? extends StrongholdGenerator.Piece> pieceType, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength) OceanMonumentGenerator.DoubleXRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleXYRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleYRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleYZRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.DoubleZRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.PieceFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.SimpleRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) OceanMonumentGenerator.SimpleRoomTopFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) MineshaftGenerator.MineshaftCorridor.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftCrossing.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftStairs.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) private voidWoodlandMansionGenerator.MansionParameters.layoutCorridor(WoodlandMansionGenerator.FlagMatrix layout, int i, int j, Direction direction, int length) private static MineshaftGenerator.MineshaftPartMineshaftGenerator.pickPiece(StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, MineshaftStructure.Type type) private NetherFortressGenerator.PieceNetherFortressGenerator.Piece.pickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.PieceStrongholdGenerator.pickPiece(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) (package private) static MineshaftGenerator.MineshaftPartMineshaftGenerator.pieceGenerator(StructurePiece start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private StructurePieceNetherFortressGenerator.Piece.pieceGenerator(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside) (package private) static StructurePieceStrongholdGenerator.pieceGenerator(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength) voidOceanMonumentGenerator.PieceSetting.setNeighbor(Direction orientation, OceanMonumentGenerator.PieceSetting setting) voidStructurePiece.setOrientation(@Nullable Direction orientation) Constructors in net.minecraft.structure with parameters of type DirectionModifierConstructorDescriptionprotectedBridgeCrossing(int x, int z, Direction orientation) BridgeCrossing(int chainLength, BlockBox boundingBox, Direction orientation) BridgePlatform(int chainLength, BlockBox boundingBox, Direction orientation) BridgeSmallCrossing(int chainLength, BlockBox boundingBox, Direction orientation) BridgeStairs(int chainLength, BlockBox boundingBox, Direction orientation) ChestCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CoreRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) CorridorBalcony(int chainLength, BlockBox boundingBox, Direction orientation) CorridorCrossing(int chainLength, BlockBox boundingBox, Direction orientation) CorridorExit(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorLeftTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorNetherWartsRoom(int chainLength, BlockBox boundingBox, Direction orientation) CorridorRightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorStairs(int chainLength, BlockBox boundingBox, Direction orientation) DoubleXRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleXYRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleYRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleYZRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) DoubleZRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting) Entry(Direction orientation, OceanMonumentGenerator.PieceSetting setting) FiveWayCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation) MineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) MineshaftCrossing(int chainLength, BlockBox boundingBox, @Nullable Direction orientation, MineshaftStructure.Type type) MineshaftStairs(int chainLength, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) protectedPiece(StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator.PieceSetting setting, int x, int y, int z) Piece(StructurePieceType type, Direction orientation, int length, BlockBox box) PortalRoom(int chainLength, BlockBox boundingBox, Direction orientation) PrisonHall(int chainLength, Random random, BlockBox boundingBox, Direction orientation) protectedShiftableStructurePiece(StructurePieceType type, int x, int y, int z, int width, int height, int depth, Direction orientation) SimpleRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting, Random random) SimpleRoomTop(Direction orientation, OceanMonumentGenerator.PieceSetting setting) SmallCorridor(int chainLength, BlockBox boundingBox, Direction orientation) SmallCorridor(int chainLength, BlockBox boundingBox, Direction orientation) SpiralStaircase(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SpiralStaircase(StructurePieceType structurePieceType, int chainLength, int x, int z, Direction orientation) SquareRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation) -
Uses of Direction in net.minecraft.test
Methods in net.minecraft.test that return DirectionMethods in net.minecraft.test with parameters of type DirectionModifier and TypeMethodDescriptionvoidTestContext.expectRedstonePower(BlockPos pos, Direction direction, IntPredicate powerPredicate, Supplier<Text> messageGetter) voidTestContext.setBlockFacing(BlockPos pos, Block block, Direction facing) voidTestContext.setBlockFacing(BlockPos pos, BlockState block, Direction facing) voidTestContext.useStackOnBlock(PlayerEntity player, ItemStack stack, BlockPos pos, Direction direction) -
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, boolean againstWorldBorder) BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) -
Uses of Direction in net.minecraft.util.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.EnumCodec<Direction> Direction.CODECprivate static final Map<Direction, AffineTransformation> AffineTransformations.DIRECTION_ROTATIONSEightWayDirection.directionsstatic final com.mojang.serialization.Codec<Direction> Direction.HORIZONTAL_QUARTER_TURNS_CODECDeprecated.static final com.mojang.serialization.Codec<Direction> Direction.INDEX_CODECDeprecated.static final IntFunction<Direction> Direction.INDEX_TO_VALUE_FUNCTIONprivate static final Map<Direction, AffineTransformation> AffineTransformations.INVERTED_DIRECTION_ROTATIONSDirectionTransformation.mappingsDirectionTransformation.mappingsstatic final PacketCodec<ByteBuf, Direction> Direction.PACKET_CODECstatic final com.mojang.serialization.Codec<Direction> Direction.VERTICAL_CODECMethods in net.minecraft.util.math that return DirectionModifier and TypeMethodDescriptionReturns a direction with the givenname, ornullif there is no such direction.static DirectionDirection.byIndex(int index) static DirectionDirection.from(Direction.Axis axis, Direction.AxisDirection direction) static DirectionDirection.fromHorizontalDegrees(double angle) static DirectionDirection.fromHorizontalQuarterTurns(int quarterTurns) Direction.fromVector(int x, int y, int z, @Nullable Direction fallback) Returns the closest direction of the vector, orfallbackfor zero vector.Direction.fromVector(Vec3i vec, @Nullable Direction fallback) static DirectionDirection.get(Direction.AxisDirection direction, Direction.Axis axis) VerticalSurfaceType.getDirection()Direction.Axis.getDirections()static Direction[]Direction.getEntityFacingOrder(Entity entity) static DirectionDirection.getFacing(double x, double y, double z) static DirectionDirection.getFacing(float x, float y, float z) static Directionstatic DirectionDirection.getLookDirectionForAxis(Entity entity, Direction.Axis axis) abstract DirectionDirection.Axis.getNegativeDirection()Direction.getOpposite()abstract DirectionDirection.Axis.getPositiveDirection()private static Direction[]Direction.listClosest(Direction first, Direction second, Direction third) Helper function that returns the 3 directions given, followed by the 3 opposite given in opposite order.static DirectionDirection.rotateClockwise(Direction.Axis axis) Direction.rotateCounterclockwise(Direction.Axis axis) private DirectionDirection.rotateXClockwise()private DirectionDirection.rotateXCounterclockwise()Direction.rotateYClockwise()Direction.rotateYCounterclockwise()private DirectionDirection.rotateZClockwise()private DirectionDirection.rotateZCounterclockwise()Box.traceCollisionSide(double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ, double begin, double minX, double maxX, double minZ, double maxZ, Direction resultDirection, double startX, double startY, double startZ) Box.traceCollisionSide(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) Box.traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) static Directionstatic DirectionReturns the enum constant of this class with the specified name.static Direction[]Direction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util.math that return types with arguments of type DirectionModifier and TypeMethodDescriptionEightWayDirection.getDirections()Direction.Type.getShuffled(Random random) Direction.Type.iterator()static Collection<Direction> Returns a shuffled collection of all directions.Direction.stream()Direction.Type.stream()RotationPropertyHelper.toDirection(int rotation) private static com.mojang.serialization.DataResult<Direction> Direction.validateVertical(Direction direction) Methods in net.minecraft.util.math with parameters of type DirectionModifier and TypeMethodDescriptionstatic intRotationPropertyHelper.fromDirection(Direction direction) Direction.fromVector(int x, int y, int z, @Nullable Direction fallback) Returns the closest direction of the vector, orfallbackfor zero vector.Direction.fromVector(Vec3i vec, @Nullable Direction fallback) static floatDirection.getHorizontalDegreesOrThrow(Direction direction) static AffineTransformationAffineTransformations.getTransformed(AffineTransformation affineTransformation, Direction direction) static Iterable<BlockPos.Mutable> BlockPos.iterateInSquare(BlockPos center, int radius, Direction firstDirection, Direction secondDirection) Iterates block positions around thecenterin a square of (2 * radius + 1) by (2 * radius + 1).private static Direction[]Direction.listClosest(Direction first, Direction second, Direction third) Helper function that returns the 3 directions given, followed by the 3 opposite given in opposite order.Moves this mutable block position by 1 block in the given direction.Moves this mutable block position by the given distance in the given direction.static longstatic longOffsets a packed chunk section position in the given direction.Returns a vector which is offset by1indirectiondirection.Returns a vector which is offset bydistanceindirectiondirection.static BlockBoxBlockBox.rotated(int x, int y, int z, int offsetX, int offsetY, int offsetZ, int sizeX, int sizeY, int sizeZ, Direction facing) Sets this mutable block position to the offset position of the given pos by the given direction.static BoxbooleanbooleanintRotationCalculator.toRotation(Direction direction) Box.traceCollisionSide(double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ, double begin, double minX, double maxX, double minZ, double maxZ, Direction resultDirection, double startX, double startY, double startZ) Box.traceCollisionSide(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) Box.traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double deltaX, double deltaY, double deltaZ) static Directionprivate 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 that return types with arguments of type DirectionModifier and TypeMethodDescriptionstatic Map<BlockFace, Map<Direction, VoxelShape>> VoxelShapes.createBlockFaceHorizontalFacingShapeMap(VoxelShape shape) static Map<Direction, VoxelShape> VoxelShapes.createFacingShapeMap(VoxelShape shape) static Map<Direction, VoxelShape> VoxelShapes.createFacingShapeMap(VoxelShape shape, Vec3d anchor) static Map<Direction, VoxelShape> VoxelShapes.createHorizontalFacingShapeMap(VoxelShape shape) static Map<Direction, VoxelShape> VoxelShapes.createHorizontalFacingShapeMap(VoxelShape shape, Vec3d anchor) Methods in net.minecraft.util.shape with parameters of type DirectionModifier and TypeMethodDescriptionstatic booleanVoxelShapes.adjacentSidesCoverSquare(VoxelShape one, VoxelShape two, Direction direction) voidprivate VoxelShapeVoxelShape.getUncachedFace(Direction facing) static booleanVoxelShapes.isSideCovered(VoxelShape shape, VoxelShape neighbor, Direction direction) -
Uses of Direction in net.minecraft.world
Fields in net.minecraft.world declared as DirectionMethods in net.minecraft.world with parameters of type DirectionModifier and TypeMethodDescriptionprivate static booleanExperimentalRedstoneController.canProvidePowerTo(BlockState wireState, Direction direction) BlockLocating.findColumnEnd(BlockView world, BlockPos pos, Block intermediateBlock, Direction direction, Block endBlock) Finds an end to a block column starting fromposextending indirection.floatBlockRenderView.getBrightness(Direction direction, boolean shaded) floatChunkRegion.getBrightness(Direction direction, boolean shaded) floatEmptyBlockRenderView.getBrightness(Direction direction, boolean shaded) default intRedstoneView.getEmittedRedstonePower(BlockPos pos, Direction direction) default intRedstoneView.getEmittedRedstonePower(BlockPos pos, Direction direction, boolean onlyFromGate) default intRedstoneView.getStrongRedstonePower(BlockPos pos, Direction direction) booleanWorld.isDirectionSolid(BlockPos pos, Entity entity, Direction direction) default booleanRedstoneView.isEmittingRedstonePower(BlockPos pos, Direction direction) private static intBlockLocating.moveWhile(Predicate<BlockPos> predicate, BlockPos.Mutable pos, Direction direction, int max) voidWorld.replaceWithStateForNeighborUpdate(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) default voidWorldAccess.replaceWithStateForNeighborUpdate(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) voidWorld.updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable WireOrientation orientation) Emits a neighbor update to neighboring blocks ofpos, except for the one indirectiondirection. -
Uses of Direction in net.minecraft.world.block
Fields in net.minecraft.world.block declared as DirectionModifier and TypeFieldDescriptionprivate final DirectionChainRestrictedNeighborUpdater.StateReplacementEntry.directionThe field for thedirectionrecord component.ChainRestrictedNeighborUpdater.SixWayEntry.exceptprivate final DirectionWireOrientation.frontprivate final DirectionWireOrientation.rightprivate final DirectionWireOrientation.upstatic final Direction[]NeighborUpdater.UPDATE_ORDERFields in net.minecraft.world.block with type parameters of type DirectionModifier and TypeFieldDescriptionWireOrientation.directionsByPriorityWireOrientation.horizontalDirectionsprivate final Map<Direction, WireOrientation> WireOrientation.siblingsByFrontprivate final Map<Direction, WireOrientation> WireOrientation.siblingsByUpWireOrientation.verticalDirectionsMethods in net.minecraft.world.block that return DirectionModifier and TypeMethodDescriptionChainRestrictedNeighborUpdater.StateReplacementEntry.direction()Returns the value of thedirectionrecord component.WireOrientation.getFront()WireOrientation.getRight()WireOrientation.getUp()Methods in net.minecraft.world.block that return types with arguments of type DirectionModifier and TypeMethodDescriptionWireOrientation.getDirectionsByPriority()WireOrientation.getHorizontalDirections()WireOrientation.getVerticalDirections()Methods in net.minecraft.world.block with parameters of type DirectionModifier and TypeMethodDescriptionstatic @Nullable WireOrientationOrientationHelper.getEmissionOrientation(World world, @Nullable Direction up, @Nullable Direction front) static WireOrientationWireOrientation.of(Direction up, Direction front, WireOrientation.SideBias sideBias) protected static intWireOrientation.ordinalFromComponents(Direction up, Direction front, WireOrientation.SideBias sideBias) voidChainRestrictedNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) static voidNeighborUpdater.replaceWithStateForNeighborUpdate(WorldAccess world, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth) voidSimpleNeighborUpdater.replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) voidChainRestrictedNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) default voidNeighborUpdater.updateNeighbors(BlockPos pos, Block sourceBlock, @Nullable Direction except, @Nullable WireOrientation orientation) WireOrientation.withFrontAndSideBias(Direction direction) WireOrientation.withFrontIfNotUp(Direction direction) static @Nullable WireOrientationOrientationHelper.withFrontNullable(@Nullable WireOrientation orientation, Direction direction) Constructors in net.minecraft.world.block with parameters of type DirectionModifierConstructorDescription(package private)SixWayEntry(BlockPos pos, Block sourceBlock, @Nullable WireOrientation orientation, @Nullable Direction except) (package private)StateReplacementEntry(Direction direction, BlockState blockState, BlockPos blockPos, BlockPos blockPos2, int int2, int int3) privateWireOrientation(Direction up, Direction front, WireOrientation.SideBias sideBias) -
Uses of Direction in net.minecraft.world.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 TypeFieldDescriptionprotected static final Direction[]ChunkLightProvider.DIRECTIONSMethods in net.minecraft.world.chunk.light with parameters of type DirectionModifier and TypeMethodDescriptionprivate static longChunkLightProvider.PackedInfo.clearDirectionBit(long packed, Direction direction) private static booleanChunkSkyLightProvider.exitsChunkXZ(Direction direction, int localX, int localZ) static VoxelShapeChunkLightProvider.getOpaqueShape(BlockState state, Direction direction) static intChunkLightProvider.getRealisticOpacity(BlockState state1, BlockState state2, Direction direction, int opacity2) static booleanChunkLightProvider.PackedInfo.isDirectionBitSet(long packed, Direction direction) private voidChunkSkyLightProvider.method_51587(long blockPos, Direction direction, int lightLevel, boolean bool, int int2) static longChunkLightProvider.PackedInfo.packWithOneDirectionCleared(int lightLevel, boolean trivial, Direction direction) static longChunkLightProvider.PackedInfo.packWithOneDirectionCleared(int lightLevel, Direction direction) static longChunkLightProvider.PackedInfo.packWithRepropagate(int lightLevel, boolean trivial, Direction direction) private static longChunkLightProvider.PackedInfo.setDirectionBit(long packed, Direction direction) protected booleanChunkLightProvider.shapesCoverFullCube(BlockState source, BlockState target, Direction direction) -
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 DirectionModifier and TypeMethodDescriptionprivate static intNetherPortal.getHeight(BlockView world, BlockPos lowerCorner, Direction negativeDir, int width, MutableInt foundPortalBlocks) NetherPortal.getLowerCorner(BlockView world, Direction direction, BlockPos pow) private static intNetherPortal.getPotentialHeight(BlockView world, BlockPos lowerCorner, Direction negativeDir, BlockPos.Mutable pos, int width, MutableInt foundPortalBlocks) private static intNetherPortal.getValidatedWidth(BlockView world, BlockPos lowerCorner, Direction negativeDir) private static intprivate static booleanNetherPortal.isHorizontalFrameValid(BlockView world, BlockPos lowerCorner, Direction direction, BlockPos.Mutable pos, int width, int height) private booleanPortalForcer.isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal) Constructors in net.minecraft.world.dimension with parameters of type DirectionModifierConstructorDescriptionprivateNetherPortal(Direction.Axis axis, int foundPortalBlocks, Direction negativeDir, BlockPos lowerCorner, int width, int height) -
Uses of Direction in net.minecraft.world.gen.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 booleanFallenTreeFeature.canPlaceLog(StructureWorldAccess world, int length, BlockPos.Mutable pos, Direction direction) private static Function<BlockState, BlockState> FallenTreeFeature.createAxisApplier(Direction direction) private static RegistryEntry<PlacedFeature> UndergroundConfiguredFeatures.createBigDripleafFeature(Direction direction) private voidFallenTreeFeature.generateLog(FallenTreeFeatureConfig config, StructureWorldAccess world, Random random, int length, BlockPos.Mutable pos, 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) private static Pool.Builder<BlockState> VegetationConfiguredFeatures.segmentedBlock(Block block, int min, int max, IntProperty amountProperty, EnumProperty<Direction> facingProperty) 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 DirectionModifier and TypeFieldDescriptionAttachedToLeavesTreeDecorator.directionsAttachedToLogsTreeDecorator.directionsMethods 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) AttachedToLogsTreeDecorator(float probability, BlockStateProvider blockProvider, 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 FoliagePlacer.TreeNodeCherryTrunkPlacer.generateBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos.Mutable mutablePos) private voidUpwardsBranchingTrunkPlacer.generateExtraBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps)