Uses of Enum Class
net.minecraft.util.Direction
Package
Description
-
Uses of Direction in net.minecraft.block
Modifier and TypeFieldDescriptionprivate final Direction
Block.RenderSideCacheKey.direction
private static final Direction[]
AbstractBlock.AbstractBlockState.Cache.DIRECTIONS
private static final Direction[]
SixWayBlock.DIRECTIONS
protected final Direction
AbstractPlantBlock.growthDirection
private final Direction
PistonBlockStructureHelper.pistonDirection
private final Direction
PistonBlockStructureHelper.pushDirection
private final Direction
PortalSize.rightDir
private static final Direction[]
BeehiveBlock.SPAWN_DIRECTIONS
protected static final Direction[]
AbstractBlock.UPDATE_SHAPE_ORDER
Modifier and TypeFieldDescriptionprivate static final Map<Direction,
VoxelShape> AttachedStemBlock.AABBS
private static final Map<Direction,
VoxelShape> WallSignBlock.AABBS
private static final Map<Direction,
VoxelShape> WallSkullBlock.AABBS
private static final Map<Direction,
VoxelShape> WallTorchBlock.AABBS
static final EnumProperty<Direction>
ShulkerBoxBlock.FACING
private static final Map<Direction,
BooleanProperty> FireBlock.PROPERTY_BY_DIRECTION
protected static final Map<Direction,
BooleanProperty> FourWayBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> HugeMushroomBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
EnumProperty<RedstoneSide>> RedstoneWireBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
BooleanProperty> SixWayBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> TripWireBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
BooleanProperty> VineBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
VoxelShape> DeadCoralWallFanBlock.SHAPES
private static final Map<Direction,
VoxelShape> WallBannerBlock.SHAPES
private static final Map<Direction,
VoxelShape> RedstoneWireBlock.SHAPES_FLOOR
private static final Map<Direction,
VoxelShape> RedstoneWireBlock.SHAPES_UP
Modifier and TypeMethodDescriptionprivate Direction
ChestBlock.candidatePartnerFacing
(BlockItemUseContext p_196312_1_, Direction p_196312_2_) static Direction
BedBlock.getBedOrientation
(IBlockReader p_220174_0_, BlockPos p_220174_1_) static Direction
BedBlock.getConnectedDirection
(BlockState p_226862_0_) private static Direction
BellBlock.getConnectedDirection
(BlockState p_220131_0_) static Direction
ChestBlock.getConnectedDirection
(BlockState p_196311_0_) protected static Direction
HorizontalFaceBlock.getConnectedDirection
(BlockState p_196365_0_) protected static Direction
LanternBlock.getConnectedDirection
(BlockState p_220277_0_) static Direction
JigsawBlock.getFrontFacing
(BlockState p_235508_0_) private static Direction
BedBlock.getNeighbourDirection
(BedPart p_208070_0_, Direction p_208070_1_) static Direction
BeehiveBlock.getRandomOffset
(Random p_235331_0_) static Direction
JigsawBlock.getTopFacing
(BlockState p_235509_0_) Modifier and TypeMethodDescriptionprivate boolean
PistonBlockStructureHelper.addBlockLine
(BlockPos p_177251_1_, Direction p_177251_2_) private static boolean
ChorusFlowerBlock.allNeighborsEmpty
(IWorldReader p_185604_0_, BlockPos p_185604_1_, Direction p_185604_2_) boolean
BellBlock.attemptToRing
(World p_226885_1_, BlockPos p_226885_2_, Direction p_226885_3_) private static int[][]
BedBlock.bedAboveStandUpOffsets
(Direction p_242655_0_) private static int[][]
BedBlock.bedStandUpOffsets
(Direction p_242656_0_, Direction p_242656_1_) private static int[][]
BedBlock.bedSurroundStandUpOffsets
(Direction p_242658_0_, Direction p_242658_1_) private static VoxelShape
PistonHeadBlock.calculateShape
(Direction p_242693_0_, boolean p_242693_1_) static boolean
HorizontalFaceBlock.canAttach
(IWorldReader p_220185_0_, BlockPos p_220185_1_, Direction p_220185_2_) private boolean
LadderBlock.canAttachTo
(IBlockReader p_196471_1_, BlockPos p_196471_2_, Direction p_196471_3_) static boolean
AbstractFireBlock.canBePlacedAt
(World p_241465_0_, BlockPos p_241465_1_, Direction p_241465_2_) boolean
FireBlock.canCatchFire
(IBlockReader world, BlockPos pos, Direction face) Side sensitive version that calls the block function.protected static boolean
RedstoneWireBlock.canConnectTo
(BlockState p_176343_0_, IBlockReader world, BlockPos pos, Direction p_176343_1_) private Direction
ChestBlock.candidatePartnerFacing
(BlockItemUseContext p_196312_1_, Direction p_196312_2_) boolean
ComposterBlock.EmptyInventory.canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) boolean
ComposterBlock.FullInventory.canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) boolean
ComposterBlock.PartialInventory.canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) private boolean
VineBlock.canSupportAtFace
(IBlockReader p_196541_1_, BlockPos p_196541_2_, Direction p_196541_3_) static boolean
Block.canSupportCenter
(IWorldReader p_220055_0_, BlockPos p_220055_1_, Direction p_220055_2_) boolean
Block.canSustainPlant
(BlockState state, IBlockReader world, BlockPos pos, Direction facing, IPlantable plantable) boolean
ComposterBlock.EmptyInventory.canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) boolean
ComposterBlock.FullInventory.canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) boolean
ComposterBlock.PartialInventory.canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) private static boolean
StairsBlock.canTakeShape
(BlockState p_185704_0_, IBlockReader p_185704_1_, BlockPos p_185704_2_, Direction p_185704_3_) void
TNTBlock.catchFire
(BlockState state, World world, BlockPos pos, Direction face, LivingEntity igniter) boolean
FenceBlock.connectsTo
(BlockState p_220111_1_, boolean p_220111_2_, Direction p_220111_3_) private boolean
WallBlock.connectsTo
(BlockState p_220113_1_, boolean p_220113_2_, Direction p_220113_3_) static boolean
FenceGateBlock.connectsToDirection
(BlockState p_220253_0_, Direction p_220253_1_) final boolean
AbstractBlock.AbstractBlockState.entityCanStandOnFace
(IBlockReader p_215682_1_, BlockPos p_215682_2_, Entity p_215682_3_, Direction p_215682_4_) private static void
CommandBlockBlock.executeChain
(World p_193386_0_, BlockPos p_193386_1_, Direction p_193386_2_) BedBlock.findBunkBedStandUpPosition
(EntityType<?> p_242653_0_, ICollisionReader p_242653_1_, BlockPos p_242653_2_, Direction p_242653_3_, Direction p_242653_4_) protected int
RedstoneDiodeBlock.getAlternateSignalAt
(IWorldReader p_176401_1_, BlockPos p_176401_2_, Direction p_176401_3_) private RedstoneSide
RedstoneWireBlock.getConnectingSide
(IBlockReader p_208074_1_, BlockPos p_208074_2_, Direction p_208074_3_) private RedstoneSide
RedstoneWireBlock.getConnectingSide
(IBlockReader p_235545_1_, BlockPos p_235545_2_, Direction p_235545_3_, boolean p_235545_4_) int
AbstractBlock.AbstractBlockState.getDirectSignal
(IBlockReader p_185893_1_, BlockPos p_185893_2_, Direction p_185893_3_) int
AbstractBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) Deprecated.int
AbstractButtonBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
AbstractPressurePlateBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
DetectorRailBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
LecternBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
LeverBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
ObserverBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
RedstoneDiodeBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
RedstoneTorchBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
RedstoneWireBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
TrappedChestBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) int
TripWireHookBlock.getDirectSignal
(BlockState p_176211_1_, IBlockReader p_176211_2_, BlockPos p_176211_3_, Direction p_176211_4_) private int
PortalSize.getDistanceUntilEdgeAboveFrame
(BlockPos p_242972_1_, Direction p_242972_2_) AbstractBlock.AbstractBlockState.getFaceOcclusionShape
(IBlockReader p_215702_1_, BlockPos p_215702_2_, Direction p_215702_3_) private static int
AbstractBlock.AbstractBlockState.Cache.getFaceSupportIndex
(Direction p_242701_0_, BlockVoxelShape p_242701_1_) private ItemFrameEntity
ComparatorBlock.getItemFrame
(World p_176461_1_, Direction p_176461_2_, BlockPos p_176461_3_) private boolean
PistonBlock.getNeighborSignal
(World p_176318_1_, BlockPos p_176318_2_, Direction p_176318_3_) private static Direction
BedBlock.getNeighbourDirection
(BedPart p_208070_0_, Direction p_208070_1_) static BooleanProperty
VineBlock.getPropertyForFace
(Direction p_176267_0_) int
AbstractBlock.AbstractBlockState.getSignal
(IBlockReader p_185911_1_, BlockPos p_185911_2_, Direction p_185911_3_) int
AbstractBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) Deprecated.int
AbstractButtonBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
AbstractPressurePlateBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
DaylightDetectorBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
DetectorRailBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
LecternBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
LeverBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
ObserverBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
RedstoneBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
RedstoneDiodeBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
RedstoneTorchBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
RedstoneWallTorchBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
RedstoneWireBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
TargetBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
TrappedChestBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int
TripWireHookBlock.getSignal
(BlockState p_180656_1_, IBlockReader p_180656_2_, BlockPos p_180656_3_, Direction p_180656_4_) int[]
ComposterBlock.EmptyInventory.getSlotsForFace
(Direction p_180463_1_) int[]
ComposterBlock.FullInventory.getSlotsForFace
(Direction p_180463_1_) int[]
ComposterBlock.PartialInventory.getSlotsForFace
(Direction p_180463_1_) private static int
static boolean
VineBlock.isAcceptableNeighbour
(IBlockReader p_196542_0_, BlockPos p_196542_1_, Direction p_196542_2_) static boolean
Block.isFaceFull
(VoxelShape p_208061_0_, Direction p_208061_1_) boolean
AbstractBlock.AbstractBlockState.Cache.isFaceSturdy
(Direction p_242700_1_, BlockVoxelShape p_242700_2_) boolean
AbstractBlock.AbstractBlockState.isFaceSturdy
(IBlockReader p_224755_1_, BlockPos p_224755_2_, Direction p_224755_3_) boolean
AbstractBlock.AbstractBlockState.isFaceSturdy
(IBlockReader p_242698_1_, BlockPos p_242698_2_, Direction p_242698_3_, BlockVoxelShape p_242698_4_) private static boolean
private boolean
BellBlock.isProperHit
(BlockState p_220129_1_, Direction p_220129_2_, double p_220129_3_) static boolean
PistonBlock.isPushable
(BlockState p_185646_0_, World p_185646_1_, BlockPos p_185646_2_, Direction p_185646_3_, boolean p_185646_4_, Direction p_185646_5_) private boolean
PistonBlock.moveBlocks
(World p_176319_1_, BlockPos p_176319_2_, Direction p_176319_3_, boolean p_176319_4_) static TileEntity
MovingPistonBlock.newMovingBlockEntity
(BlockState p_196343_0_, Direction p_196343_1_, boolean p_196343_2_, boolean p_196343_3_) private void
TripWireHookBlock.notifyNeighbors
(World p_176262_1_, BlockPos p_176262_2_, Direction p_176262_3_) boolean
TripWireBlock.shouldConnectTo
(BlockState p_196536_1_, Direction p_196536_2_) static boolean
Block.shouldRenderFace
(BlockState p_176225_0_, IBlockReader p_176225_1_, BlockPos p_176225_2_, Direction p_176225_3_) private BlockState
WallBlock.sideUpdate
(IWorldReader p_235627_1_, BlockPos p_235627_2_, BlockState p_235627_3_, BlockPos p_235627_4_, BlockState p_235627_5_, Direction p_235627_6_) boolean
AbstractBlock.AbstractBlockState.skipRendering
(BlockState p_200017_1_, Direction p_200017_2_) boolean
AbstractBlock.skipRendering
(BlockState p_200122_1_, BlockState p_200122_2_, Direction p_200122_3_) Deprecated.boolean
BreakableBlock.skipRendering
(BlockState p_200122_1_, BlockState p_200122_2_, Direction p_200122_3_) boolean
FlowingFluidBlock.skipRendering
(BlockState p_200122_1_, BlockState p_200122_2_, Direction p_200122_3_) boolean
PaneBlock.skipRendering
(BlockState p_200122_1_, BlockState p_200122_2_, Direction p_200122_3_) private void
RedstoneWireBlock.spawnParticlesAlongLine
(World p_235549_1_, Random p_235549_2_, BlockPos p_235549_3_, Vector3f p_235549_4_, Direction p_235549_5_, Direction p_235549_6_, float p_235549_7_, float p_235549_8_) private void
FireBlock.tryCatchFire
(World p_176536_1_, BlockPos p_176536_2_, int p_176536_3_, Random p_176536_4_, int p_176536_5_, Direction face) AbstractBlock.AbstractBlockState.updateShape
(Direction p_196956_1_, BlockState p_196956_2_, IWorld p_196956_3_, BlockPos p_196956_4_, BlockPos p_196956_5_) AbstractBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) Deprecated.AbstractBodyPlantBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) AbstractCoralPlantBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) AbstractPressurePlateBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) AbstractSignBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) AbstractTopPlantBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) AttachedStemBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BambooBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BambooSaplingBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BannerBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BedBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BeehiveBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BellBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BubbleColumnBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) BushBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CactusBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CakeBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CampfireBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CarpetBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ChainBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ChestBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ChorusFlowerBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ChorusPlantBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CocoaBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ConcretePowderBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ConduitBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CoralBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CoralFinBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CoralPlantBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) CoralWallFanBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) DeadCoralWallFanBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) DoorBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) DoublePlantBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) EnderChestBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) FallingBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) FarmlandBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) FenceBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) FenceGateBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) FireBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) FlowerPotBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) FlowingFluidBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) GrassPathBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) HorizontalFaceBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) HugeMushroomBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) LadderBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) LanternBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) LeavesBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) MagmaBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) NetherPortalBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) NoteBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ObserverBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) PaneBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) PistonHeadBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) RedstoneWallTorchBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) RedstoneWireBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) RepeaterBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ScaffoldingBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SeaGrassBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SeaPickleBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SlabBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SnowBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SnowyDirtBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SoulFireBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SoulSandBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) StairsBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) StandingSignBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) SugarCaneBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) TorchBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) TrapDoorBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) TripWireBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) TripWireHookBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) VineBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) WallBannerBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) WallBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) WallSignBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) WallTorchBlock.updateShape
(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_) ModifierConstructorDescriptionprotected
AbstractBodyPlantBlock
(AbstractBlock.Properties p_i241179_1_, Direction p_i241179_2_, VoxelShape p_i241179_3_, boolean p_i241179_4_) protected
AbstractPlantBlock
(AbstractBlock.Properties p_i241178_1_, Direction p_i241178_2_, VoxelShape p_i241178_3_, boolean p_i241178_4_) protected
AbstractTopPlantBlock
(AbstractBlock.Properties p_i241180_1_, Direction p_i241180_2_, VoxelShape p_i241180_3_, boolean p_i241180_4_, double p_i241180_5_) PistonBlockStructureHelper
(World p_i45664_1_, BlockPos p_i45664_2_, Direction p_i45664_3_, boolean p_i45664_4_) RenderSideCacheKey
(BlockState p_i49791_1_, BlockState p_i49791_2_, Direction p_i49791_3_) -
Uses of Direction in net.minecraft.block.pattern
Modifier and TypeFieldDescriptionprivate final Direction
BlockPattern.PatternHelper.forwards
private final Direction
BlockPattern.PatternHelper.up
Modifier and TypeMethodDescriptionBlockPattern.PatternHelper.getForwards()
BlockPattern.PatternHelper.getUp()
Modifier and TypeMethodDescriptionprivate BlockPattern.PatternHelper
BlockPattern.matches
(BlockPos p_177682_1_, Direction p_177682_2_, Direction p_177682_3_, com.google.common.cache.LoadingCache<BlockPos, CachedBlockInfo> p_177682_4_) protected static BlockPos
BlockPattern.translateAndRotate
(BlockPos p_177683_0_, Direction p_177683_1_, Direction p_177683_2_, int p_177683_3_, int p_177683_4_, int p_177683_5_) ModifierConstructorDescriptionPatternHelper
(BlockPos p_i46378_1_, Direction p_i46378_2_, Direction p_i46378_3_, com.google.common.cache.LoadingCache<BlockPos, CachedBlockInfo> p_i46378_4_, int p_i46378_5_, int p_i46378_6_, int p_i46378_7_) -
Uses of Direction in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionboolean
PlayerController.continueDestroyBlock
(BlockPos p_180512_1_, Direction p_180512_2_) private void
PlayerController.sendBlockAction
(CPlayerDiggingPacket.Action p_225324_1_, BlockPos p_225324_2_, Direction p_225324_3_) boolean
PlayerController.startDestroyBlock
(BlockPos p_180511_1_, Direction p_180511_2_) -
Uses of Direction in net.minecraft.client.particle
-
Uses of Direction in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate final Direction[]
BlockModelRenderer.NeighborInfo.corners
static final Direction[]
WorldRenderer.DIRECTIONS
private final Direction
WorldRenderer.LocalRenderInformationContainer.sourceDirection
Modifier and TypeMethodDescriptionvoid
BlockModelRenderer.AmbientOcclusionFace.calculate
(IBlockDisplayReader p_239285_1_, BlockState p_239285_2_, BlockPos p_239285_3_, Direction p_239285_4_, float[] p_239285_5_, BitSet p_239285_6_, boolean p_239285_7_) private void
BlockModelRenderer.calculateShape
(IBlockDisplayReader p_228801_1_, BlockState p_228801_2_, BlockPos p_228801_3_, int[] p_228801_4_, Direction p_228801_5_, float[] p_228801_6_, BitSet p_228801_7_) BlockModelRenderer.NeighborInfo.fromFacing
(Direction p_178273_0_) BlockModelRenderer.VertexTranslations.fromFacing
(Direction p_178184_0_) static FaceDirection
FaceDirection.fromFacing
(Direction p_179027_0_) WorldRenderer.getRelativeFrom
(BlockPos p_181562_1_, ChunkRenderDispatcher.ChunkRender p_181562_2_, Direction p_181562_3_) boolean
WorldRenderer.LocalRenderInformationContainer.hasDirection
(Direction p_189560_1_) private static boolean
FluidBlockRenderer.isFaceOccludedByNeighbor
(IBlockReader p_239283_0_, BlockPos p_239283_1_, Direction p_239283_2_, float p_239283_3_) private static boolean
FluidBlockRenderer.isFaceOccludedBySelf
(IBlockReader p_239282_0_, BlockPos p_239282_1_, BlockState p_239282_2_, Direction p_239282_3_) private static boolean
FluidBlockRenderer.isFaceOccludedByState
(IBlockReader p_239284_0_, Direction p_239284_1_, float p_239284_2_, BlockPos p_239284_3_, BlockState p_239284_4_) private static boolean
FluidBlockRenderer.isNeighborSameFluid
(IBlockReader p_209557_0_, BlockPos p_209557_1_, Direction p_209557_2_, FluidState p_209557_3_) void
WorldRenderer.LocalRenderInformationContainer.setDirections
(byte p_189561_1_, Direction p_189561_2_) static boolean
FluidBlockRenderer.shouldRenderFace
(IBlockDisplayReader p_239281_0_, BlockPos p_239281_1_, FluidState p_239281_2_, BlockState p_239281_3_, Direction p_239281_4_) ModifierConstructorDescriptionprivate
LocalRenderInformationContainer
(ChunkRenderDispatcher.ChunkRender p_i46248_2_, Direction p_i46248_3_, int p_i46248_4_) private
NeighborInfo
(Direction[] p_i46236_3_, float p_i46236_4_, boolean p_i46236_5_, BlockModelRenderer.Orientation[] p_i46236_6_, BlockModelRenderer.Orientation[] p_i46236_7_, BlockModelRenderer.Orientation[] p_i46236_8_, BlockModelRenderer.Orientation[] p_i46236_9_) private
Orientation
(Direction p_i46233_3_, boolean p_i46233_4_) -
Uses of Direction in net.minecraft.client.renderer.chunk
Modifier and TypeMethodDescriptionboolean
ChunkRenderDispatcher.CompiledChunk.facesCanSeeEachother
(Direction p_178495_1_, Direction p_178495_2_) private int
VisGraph.getNeighborIndexAtFace
(int p_178603_1_, Direction p_178603_2_) ChunkRenderDispatcher.ChunkRender.getRelativeOrigin
(Direction p_181701_1_) float
void
boolean
SetVisibility.visibilityBetween
(Direction p_178621_1_, Direction p_178621_2_) -
Uses of Direction in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate static float
LivingRenderer.sleepDirectionToRotation
(Direction p_217765_0_) -
Uses of Direction in net.minecraft.client.renderer.model
Modifier and TypeFieldDescriptionfinal Direction
BlockPartFace.cullForDirection
protected final Direction
BakedQuad.direction
private final Direction
ItemModelGenerator.SpanFacing.direction
Modifier and TypeFieldDescriptionSimpleBakedModel.Builder.culledFaces
SimpleBakedModel.culledFaces
final Map<Direction,
BlockPartFace> BlockPart.faces
static final EnumMap<Direction,
TransformationMatrix> UVTransformationUtil.vanillaUvTransformGlobalToLocal
static final EnumMap<Direction,
TransformationMatrix> UVTransformationUtil.vanillaUvTransformLocalToGlobal
Modifier and TypeMethodDescriptionstatic Direction
FaceBakery.calculateFacing
(int[] p_178410_0_) private Direction
BlockPartFace.Deserializer.getCullFacing
(com.google.gson.JsonObject p_178339_1_) BakedQuad.getDirection()
ItemModelGenerator.SpanFacing.getDirection()
private Direction
Modifier and TypeMethodDescriptionprivate Map<Direction,
BlockPartFace> BlockPart.Deserializer.filterNullFromFaces
(com.google.gson.JsonDeserializationContext p_178253_1_, com.google.gson.JsonObject p_178253_2_) private Map<Direction,
BlockPartFace> BlockPart.Deserializer.getFaces
(com.google.gson.JsonDeserializationContext p_178250_1_, com.google.gson.JsonObject p_178250_2_) Modifier and TypeMethodDescriptionSimpleBakedModel.Builder.addCulledFace
(Direction p_177650_1_, BakedQuad p_177650_2_) private static BakedQuad
BlockModel.bakeFace
(BlockPart p_228812_0_, BlockPartFace p_228812_1_, TextureAtlasSprite p_228812_2_, Direction p_228812_3_, IModelTransform p_228812_4_, ResourceLocation p_228812_5_) FaceBakery.bakeQuad
(Vector3f p_228824_1_, Vector3f p_228824_2_, BlockPartFace p_228824_3_, TextureAtlasSprite p_228824_4_, Direction p_228824_5_, IModelTransform p_228824_6_, BlockPartRotation p_228824_7_, boolean p_228824_8_, ResourceLocation p_228824_9_) private void
FaceBakery.bakeVertex
(int[] p_228827_1_, int p_228827_2_, Direction p_228827_3_, BlockFaceUV p_228827_4_, float[] p_228827_5_, TextureAtlasSprite p_228827_6_, TransformationMatrix p_228827_7_, BlockPartRotation p_228827_8_, boolean p_228827_9_) BuiltInModel.getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_) IBakedModel.getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_) Deprecated.MultipartBakedModel.getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_, IModelData modelData) SimpleBakedModel.getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_) WeightedBakedModel.getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_, IModelData modelData) static TransformationMatrix
UVTransformationUtil.getUVLockTransform
(TransformationMatrix p_229380_0_, Direction p_229380_1_, Supplier<String> p_229380_2_) static BakedQuad
BlockModel.makeBakedQuad
(BlockPart p_228812_0_, BlockPartFace p_228812_1_, TextureAtlasSprite p_228812_2_, Direction p_228812_3_, IModelTransform p_228812_4_, ResourceLocation p_228812_5_) private int[]
FaceBakery.makeVertices
(BlockFaceUV p_228820_1_, TextureAtlasSprite p_228820_2_, Direction p_228820_3_, float[] p_228820_4_, TransformationMatrix p_228820_5_, BlockPartRotation p_228820_6_, boolean p_228820_7_) private void
FaceBakery.recalculateWinding
(int[] p_178408_1_, Direction p_178408_2_) static BlockFaceUV
FaceBakery.recomputeUVs
(BlockFaceUV p_228821_0_, Direction p_228821_1_, TransformationMatrix p_228821_2_, ResourceLocation p_228821_3_) float[]
ModifierConstructorDescriptionBakedQuad
(int[] p_i232466_1_, int p_i232466_2_, Direction p_i232466_3_, TextureAtlasSprite p_i232466_4_, boolean p_i232466_5_) BlockPartFace
(Direction p_i46230_1_, int p_i46230_2_, String p_i46230_3_, BlockFaceUV p_i46230_4_) private
SpanFacing
(Direction p_i46215_3_, int p_i46215_4_, int p_i46215_5_) TexturedQuad
(ModelRenderer.PositionTextureVertex[] p_i225951_1_, float p_i225951_2_, float p_i225951_3_, float p_i225951_4_, float p_i225951_5_, float p_i225951_6_, float p_i225951_7_, boolean p_i225951_8_, Direction p_i225951_9_) ModifierConstructorDescriptionBlockPart
(Vector3f p_i47624_1_, Vector3f p_i47624_2_, Map<Direction, BlockPartFace> p_i47624_3_, BlockPartRotation p_i47624_4_, boolean p_i47624_5_) SimpleBakedModel
(List<BakedQuad> p_i230059_1_, Map<Direction, List<BakedQuad>> p_i230059_2_, boolean p_i230059_3_, boolean p_i230059_4_, boolean p_i230059_5_, TextureAtlasSprite p_i230059_6_, ItemCameraTransforms p_i230059_7_, ItemOverrideList p_i230059_8_) -
Uses of Direction in net.minecraft.client.renderer.tileentity
Modifier and TypeMethodDescriptionprivate void
EndPortalTileEntityRenderer.renderFace
(T p_228884_1_, Matrix4f p_228884_2_, IVertexBuilder p_228884_3_, float p_228884_4_, float p_228884_5_, float p_228884_6_, float p_228884_7_, float p_228884_8_, float p_228884_9_, float p_228884_10_, float p_228884_11_, float p_228884_12_, float p_228884_13_, float p_228884_14_, Direction p_228884_15_) private void
BedTileEntityRenderer.renderPiece
(MatrixStack p_228847_1_, IRenderTypeBuffer p_228847_2_, boolean p_228847_3_, Direction p_228847_4_, RenderMaterial p_228847_5_, int p_228847_6_, int p_228847_7_, boolean p_228847_8_) static void
SkullTileEntityRenderer.renderSkull
(Direction p_228879_0_, float p_228879_1_, SkullBlock.ISkullType p_228879_2_, com.mojang.authlib.GameProfile p_228879_3_, float p_228879_4_, MatrixStack p_228879_5_, IRenderTypeBuffer p_228879_6_, int p_228879_7_) -
Uses of Direction in net.minecraft.client.world
-
Uses of Direction in net.minecraft.data
Modifier and TypeMethodDescriptionprivate static BlockStateVariantBuilder.Four<Direction,
DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelProvider.configureDoorHalf
(BlockStateVariantBuilder.Four<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_239903_0_, DoubleBlockHalf p_239903_1_, ResourceLocation p_239903_2_, ResourceLocation p_239903_3_) Modifier and TypeMethodDescriptionprivate static BlockStateVariantBuilder.Four<Direction,
DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelProvider.configureDoorHalf
(BlockStateVariantBuilder.Four<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_239903_0_, DoubleBlockHalf p_239903_1_, ResourceLocation p_239903_2_, ResourceLocation p_239903_3_) -
Uses of Direction in net.minecraft.dispenser
Modifier and TypeMethodDescriptionprotected void
DefaultDispenseItemBehavior.playAnimation
(IBlockSource p_82489_1_, Direction p_82489_2_) static void
IDispenseItemBehavior.setEntityPokingOutOfBlock
(IBlockSource p_239785_0_, Entity p_239785_1_, Direction p_239785_2_) static void
DefaultDispenseItemBehavior.spawnItem
(World p_82486_0_, ItemStack p_82486_1_, int p_82486_2_, Direction p_82486_3_, IPosition p_82486_4_) -
Uses of Direction in net.minecraft.entity
Modifier and TypeMethodDescriptionLivingEntity.getBedOrientation()
Entity.getDirection()
Entity.getMotionDirection()
Modifier and TypeMethodDescription<T> LazyOptional<T>
LivingEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraft.entity.item
Modifier and TypeMethodDescriptionprotected void
HangingEntity.setDirection
(Direction p_174859_1_) protected void
ItemFrameEntity.setDirection
(Direction p_174859_1_) void
LeashKnotEntity.setDirection
(Direction p_174859_1_) ModifierConstructorDescriptionItemFrameEntity
(World p_i45852_1_, BlockPos p_i45852_2_, Direction p_i45852_3_) PaintingEntity
(World p_i45849_1_, BlockPos p_i45849_2_, Direction p_i45849_3_) PaintingEntity
(World p_i48559_1_, BlockPos p_i48559_2_, Direction p_i48559_3_, PaintingType p_i48559_4_) -
Uses of Direction in net.minecraft.entity.item.minecart
Modifier and TypeMethodDescription<T> LazyOptional<T>
ContainerMinecartEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraft.entity.monster
Modifier and TypeFieldDescriptionprivate Direction
SilverfishEntity.HideInStoneGoal.selectedDirection
Modifier and TypeFieldDescriptionprotected static final DataParameter<Direction>
ShulkerEntity.DATA_ATTACH_FACE_ID
Modifier and TypeMethodDescriptionprotected Direction
ShulkerEntity.findAttachableFace
(BlockPos p_234299_1_) ShulkerEntity.getAttachFace()
Modifier and TypeMethodDescriptionprivate boolean
ShulkerEntity.canAttachOnBlockFace
(BlockPos p_234298_1_, Direction p_234298_2_) -
Uses of Direction in net.minecraft.entity.passive.horse
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractHorseEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraft.entity.player
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayerEntity.bedBlocked
(BlockPos p_241156_1_, Direction p_241156_2_) private boolean
ServerPlayerEntity.bedInRange
(BlockPos p_241147_1_, Direction p_241147_2_) <T> LazyOptional<T>
PlayerEntity.getCapability
(Capability<T> capability, Direction facing) boolean
PlayerEntity.mayUseItemAt
(BlockPos p_175151_1_, Direction p_175151_2_, ItemStack p_175151_3_) -
Uses of Direction in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionprivate void
private void
ShulkerBulletEntity.setMoveDirection
(Direction p_184568_1_) -
Uses of Direction in net.minecraft.fluid
Modifier and TypeMethodDescriptionprotected Map<Direction,
FluidState> FlowingFluid.getSpread
(IWorldReader p_205572_1_, BlockPos p_205572_2_, BlockState p_205572_3_) Modifier and TypeMethodDescriptionboolean
EmptyFluid.canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) boolean
FluidState.canBeReplacedWith
(IBlockReader p_215677_1_, BlockPos p_215677_2_, Fluid p_215677_3_, Direction p_215677_4_) boolean
LavaFluid.canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) boolean
WaterFluid.canBeReplacedWith
(FluidState p_215665_1_, IBlockReader p_215665_2_, BlockPos p_215665_3_, Fluid p_215665_4_, Direction p_215665_5_) private boolean
FlowingFluid.canPassThrough
(IBlockReader p_211760_1_, Fluid p_211760_2_, BlockPos p_211760_3_, BlockState p_211760_4_, Direction p_211760_5_, BlockPos p_211760_6_, BlockState p_211760_7_, FluidState p_211760_8_) private boolean
FlowingFluid.canPassThroughWall
(Direction p_212751_1_, IBlockReader p_212751_2_, BlockPos p_212751_3_, BlockState p_212751_4_, BlockPos p_212751_5_, BlockState p_212751_6_) protected boolean
FlowingFluid.canSpreadTo
(IBlockReader p_205570_1_, BlockPos p_205570_2_, BlockState p_205570_3_, Direction p_205570_4_, BlockPos p_205570_5_, BlockState p_205570_6_, FluidState p_205570_7_, Fluid p_205570_8_) protected int
FlowingFluid.getSlopeDistance
(IWorldReader p_205571_1_, BlockPos p_205571_2_, int p_205571_3_, Direction p_205571_4_, BlockState p_205571_5_, BlockPos p_205571_6_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> p_205571_7_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_205571_8_) private boolean
LavaFluid.isFlammable
(IWorldReader world, BlockPos pos, Direction face) protected boolean
FlowingFluid.isSolidFace
(IBlockReader p_205573_1_, BlockPos p_205573_2_, Direction p_205573_3_) protected void
FlowingFluid.spreadTo
(IWorld p_205574_1_, BlockPos p_205574_2_, BlockState p_205574_3_, Direction p_205574_4_, FluidState p_205574_5_) protected void
LavaFluid.spreadTo
(IWorld p_205574_1_, BlockPos p_205574_2_, BlockState p_205574_3_, Direction p_205574_4_, FluidState p_205574_5_) -
Uses of Direction in net.minecraft.inventory
Modifier and TypeMethodDescriptionboolean
ISidedInventory.canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) boolean
ISidedInventory.canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) int[]
ISidedInventory.getSlotsForFace
(Direction p_180463_1_) -
Uses of Direction in net.minecraft.item
Modifier and TypeMethodDescriptionItemUseContext.getClickedFace()
DirectionalPlaceContext.getHorizontalDirection()
ItemUseContext.getHorizontalDirection()
BlockItemUseContext.getNearestLookingDirection()
DirectionalPlaceContext.getNearestLookingDirection()
BlockItemUseContext.getNearestLookingDirections()
DirectionalPlaceContext.getNearestLookingDirections()
Modifier and TypeMethodDescriptionstatic BlockItemUseContext
BlockItemUseContext.at
(BlockItemUseContext p_221536_0_, BlockPos p_221536_1_, Direction p_221536_2_) static boolean
BoneMealItem.growWaterPlant
(ItemStack p_203173_0_, World p_203173_1_, BlockPos p_203173_2_, Direction p_203173_3_) protected boolean
HangingEntityItem.mayPlace
(PlayerEntity p_200127_1_, Direction p_200127_2_, ItemStack p_200127_3_, BlockPos p_200127_4_) protected boolean
ItemFrameItem.mayPlace
(PlayerEntity p_200127_1_, Direction p_200127_2_, ItemStack p_200127_3_, BlockPos p_200127_4_) -
Uses of Direction in net.minecraft.network.datasync
Modifier and TypeFieldDescriptionstatic final IDataSerializer<Direction>
DataSerializers.DIRECTION
-
Uses of Direction in net.minecraft.network.play.client
ModifierConstructorDescriptionCPlayerDiggingPacket
(CPlayerDiggingPacket.Action p_i46871_1_, BlockPos p_i46871_2_, Direction p_i46871_3_) -
Uses of Direction in net.minecraft.network.play.server
-
Uses of Direction in net.minecraft.pathfinding
Modifier and TypeMethodDescriptionprivate PathPoint
WalkNodeProcessor.getLandNode
(int p_186332_1_, int p_186332_2_, int p_186332_3_, int p_186332_4_, double p_186332_5_, Direction p_186332_7_, PathNodeType p_186332_8_) -
Uses of Direction in net.minecraft.server.management
Modifier and TypeMethodDescriptionvoid
DemoPlayerInteractionManager.handleBlockBreakAction
(BlockPos p_225416_1_, CPlayerDiggingPacket.Action p_225416_2_, Direction p_225416_3_, int p_225416_4_) void
PlayerInteractionManager.handleBlockBreakAction
(BlockPos p_225416_1_, CPlayerDiggingPacket.Action p_225416_2_, Direction p_225416_3_, int p_225416_4_) -
Uses of Direction in net.minecraft.state
Modifier and TypeMethodDescriptionstatic DirectionProperty
DirectionProperty.create
(String p_177713_0_, Collection<Direction> p_177713_1_) static DirectionProperty
ModifierConstructorDescriptionprotected
DirectionProperty
(String p_i45650_1_, Collection<Direction> p_i45650_2_) -
Uses of Direction in net.minecraft.tileentity
Modifier and TypeFieldDescriptionBellTileEntity.clickDirection
private Direction
PistonTileEntity.direction
Modifier and TypeFieldDescriptionprivate static final ThreadLocal<Direction>
PistonTileEntity.NOCLIP
Modifier and TypeMethodDescriptionPistonTileEntity.getDirection()
PistonTileEntity.getMovementDirection()
Modifier and TypeMethodDescriptionstatic ItemStack
HopperTileEntity.addItem
(IInventory p_174918_0_, IInventory p_174918_1_, ItemStack p_174918_2_, Direction p_174918_3_) private static boolean
HopperTileEntity.canPlaceItemInContainer
(IInventory p_174920_0_, ItemStack p_174920_1_, int p_174920_2_, Direction p_174920_3_) boolean
AbstractFurnaceTileEntity.canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) boolean
BrewingStandTileEntity.canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) boolean
ShulkerBoxTileEntity.canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) private static boolean
HopperTileEntity.canTakeItemFromContainer
(IInventory p_174921_0_, ItemStack p_174921_1_, int p_174921_2_, Direction p_174921_3_) boolean
AbstractFurnaceTileEntity.canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) boolean
BrewingStandTileEntity.canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) boolean
ShulkerBoxTileEntity.canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) private void
PistonTileEntity.fixEntityWithinPistonBase
(Entity p_190605_1_, Direction p_190605_2_, double p_190605_3_) ShulkerBoxTileEntity.getBoundingBox
(Direction p_190587_1_) <T> LazyOptional<T>
AbstractFurnaceTileEntity.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
BrewingStandTileEntity.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
ChestTileEntity.getCapability
(Capability<T> cap, Direction side) <T> LazyOptional<T>
LockableTileEntity.getCapability
(Capability<T> cap, Direction side) private static double
PistonTileEntity.getMovement
(AxisAlignedBB p_190612_0_, Direction p_190612_1_, AxisAlignedBB p_190612_2_) private static IntStream
HopperTileEntity.getSlots
(IInventory p_213972_0_, Direction p_213972_1_) int[]
AbstractFurnaceTileEntity.getSlotsForFace
(Direction p_180463_1_) int[]
BrewingStandTileEntity.getSlotsForFace
(Direction p_180463_1_) int[]
ShulkerBoxTileEntity.getSlotsForFace
(Direction p_180463_1_) private AxisAlignedBB
ShulkerBoxTileEntity.getTopBoundingBox
(Direction p_190588_1_) private static boolean
HopperTileEntity.isEmptyContainer
(IInventory p_174917_0_, Direction p_174917_1_) private boolean
HopperTileEntity.isFullContainer
(IInventory p_174919_1_, Direction p_174919_2_) private static void
PistonTileEntity.moveEntityByPiston
(Direction p_227022_0_, Entity p_227022_1_, double p_227022_2_, Direction p_227022_4_) void
boolean
EndGatewayTileEntity.shouldRenderFace
(Direction p_184313_1_) boolean
EndPortalTileEntity.shouldRenderFace
(Direction p_184313_1_) private static ItemStack
HopperTileEntity.tryMoveInItem
(IInventory p_174916_0_, IInventory p_174916_1_, ItemStack p_174916_2_, int p_174916_3_, Direction p_174916_4_) private static boolean
HopperTileEntity.tryTakeInItemFromSlot
(IHopper p_174915_0_, IInventory p_174915_1_, int p_174915_2_, Direction p_174915_3_) ModifierConstructorDescriptionPistonTileEntity
(BlockState p_i45665_1_, Direction p_i45665_2_, boolean p_i45665_3_, boolean p_i45665_4_) -
Uses of Direction in net.minecraft.util
Modifier and TypeFieldDescriptionprivate static final Direction[]
Direction.BY_2D_DATA
private static final Direction[]
Direction.BY_3D_DATA
private final Direction[]
Direction.Plane.faces
private static final Direction[]
Direction.VALUES
Modifier and TypeFieldDescriptionDirection.BY_NAME
private static final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Direction>
Direction.BY_NORMAL
Direction8.directions
Modifier and TypeMethodDescriptionstatic Direction
static Direction
Direction.from2DDataValue
(int p_176731_0_) static Direction
Direction.from3DDataValue
(int p_82600_0_) static Direction
Direction.fromAxisAndDirection
(Direction.Axis p_211699_0_, Direction.AxisDirection p_211699_1_) static Direction
Direction.fromNormal
(int p_218383_0_, int p_218383_1_, int p_218383_2_) static Direction
Direction.fromYRot
(double p_176733_0_) static Direction
Direction.get
(Direction.AxisDirection p_181076_0_, Direction.Axis p_181076_1_) Direction.getClockWise()
Direction.getCounterClockWise()
static Direction
Direction.getNearest
(double p_210769_0_, double p_210769_2_, double p_210769_4_) static Direction
Direction.getNearest
(float p_176737_0_, float p_176737_1_, float p_176737_2_) Direction.getOpposite()
static Direction
Direction.Plane.getRandomDirection
(Random p_179518_1_) private static Direction[]
Direction.makeDirectionArray
(Direction p_196053_0_, Direction p_196053_1_, Direction p_196053_2_) static Direction[]
Direction.orderedByNearest
(Entity p_196054_0_) static Direction
static Direction
Returns 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.Modifier and TypeMethodDescriptionDirection8.getDirections()
Direction.Plane.iterator()
Direction.Plane.stream()
Modifier and TypeMethodDescriptionprivate static int
TeleportationRepositioner.getLimit
(Predicate<BlockPos> p_243677_0_, BlockPos.Mutable p_243677_1_, Direction p_243677_2_, int p_243677_3_) static AxisAlignedBB
AabbHelper.getMovementArea
(AxisAlignedBB p_227019_0_, Direction p_227019_1_, double p_227019_2_) Mirror.getRotation
(Direction p_185800_1_) abstract boolean
BlockVoxelShape.isSupporting
(BlockState p_241854_1_, IBlockReader p_241854_2_, BlockPos p_241854_3_, Direction p_241854_4_) private static Direction[]
Direction.makeDirectionArray
(Direction p_196053_0_, Direction p_196053_1_, Direction p_196053_2_) static int[][]
TransportationHelper.offsetsForDirection
(Direction p_234632_0_) static AxisAlignedBB
ShulkerAABBHelper.openBoundingBox
(BlockPos p_233539_0_, Direction p_233539_1_) static Direction
boolean
boolean
ModifierConstructorDescriptionprivate
Direction8
(Direction... p_i47954_3_) private
Plane
(Direction[] p_i49393_3_, Direction.Axis[] p_i49393_4_) -
Uses of Direction in net.minecraft.util.math
Modifier and TypeMethodDescriptionprivate static Direction
AxisAlignedBB.clipPoint
(double[] p_197740_0_, Direction p_197740_1_, double p_197740_2_, double p_197740_4_, double p_197740_6_, double p_197740_8_, double p_197740_10_, double p_197740_12_, double p_197740_14_, double p_197740_16_, Direction p_197740_18_, double p_197740_19_, double p_197740_21_, double p_197740_23_) private static Direction
AxisAlignedBB.getDirection
(AxisAlignedBB p_197741_0_, Vector3d p_197741_1_, double[] p_197741_2_, Direction p_197741_3_, double p_197741_4_, double p_197741_6_, double p_197741_8_) BlockRayTraceResult.getDirection()
Modifier and TypeMethodDescriptionprivate static Direction
AxisAlignedBB.clipPoint
(double[] p_197740_0_, Direction p_197740_1_, double p_197740_2_, double p_197740_4_, double p_197740_6_, double p_197740_8_, double p_197740_10_, double p_197740_12_, double p_197740_14_, double p_197740_16_, Direction p_197740_18_, double p_197740_19_, double p_197740_21_, double p_197740_23_) private static Direction
AxisAlignedBB.getDirection
(AxisAlignedBB p_197741_0_, Vector3d p_197741_1_, double[] p_197741_2_, Direction p_197741_3_, double p_197741_4_, double p_197741_6_, double p_197741_8_) static BlockRayTraceResult
static long
static long
static MutableBoundingBox
MutableBoundingBox.orientBox
(int p_175897_0_, int p_175897_1_, int p_175897_2_, int p_175897_3_, int p_175897_4_, int p_175897_5_, int p_175897_6_, int p_175897_7_, int p_175897_8_, Direction p_175897_9_) BlockPos.Mutable.setWithOffset
(Vector3i p_239622_1_, Direction p_239622_2_) static Iterable<BlockPos.Mutable>
BlockPos.spiralAround
(BlockPos p_243514_0_, int p_243514_1_, Direction p_243514_2_, Direction p_243514_3_) BlockRayTraceResult.withDirection
(Direction p_216351_1_) ModifierConstructorDescriptionprivate
BlockRayTraceResult
(boolean p_i51187_1_, Vector3d p_i51187_2_, Direction p_i51187_3_, BlockPos p_i51187_4_, boolean p_i51187_5_) BlockRayTraceResult
(Vector3d p_i51186_1_, Direction p_i51186_2_, BlockPos p_i51186_3_, boolean p_i51186_4_) -
Uses of Direction in net.minecraft.util.math.shapes
Modifier and TypeMethodDescriptionstatic boolean
VoxelShapes.blockOccudes
(VoxelShape p_197875_0_, VoxelShape p_197875_1_, Direction p_197875_2_) private VoxelShape
VoxelShape.calculateFace
(Direction p_222863_1_) void
VoxelShapePart.IFaceConsumer.consume
(Direction p_consume_1_, int p_consume_2_, int p_consume_3_, int p_consume_4_) VoxelShape.getFaceShape
(Direction p_212434_1_) static VoxelShape
VoxelShapes.getFaceShape
(VoxelShape p_216387_0_, Direction p_216387_1_) static boolean
VoxelShapes.mergedFaceOccludes
(VoxelShape p_204642_0_, VoxelShape p_204642_1_, Direction p_204642_2_) -
Uses of Direction in net.minecraft.util.math.vector
-
Uses of Direction in net.minecraft.util.palette
Modifier and TypeMethodDescriptionUpgradeData.IBlockFixer.updateShape
(BlockState p_196982_1_, Direction p_196982_2_, BlockState p_196982_3_, IWorld p_196982_4_, BlockPos p_196982_5_, BlockPos p_196982_6_) private static BlockState
UpgradeData.updateState
(BlockState p_196987_0_, Direction p_196987_1_, IWorld p_196987_2_, BlockPos p_196987_3_, BlockPos p_196987_4_) -
Uses of Direction in net.minecraft.world
Modifier and TypeMethodDescriptionprivate boolean
Teleporter.canHostFrame
(BlockPos p_242955_1_, BlockPos.Mutable p_242955_2_, Direction p_242955_3_, int p_242955_4_) default int
IWorldReader.getDirectSignal
(BlockPos p_175627_1_, Direction p_175627_2_) float
int
boolean
boolean
World.loadedAndEntityCanStandOnFace
(BlockPos p_234929_1_, Entity p_234929_2_, Direction p_234929_3_) void
World.updateNeighborsAtExceptFromFacing
(BlockPos p_175695_1_, Block p_175695_2_, Direction p_175695_3_) -
Uses of Direction in net.minecraft.world.gen
-
Uses of Direction in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionprivate static final Direction[]
VinesFeature.DIRECTIONS
private static final Direction[]
WeepingVineFeature.DIRECTIONS
-
Uses of Direction in net.minecraft.world.gen.feature.jigsaw
Modifier and TypeFieldDescriptionprivate final Direction
JigsawOrientation.front
private final Direction
JigsawOrientation.top
Modifier and TypeMethodDescriptionstatic JigsawOrientation
JigsawOrientation.fromFrontAndTop
(Direction p_239641_0_, Direction p_239641_1_) private static int
ModifierConstructorDescriptionprivate
JigsawOrientation
(String p_i232507_3_, Direction p_i232507_4_, Direction p_i232507_5_) -
Uses of Direction in net.minecraft.world.gen.feature.structure
Modifier and TypeFieldDescriptionprivate final Direction
MineshaftPieces.Cross.direction
private static final Direction[]
BasaltDeltasStructure.DIRECTIONS
private Direction
StructurePiece.orientation
Modifier and TypeMethodDescriptionWoodlandMansionPieces.Grid.get1x2RoomDirection
(WoodlandMansionPieces.SimpleGrid p_191113_1_, int p_191113_2_, int p_191113_3_, int p_191113_4_, int p_191113_5_) StructurePiece.getOrientation()
Modifier and TypeMethodDescriptionprivate void
WoodlandMansionPieces.Placer.addRoom1x1
(List<WoodlandMansionPieces.MansionTemplate> p_191129_1_, BlockPos p_191129_2_, Rotation p_191129_3_, Direction p_191129_4_, WoodlandMansionPieces.RoomCollection p_191129_5_) private void
WoodlandMansionPieces.Placer.addRoom1x2
(List<WoodlandMansionPieces.MansionTemplate> p_191132_1_, BlockPos p_191132_2_, Rotation p_191132_3_, Direction p_191132_4_, Direction p_191132_5_, WoodlandMansionPieces.RoomCollection p_191132_6_, boolean p_191132_7_) private void
WoodlandMansionPieces.Placer.addRoom2x2
(List<WoodlandMansionPieces.MansionTemplate> p_191127_1_, BlockPos p_191127_2_, Rotation p_191127_3_, Direction p_191127_4_, Direction p_191127_5_, WoodlandMansionPieces.RoomCollection p_191127_6_) OceanMonumentPieces.FitSimpleRoomHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) OceanMonumentPieces.FitSimpleRoomTopHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) OceanMonumentPieces.IMonumentRoomFitHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) OceanMonumentPieces.XDoubleRoomFitHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) OceanMonumentPieces.XYDoubleRoomFitHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) OceanMonumentPieces.YDoubleRoomFitHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) OceanMonumentPieces.YZDoubleRoomFitHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) OceanMonumentPieces.ZDoubleRoomFitHelper.create
(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, Random p_175968_3_) protected boolean
StructurePiece.createDispenser
(ISeedReader p_189419_1_, MutableBoundingBox p_189419_2_, Random p_189419_3_, int p_189419_4_, int p_189419_5_, int p_189419_6_, Direction p_189419_7_, ResourceLocation p_189419_8_) static FortressPieces.Corridor
FortressPieces.Corridor.createPiece
(List<StructurePiece> p_175879_0_, Random p_175879_1_, int p_175879_2_, int p_175879_3_, int p_175879_4_, Direction p_175879_5_, int p_175879_6_) static FortressPieces.Corridor2
FortressPieces.Corridor2.createPiece
(List<StructurePiece> p_175876_0_, Random p_175876_1_, int p_175876_2_, int p_175876_3_, int p_175876_4_, Direction p_175876_5_, int p_175876_6_) static FortressPieces.Corridor3
FortressPieces.Corridor3.createPiece
(List<StructurePiece> p_175883_0_, int p_175883_1_, int p_175883_2_, int p_175883_3_, Direction p_175883_4_, int p_175883_5_) static FortressPieces.Corridor4
FortressPieces.Corridor4.createPiece
(List<StructurePiece> p_214814_0_, int p_214814_1_, int p_214814_2_, int p_214814_3_, Direction p_214814_4_, int p_214814_5_) static FortressPieces.Corridor5
FortressPieces.Corridor5.createPiece
(List<StructurePiece> p_175877_0_, int p_175877_1_, int p_175877_2_, int p_175877_3_, Direction p_175877_4_, int p_175877_5_) static FortressPieces.Crossing
FortressPieces.Crossing.createPiece
(List<StructurePiece> p_175873_0_, int p_175873_1_, int p_175873_2_, int p_175873_3_, Direction p_175873_4_, int p_175873_5_) static FortressPieces.Crossing2
FortressPieces.Crossing2.createPiece
(List<StructurePiece> p_175878_0_, int p_175878_1_, int p_175878_2_, int p_175878_3_, Direction p_175878_4_, int p_175878_5_) static FortressPieces.Crossing3
FortressPieces.Crossing3.createPiece
(List<StructurePiece> p_175885_0_, int p_175885_1_, int p_175885_2_, int p_175885_3_, Direction p_175885_4_, int p_175885_5_) static FortressPieces.End
FortressPieces.End.createPiece
(List<StructurePiece> p_175884_0_, Random p_175884_1_, int p_175884_2_, int p_175884_3_, int p_175884_4_, Direction p_175884_5_, int p_175884_6_) static FortressPieces.Entrance
FortressPieces.Entrance.createPiece
(List<StructurePiece> p_175881_0_, Random p_175881_1_, int p_175881_2_, int p_175881_3_, int p_175881_4_, Direction p_175881_5_, int p_175881_6_) FortressPieces.NetherStalkRoom.createPiece
(List<StructurePiece> p_175875_0_, int p_175875_1_, int p_175875_2_, int p_175875_3_, Direction p_175875_4_, int p_175875_5_) static FortressPieces.Stairs
FortressPieces.Stairs.createPiece
(List<StructurePiece> p_175872_0_, int p_175872_1_, int p_175872_2_, int p_175872_3_, int p_175872_4_, Direction p_175872_5_) static FortressPieces.Straight
FortressPieces.Straight.createPiece
(List<StructurePiece> p_175882_0_, Random p_175882_1_, int p_175882_2_, int p_175882_3_, int p_175882_4_, Direction p_175882_5_, int p_175882_6_) static FortressPieces.Throne
FortressPieces.Throne.createPiece
(List<StructurePiece> p_175874_0_, int p_175874_1_, int p_175874_2_, int p_175874_3_, int p_175874_4_, Direction p_175874_5_) StrongholdPieces.ChestCorridor.createPiece
(List<StructurePiece> p_175868_0_, Random p_175868_1_, int p_175868_2_, int p_175868_3_, int p_175868_4_, Direction p_175868_5_, int p_175868_6_) static StrongholdPieces.Crossing
StrongholdPieces.Crossing.createPiece
(List<StructurePiece> p_175866_0_, Random p_175866_1_, int p_175866_2_, int p_175866_3_, int p_175866_4_, Direction p_175866_5_, int p_175866_6_) static StrongholdPieces.LeftTurn
StrongholdPieces.LeftTurn.createPiece
(List<StructurePiece> p_175867_0_, Random p_175867_1_, int p_175867_2_, int p_175867_3_, int p_175867_4_, Direction p_175867_5_, int p_175867_6_) static StrongholdPieces.Library
StrongholdPieces.Library.createPiece
(List<StructurePiece> p_175864_0_, Random p_175864_1_, int p_175864_2_, int p_175864_3_, int p_175864_4_, Direction p_175864_5_, int p_175864_6_) static StrongholdPieces.PortalRoom
StrongholdPieces.PortalRoom.createPiece
(List<StructurePiece> p_175865_0_, int p_175865_1_, int p_175865_2_, int p_175865_3_, Direction p_175865_4_, int p_175865_5_) static StrongholdPieces.Prison
StrongholdPieces.Prison.createPiece
(List<StructurePiece> p_175860_0_, Random p_175860_1_, int p_175860_2_, int p_175860_3_, int p_175860_4_, Direction p_175860_5_, int p_175860_6_) static StrongholdPieces.RightTurn
StrongholdPieces.RightTurn.createPiece
(List<StructurePiece> p_214824_0_, Random p_214824_1_, int p_214824_2_, int p_214824_3_, int p_214824_4_, Direction p_214824_5_, int p_214824_6_) StrongholdPieces.RoomCrossing.createPiece
(List<StructurePiece> p_175859_0_, Random p_175859_1_, int p_175859_2_, int p_175859_3_, int p_175859_4_, Direction p_175859_5_, int p_175859_6_) static StrongholdPieces.Stairs
StrongholdPieces.Stairs.createPiece
(List<StructurePiece> p_175863_0_, Random p_175863_1_, int p_175863_2_, int p_175863_3_, int p_175863_4_, Direction p_175863_5_, int p_175863_6_) StrongholdPieces.StairsStraight.createPiece
(List<StructurePiece> p_175861_0_, Random p_175861_1_, int p_175861_2_, int p_175861_3_, int p_175861_4_, Direction p_175861_5_, int p_175861_6_) static StrongholdPieces.Straight
StrongholdPieces.Straight.createPiece
(List<StructurePiece> p_175862_0_, Random p_175862_1_, int p_175862_2_, int p_175862_3_, int p_175862_4_, Direction p_175862_5_, int p_175862_6_) private static MineshaftPieces.Piece
MineshaftPieces.createRandomShaftPiece
(List<StructurePiece> p_189940_0_, Random p_189940_1_, int p_189940_2_, int p_189940_3_, int p_189940_4_, Direction p_189940_5_, int p_189940_6_, MineshaftStructure.Type p_189940_7_) private static FortressPieces.Piece
FortressPieces.findAndCreateBridgePieceFactory
(FortressPieces.PieceWeight p_175887_0_, List<StructurePiece> p_175887_1_, Random p_175887_2_, int p_175887_3_, int p_175887_4_, int p_175887_5_, Direction p_175887_6_, int p_175887_7_) private static StrongholdPieces.Stronghold
StrongholdPieces.findAndCreatePieceFactory
(Class<? extends StrongholdPieces.Stronghold> p_175954_0_, List<StructurePiece> p_175954_1_, Random p_175954_2_, int p_175954_3_, int p_175954_4_, int p_175954_5_, Direction p_175954_6_, int p_175954_7_) static MutableBoundingBox
MineshaftPieces.Corridor.findCorridorSize
(List<StructurePiece> p_175814_0_, Random p_175814_1_, int p_175814_2_, int p_175814_3_, int p_175814_4_, Direction p_175814_5_) static MutableBoundingBox
MineshaftPieces.Cross.findCrossing
(List<StructurePiece> p_175813_0_, Random p_175813_1_, int p_175813_2_, int p_175813_3_, int p_175813_4_, Direction p_175813_5_) static MutableBoundingBox
StrongholdPieces.Corridor.findPieceBox
(List<StructurePiece> p_175869_0_, Random p_175869_1_, int p_175869_2_, int p_175869_3_, int p_175869_4_, Direction p_175869_5_) static MutableBoundingBox
MineshaftPieces.Stairs.findStairs
(List<StructurePiece> p_175812_0_, Random p_175812_1_, int p_175812_2_, int p_175812_3_, int p_175812_4_, Direction p_175812_5_) private StructurePiece
FortressPieces.Piece.generateAndAddPiece
(FortressPieces.Start p_175870_1_, List<StructurePiece> p_175870_2_, Random p_175870_3_, int p_175870_4_, int p_175870_5_, int p_175870_6_, Direction p_175870_7_, int p_175870_8_, boolean p_175870_9_) private static MineshaftPieces.Piece
MineshaftPieces.generateAndAddPiece
(StructurePiece p_189938_0_, List<StructurePiece> p_189938_1_, Random p_189938_2_, int p_189938_3_, int p_189938_4_, int p_189938_5_, Direction p_189938_6_, int p_189938_7_) private static StructurePiece
StrongholdPieces.generateAndAddPiece
(StrongholdPieces.Stairs2 p_175953_0_, List<StructurePiece> p_175953_1_, Random p_175953_2_, int p_175953_3_, int p_175953_4_, int p_175953_5_, Direction p_175953_6_, int p_175953_7_) private FortressPieces.Piece
FortressPieces.Piece.generatePiece
(FortressPieces.Start p_175871_1_, List<FortressPieces.PieceWeight> p_175871_2_, List<StructurePiece> p_175871_3_, Random p_175871_4_, int p_175871_5_, int p_175871_6_, int p_175871_7_, Direction p_175871_8_, int p_175871_9_) private static StrongholdPieces.Stronghold
StrongholdPieces.generatePieceFromSmallDoor
(StrongholdPieces.Stairs2 p_175955_0_, List<StructurePiece> p_175955_1_, Random p_175955_2_, int p_175955_3_, int p_175955_4_, int p_175955_5_, Direction p_175955_6_, int p_175955_7_) private void
WoodlandMansionPieces.Grid.recursiveCorridor
(WoodlandMansionPieces.SimpleGrid p_191110_1_, int p_191110_2_, int p_191110_3_, Direction p_191110_4_, int p_191110_5_) void
OceanMonumentPieces.RoomDefinition.setConnection
(Direction p_175957_1_, OceanMonumentPieces.RoomDefinition p_175957_2_) void
StructurePiece.setOrientation
(Direction p_186164_1_) private void
WoodlandMansionPieces.Placer.traverseOuterWalls
(List<WoodlandMansionPieces.MansionTemplate> p_191130_1_, WoodlandMansionPieces.PlacementData p_191130_2_, WoodlandMansionPieces.SimpleGrid p_191130_3_, Direction p_191130_4_, int p_191130_5_, int p_191130_6_, int p_191130_7_, int p_191130_8_) ModifierConstructorDescriptionChestCorridor
(int p_i45582_1_, Random p_i45582_2_, MutableBoundingBox p_i45582_3_, Direction p_i45582_4_) Corridor
(int p_i45615_1_, Random p_i45615_2_, MutableBoundingBox p_i45615_3_, Direction p_i45615_4_) Corridor
(int p_i47140_1_, Random p_i47140_2_, MutableBoundingBox p_i47140_3_, Direction p_i47140_4_, MineshaftStructure.Type p_i47140_5_) Corridor
(int p_i50137_1_, MutableBoundingBox p_i50137_2_, Direction p_i50137_3_) Corridor2
(int p_i45613_1_, Random p_i45613_2_, MutableBoundingBox p_i45613_3_, Direction p_i45613_4_) Corridor3
(int p_i50280_1_, MutableBoundingBox p_i50280_2_, Direction p_i50280_3_) Corridor4
(int p_i50277_1_, MutableBoundingBox p_i50277_2_, Direction p_i50277_3_) Corridor5
(int p_i50268_1_, MutableBoundingBox p_i50268_2_, Direction p_i50268_3_) Cross
(int p_i50455_1_, MutableBoundingBox p_i50455_2_, Direction p_i50455_3_, MineshaftStructure.Type p_i50455_4_) Crossing
(int p_i50258_1_, MutableBoundingBox p_i50258_2_, Direction p_i50258_3_) Crossing
(int p_i45580_1_, Random p_i45580_2_, MutableBoundingBox p_i45580_3_, Direction p_i45580_4_) Crossing2
(int p_i50273_1_, MutableBoundingBox p_i50273_2_, Direction p_i50273_3_) Crossing3
(int p_i50286_1_, MutableBoundingBox p_i50286_2_, Direction p_i50286_3_) DoubleXRoom
(Direction p_i50661_1_, OceanMonumentPieces.RoomDefinition p_i50661_2_) DoubleXYRoom
(Direction p_i50659_1_, OceanMonumentPieces.RoomDefinition p_i50659_2_) DoubleYRoom
(Direction p_i50657_1_, OceanMonumentPieces.RoomDefinition p_i50657_2_) DoubleYZRoom
(Direction p_i50655_1_, OceanMonumentPieces.RoomDefinition p_i50655_2_) DoubleZRoom
(Direction p_i50653_1_, OceanMonumentPieces.RoomDefinition p_i50653_2_) End
(int p_i45621_1_, Random p_i45621_2_, MutableBoundingBox p_i45621_3_, Direction p_i45621_4_) Entrance
(int p_i45617_1_, Random p_i45617_2_, MutableBoundingBox p_i45617_3_, Direction p_i45617_4_) EntryRoom
(Direction p_i45592_1_, OceanMonumentPieces.RoomDefinition p_i45592_2_) LeftTurn
(int p_i45579_1_, Random p_i45579_2_, MutableBoundingBox p_i45579_3_, Direction p_i45579_4_) Library
(int p_i45578_1_, Random p_i45578_2_, MutableBoundingBox p_i45578_3_, Direction p_i45578_4_) MonumentBuilding
(Random p_i45599_1_, int p_i45599_2_, int p_i45599_3_, Direction p_i45599_4_) MonumentCoreRoom
(Direction p_i50663_1_, OceanMonumentPieces.RoomDefinition p_i50663_2_) NetherStalkRoom
(int p_i50264_1_, MutableBoundingBox p_i50264_2_, Direction p_i50264_3_) Penthouse
(Direction p_i45591_1_, MutableBoundingBox p_i45591_2_) protected
Piece
(IStructurePieceType p_i50649_1_, int p_i50649_2_, Direction p_i50649_3_, OceanMonumentPieces.RoomDefinition p_i50649_4_, int p_i50649_5_, int p_i50649_6_, int p_i50649_7_) Piece
(IStructurePieceType p_i50648_1_, Direction p_i50648_2_, MutableBoundingBox p_i50648_3_) PortalRoom
(int p_i50131_1_, MutableBoundingBox p_i50131_2_, Direction p_i50131_3_) Prison
(int p_i45576_1_, Random p_i45576_2_, MutableBoundingBox p_i45576_3_, Direction p_i45576_4_) RightTurn
(int p_i50127_1_, Random p_i50127_2_, MutableBoundingBox p_i50127_3_, Direction p_i50127_4_) RoomCrossing
(int p_i45575_1_, Random p_i45575_2_, MutableBoundingBox p_i45575_3_, Direction p_i45575_4_) SimpleRoom
(Direction p_i45587_1_, OceanMonumentPieces.RoomDefinition p_i45587_2_, Random p_i45587_3_) SimpleTopRoom
(Direction p_i50644_1_, OceanMonumentPieces.RoomDefinition p_i50644_2_) Stairs
(int p_i50255_1_, MutableBoundingBox p_i50255_2_, Direction p_i50255_3_) Stairs
(int p_i50449_1_, MutableBoundingBox p_i50449_2_, Direction p_i50449_3_, MineshaftStructure.Type p_i50449_4_) Stairs
(int p_i45574_1_, Random p_i45574_2_, MutableBoundingBox p_i45574_3_, Direction p_i45574_4_) StairsStraight
(int p_i45572_1_, Random p_i45572_2_, MutableBoundingBox p_i45572_3_, Direction p_i45572_4_) Straight
(int p_i45620_1_, Random p_i45620_2_, MutableBoundingBox p_i45620_3_, Direction p_i45620_4_) Straight
(int p_i45573_1_, Random p_i45573_2_, MutableBoundingBox p_i45573_3_, Direction p_i45573_4_) Throne
(int p_i50262_1_, MutableBoundingBox p_i50262_2_, Direction p_i50262_3_) WingRoom
(Direction p_i45585_1_, MutableBoundingBox p_i45585_2_, int p_i45585_3_) -
Uses of Direction in net.minecraft.world.gen.feature.template
Modifier and TypeMethodDescriptionprivate void
Template.mirrorAABB
(Rotation p_215385_1_, int p_215385_2_, int p_215385_3_, MutableBoundingBox p_215385_4_, Direction p_215385_5_, Direction p_215385_6_) -
Uses of Direction in net.minecraft.world.lighting
Modifier and TypeFieldDescriptionprivate static final Direction[]
BlockLightEngine.DIRECTIONS
private static final Direction[]
LightEngine.DIRECTIONS
private static final Direction[]
SectionLightStorage.DIRECTIONS
private static final Direction[]
SkyLightEngine.DIRECTIONS
private static final Direction[]
SkyLightEngine.HORIZONTALS
private static final Direction[]
SkyLightStorage.HORIZONTALS
Modifier and TypeMethodDescriptionstatic int
LightEngine.getLightBlockInto
(IBlockReader p_215613_0_, BlockState p_215613_1_, BlockPos p_215613_2_, BlockState p_215613_3_, BlockPos p_215613_4_, Direction p_215613_5_, int p_215613_6_) protected VoxelShape
LightEngine.getShape
(BlockState p_223405_1_, long p_223405_2_, Direction p_223405_4_) -
Uses of Direction in net.minecraft.world.server
-
Uses of Direction in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.fillNormal
(int[] faceData, Direction facing) internal, relies on fixed format of FaceBakery -
Uses of Direction in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault Direction
IForgeTransformationMatrix.rotateTransform
(Direction facing) Modifier and TypeMethodDescriptionIForgeBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) default Direction
IForgeTransformationMatrix.rotateTransform
(Direction facing) -
Uses of Direction in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate static final Direction[]
ItemLayerModel.HORIZONTALS
private static final Direction[]
ItemLayerModel.VERTICALS
Modifier and TypeFieldDescriptionItemLayerModel.FaceData.data
protected final com.google.common.collect.ImmutableMap<Direction,
com.google.common.collect.ImmutableList<BakedQuad>> FluidModel.BakedFluid.faceQuads
Modifier and TypeMethodDescriptionprivate com.google.common.collect.ImmutableMap<Direction,
com.google.common.collect.ImmutableList<BakedQuad>> FluidModel.BakedFluid.buildQuads
(boolean statePresent, int[] cornerRound, int flowRound, boolean[] sideOverlays) Modifier and TypeMethodDescriptionIModelBuilder.addFaceQuad
(Direction facing, BakedQuad quad) IModelBuilder.Simple.addFaceQuad
(Direction facing, BakedQuad quad) private BakedQuad
FluidModel.BakedFluid.buildQuad
(Direction side, TextureAtlasSprite texture, boolean flip, boolean offset, FluidModel.BakedFluid.VertexParameter x, FluidModel.BakedFluid.VertexParameter y, FluidModel.BakedFluid.VertexParameter z, FluidModel.BakedFluid.VertexParameter u, FluidModel.BakedFluid.VertexParameter v) private static BakedQuad
ItemLayerModel.buildQuad
(TransformationMatrix transform, Direction side, TextureAtlasSprite sprite, int tint, boolean fullbright, float x0, float y0, float z0, float u0, float v0, float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3) private static BakedQuad
ItemLayerModel.buildSideQuad
(TransformationMatrix transform, Direction side, int tint, TextureAtlasSprite sprite, int u, int v, int size, boolean fullbright) ItemTextureQuadConverter.convertTexture
(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint) Takes a texture and converts it into BakedQuads.ItemTextureQuadConverter.convertTexture
(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity) ItemTextureQuadConverter.convertTextureHorizontal
(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint) Scans a texture and converts it into a list of horizontal strips stacked on top of each other.ItemTextureQuadConverter.convertTextureHorizontal
(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity) ItemTextureQuadConverter.convertTextureVertical
(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint) Scans a texture and converts it into a list of vertical strips stacked next to each other from left to right.ItemTextureQuadConverter.convertTextureVertical
(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity) static BakedQuad
ItemTextureQuadConverter.genQuad
(TransformationMatrix transform, float x1, float y1, float x2, float y2, float z, TextureAtlasSprite sprite, Direction facing, int color, int tint) Generates a Front/Back quad for an itemmodel.static BakedQuad
ItemTextureQuadConverter.genQuad
(TransformationMatrix transform, float x1, float y1, float x2, float y2, float z, TextureAtlasSprite sprite, Direction facing, int color, int tint, int luminosity) boolean
BakedItemModel.BakedGuiItemModel.getQuads
(BlockState state, Direction side, Random rand) BakedItemModel.getQuads
(BlockState state, Direction side, Random rand) BakedModelWrapper.getQuads
(BlockState state, Direction side, Random rand) BakedModelWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) CompositeModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) FluidModel.BakedFluid.getQuads
(BlockState state, Direction side, Random rand) FluidModel.CachingBakedFluid.getQuads
(BlockState state, Direction side, Random rand, IModelData modelData) ItemMultiLayerBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData modelData) MultiLayerModel.MultiLayerBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) PerspectiveMapWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) SeparatePerspectiveModel.BakedModel.getQuads
(BlockState state, Direction side, Random rand) private static BakedQuad
ItemTextureQuadConverter.putQuad
(TransformationMatrix transform, Direction side, TextureAtlasSprite sprite, int color, int tint, float x1, float y1, float x2, float y2, float z, float u1, float v1, float u2, float v2, int luminosity) private void
FluidModel.BakedFluid.putVertex
(IVertexConsumer consumer, Direction side, boolean offset, float x, float y, float z, float u, float v) private static void
ItemLayerModel.putVertex
(IVertexConsumer consumer, Direction side, float x, float y, float z, float u, float v, int uLight, int vLight) private static void
ItemTextureQuadConverter.putVertex
(IVertexConsumer consumer, Direction side, float x, float y, float z, float u, float v, int color, int luminosity) private static Direction
void
-
Uses of Direction in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.BakedWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData data) -
Uses of Direction in net.minecraftforge.client.model.data
Modifier and TypeMethodDescriptionIDynamicBakedModel.getQuads
(BlockState state, Direction side, Random rand) IDynamicBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) -
Uses of Direction in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprivate Direction
ModelBuilder.ElementBuilder.FaceBuilder.cullface
Modifier and TypeFieldDescriptionprivate final Map<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.faces
static final com.google.common.collect.ImmutableMap<Direction,
Property<WallHeight>> BlockStateProvider.WALL_PROPS
Modifier and TypeMethodDescriptionprivate BiConsumer<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.addTexture
(String texture) Modifier and TypeMethodDescriptionReturn or create the face builder for the given direction.Modifier and TypeMethodDescriptionModelBuilder.ElementBuilder.allFaces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ModelBuilder.ElementBuilder.faces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all existing faces dynamically using a function.private void
BlockStateProvider.wallSidePart
(MultiPartBlockStateBuilder builder, ModelFile model, Map.Entry<Direction, Property<WallHeight>> entry, WallHeight height) -
Uses of Direction in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionOBJModel.makeQuad
(int[][] indices, int tintIndex, Vector4f colorTint, Vector4f ambientColor, TextureAtlasSprite texture, TransformationMatrix transform) -
Uses of Direction in net.minecraftforge.client.model.pipeline
Modifier and TypeFieldDescriptionprivate Direction
BakedQuadBuilder.orientation
private static final Direction[]
BlockInfo.SIDES
Modifier and TypeMethodDescriptionstatic float
LightUtil.diffuseLight
(Direction side) void
BakedQuadBuilder.setQuadOrientation
(Direction orientation) void
IVertexConsumer.setQuadOrientation
(Direction orientation) void
VertexBufferConsumer.setQuadOrientation
(Direction orientation) void
VertexLighterFlat.setQuadOrientation
(Direction orientation) void
VertexTransformer.setQuadOrientation
(Direction orientation) -
Uses of Direction in net.minecraftforge.common
Modifier and TypeMethodDescriptionForgeHooks.onLeftClickBlock
(PlayerEntity player, BlockPos pos, Direction face) ForgeHooks.onRightClickBlock
(PlayerEntity player, Hand hand, BlockPos pos, Direction face) Deprecated. -
Uses of Direction in net.minecraftforge.common.capabilities
Modifier and TypeMethodDescription<T> LazyOptional<T>
CapabilityDispatcher.getCapability
(Capability<T> cap, Direction side) <T> LazyOptional<T>
CapabilityProvider.getCapability
(Capability<T> cap, Direction side) <T> LazyOptional<T>
ICapabilityProvider.getCapability
(Capability<T> cap, Direction side) Retrieves the Optional handler for the capability requested on the specific side.void
Read the capability instance from a NBT tag.void
Quick access to the IStorage's readNBT.Capability.IStorage.writeNBT
(Capability<T> capability, T instance, Direction side) Serialize the capability instance to a NBTTag.Quick access to the IStorage's writeNBT. -
Uses of Direction in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Direction
IForgeBlock.getBedDirection
(BlockState state, IWorldReader world, BlockPos pos) Returns the direction of the block.default Direction
IForgeBlockState.getBedDirection
(IWorldReader world, BlockPos pos) Returns the direction of the block.Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.canConnectRedstone
(BlockState state, IBlockReader world, BlockPos pos, Direction side) Determine if this block can make a redstone connection on the side provided, Useful to control which sides are inputs and outputs for redstone wires.default boolean
IForgeBlockState.canConnectRedstone
(IBlockReader world, BlockPos pos, Direction side) Determine if this block can make a redstone connection on the side provided, Useful to control which sides are inputs and outputs for redstone wires.boolean
IForgeBlock.canSustainPlant
(BlockState state, IBlockReader world, BlockPos pos, Direction facing, IPlantable plantable) Determines if this block can support the passed in plant, allowing it to be planted and grow.default boolean
IForgeBlockState.canSustainPlant
(IBlockReader world, BlockPos pos, Direction facing, IPlantable plantable) Determines if this block can support the passed in plant, allowing it to be planted and grow.default void
IForgeBlock.catchFire
(BlockState state, World world, BlockPos pos, Direction face, LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default void
IForgeBlockState.catchFire
(World world, BlockPos pos, Direction face, LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default int
IForgeBlock.getFireSpreadSpeed
(BlockState state, IBlockReader world, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default int
IForgeBlockState.getFireSpreadSpeed
(IBlockReader world, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default int
IForgeBlock.getFlammability
(BlockState state, IBlockReader world, BlockPos pos, Direction face) Chance that fire will spread and consume this block.default int
IForgeBlockState.getFlammability
(IBlockReader world, BlockPos pos, Direction face) Chance that fire will spread and consume this block.default boolean
IForgeBlock.isFireSource
(BlockState state, IWorldReader world, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IForgeBlockState.isFireSource
(IWorldReader world, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IForgeBlock.isFlammable
(BlockState state, IBlockReader world, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.default boolean
IForgeBlockState.isFlammable
(IBlockReader world, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.default boolean
IForgeBlock.shouldCheckWeakPower
(BlockState state, IWorldReader world, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules.default boolean
IForgeBlockState.shouldCheckWeakPower
(IWorldReader world, BlockPos pos, Direction side) Called to determine whether to allow the a block to handle its own indirect power rather than using the default rules. -
Uses of Direction in net.minecraftforge.common.model.animation
Modifier and TypeMethodDescription<T> LazyOptional<T>
CapabilityAnimation.DefaultItemAnimationCapabilityProvider.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionboolean
CustomPlantTypeTest.CustomBlock.canSustainPlant
(BlockState state, IBlockReader world, BlockPos pos, Direction facing, IPlantable plantable) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getPlantQuads
(Block plant, Direction face, Random rand) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) -
Uses of Direction in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionTRSRTransformerTest.MyBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData data) -
Uses of Direction in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onBlockPlace
(Entity entity, BlockSnapshot blockSnapshot, Direction direction) static boolean
ForgeEventFactory.onMultiBlockPlace
(Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static boolean
ForgeEventFactory.onPistonMovePost
(World world, BlockPos pos, Direction direction, boolean extending) static boolean
ForgeEventFactory.onPistonMovePre
(World world, BlockPos pos, Direction direction, boolean extending) Modifier and TypeMethodDescriptionForgeEventFactory.onNeighborNotify
(World world, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.minecraftforge.event.entity.player
ModifierConstructorDescriptionLeftClickBlock
(PlayerEntity player, BlockPos pos, Direction face) private
PlayerInteractEvent
(PlayerEntity player, Hand hand, BlockPos pos, Direction face) RightClickBlock
(PlayerEntity player, Hand hand, BlockPos pos, Direction face) Deprecated. -
Uses of Direction in net.minecraftforge.event.world
Modifier and TypeMethodDescriptionBlockEvent.NeighborNotifyEvent.getNotifiedSides()
Gets a list of directions from the base block that updates will occur upon.ModifierConstructorDescriptionPistonEvent
(World world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Post
(World world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Pre
(World world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) ModifierConstructorDescriptionNeighborNotifyEvent
(World world, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionprotected boolean
ForgeFlowingFluid.canBeReplacedWith
(FluidState state, IBlockReader world, BlockPos pos, Fluid fluidIn, Direction direction) static LazyOptional<IFluidHandler>
FluidUtil.getFluidHandler
(World world, BlockPos blockPos, Direction side) Helper method to get an IFluidHandler for at a block position.static boolean
FluidUtil.interactWithFluidHandler
(PlayerEntity player, Hand hand, World world, BlockPos pos, Direction side) Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.static FluidActionResult
FluidUtil.tryPickUpFluid
(ItemStack emptyContainer, PlayerEntity playerIn, World worldIn, BlockPos pos, Direction side) Attempts to pick up a fluid in the world and put it in an empty container item. -
Uses of Direction in net.minecraftforge.fluids.capability
Modifier and TypeMethodDescription<T> LazyOptional<T>
TileFluidHandler.getCapability
(Capability<T> capability, Direction facing) void
CapabilityFluidHandler.DefaultFluidHandlerStorage.readNBT
(Capability<T> capability, T instance, Direction side, INBT nbt) CapabilityFluidHandler.DefaultFluidHandlerStorage.writeNBT
(Capability<T> capability, T instance, Direction side) -
Uses of Direction in net.minecraftforge.fluids.capability.templates
Modifier and TypeMethodDescription<T> LazyOptional<T>
FluidHandlerItemStack.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
FluidHandlerItemStackSimple.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraftforge.fluids.capability.wrappers
Modifier and TypeMethodDescription<T> LazyOptional<T>
FluidBucketWrapper.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraftforge.items
Modifier and TypeMethodDescriptionprivate static Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,
Object>> VanillaInventoryCodeHooks.getItemHandler
(IHopper hopper, Direction hopperFacing) static Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,
Object>> VanillaInventoryCodeHooks.getItemHandler
(World worldIn, double x, double y, double z, Direction side) -
Uses of Direction in net.minecraftforge.items.wrapper
Modifier and TypeMethodDescriptionstatic LazyOptional<IItemHandlerModifiable>[]
SidedInvWrapper.create
(ISidedInventory inv, Direction... sides) static int
SidedInvWrapper.getSlot
(ISidedInventory inv, int slot, Direction side) -
Uses of Direction in net.minecraftforge.server.permission.context
ModifierConstructorDescriptionBlockPosContext
(PlayerEntity ep, BlockPos pos, BlockState state, Direction f)
IForgeBakedModel.getQuads(IBlockState, EnumFacing, Random, net.minecraftforge.client.model.data.IModelData)