Uses of Class
net.minecraft.util.Direction
-
-
Uses of Direction in net.minecraft.block
Fields in net.minecraft.block declared as Direction Modifier and Type Field Description private Direction
Block.RenderSideCacheKey. direction
private static Direction[]
AbstractBlock.AbstractBlockState.Cache. DIRECTIONS
private static Direction[]
SixWayBlock. DIRECTIONS
protected Direction
AbstractPlantBlock. growthDirection
private Direction
PistonBlockStructureHelper. pistonDirection
private Direction
PistonBlockStructureHelper. pushDirection
private Direction
PortalSize. rightDir
private static Direction[]
BeehiveBlock. SPAWN_DIRECTIONS
protected static Direction[]
AbstractBlock. UPDATE_SHAPE_ORDER
Fields in net.minecraft.block with type parameters of type Direction Modifier and Type Field Description private static java.util.Map<Direction,VoxelShape>
AttachedStemBlock. AABBS
private static java.util.Map<Direction,VoxelShape>
WallSignBlock. AABBS
private static java.util.Map<Direction,VoxelShape>
WallSkullBlock. AABBS
private static java.util.Map<Direction,VoxelShape>
WallTorchBlock. AABBS
static EnumProperty<Direction>
ShulkerBoxBlock. FACING
private static java.util.Map<Direction,BooleanProperty>
FireBlock. PROPERTY_BY_DIRECTION
protected static java.util.Map<Direction,BooleanProperty>
FourWayBlock. PROPERTY_BY_DIRECTION
private static java.util.Map<Direction,BooleanProperty>
HugeMushroomBlock. PROPERTY_BY_DIRECTION
static java.util.Map<Direction,EnumProperty<RedstoneSide>>
RedstoneWireBlock. PROPERTY_BY_DIRECTION
static java.util.Map<Direction,BooleanProperty>
SixWayBlock. PROPERTY_BY_DIRECTION
private static java.util.Map<Direction,BooleanProperty>
TripWireBlock. PROPERTY_BY_DIRECTION
static java.util.Map<Direction,BooleanProperty>
VineBlock. PROPERTY_BY_DIRECTION
private static java.util.Map<Direction,VoxelShape>
DeadCoralWallFanBlock. SHAPES
private static java.util.Map<Direction,VoxelShape>
WallBannerBlock. SHAPES
private static java.util.Map<Direction,VoxelShape>
RedstoneWireBlock. SHAPES_FLOOR
private static java.util.Map<Direction,VoxelShape>
RedstoneWireBlock. SHAPES_UP
Methods in net.minecraft.block that return Direction Modifier and Type Method Description private 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(java.util.Random p_235331_0_)
static Direction
JigsawBlock. getTopFacing(BlockState p_235509_0_)
Methods in net.minecraft.block with parameters of type Direction Modifier and Type Method Description private 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_)
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_)
private static java.util.Optional<Vector3d>
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_)
VoxelShape
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
FourWayBlock. indexFor(Direction p_196407_0_)
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
AbstractFireBlock. isPortal(World p_241466_0_, BlockPos p_241466_1_, Direction p_241466_2_)
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_, java.util.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_, java.util.Random p_176536_4_, int p_176536_5_, Direction face)
BlockState
AbstractBlock.AbstractBlockState. updateShape(Direction p_196956_1_, BlockState p_196956_2_, IWorld p_196956_3_, BlockPos p_196956_4_, BlockPos p_196956_5_)
BlockState
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.BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
BlockState
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_)
Constructors in net.minecraft.block with parameters of type Direction Constructor Description AbstractBodyPlantBlock(AbstractBlock.Properties p_i241179_1_, Direction p_i241179_2_, VoxelShape p_i241179_3_, boolean p_i241179_4_)
AbstractPlantBlock(AbstractBlock.Properties p_i241178_1_, Direction p_i241178_2_, VoxelShape p_i241178_3_, boolean p_i241178_4_)
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
Fields in net.minecraft.block.pattern declared as Direction Modifier and Type Field Description private Direction
BlockPattern.PatternHelper. forwards
private Direction
BlockPattern.PatternHelper. up
Methods in net.minecraft.block.pattern that return Direction Modifier and Type Method Description Direction
BlockPattern.PatternHelper. getForwards()
Direction
BlockPattern.PatternHelper. getUp()
Methods in net.minecraft.block.pattern with parameters of type Direction Modifier and Type Method Description private 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_)
Constructors in net.minecraft.block.pattern with parameters of type Direction Constructor Description PatternHelper(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
Methods in net.minecraft.client.multiplayer with parameters of type Direction Modifier and Type Method Description boolean
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
Methods in net.minecraft.client.particle with parameters of type Direction Modifier and Type Method Description void
ParticleManager. crack(BlockPos p_180532_1_, Direction p_180532_2_)
-
Uses of Direction in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as Direction Modifier and Type Field Description private Direction[]
BlockModelRenderer.NeighborInfo. corners
static Direction[]
WorldRenderer. DIRECTIONS
private Direction
WorldRenderer.LocalRenderInformationContainer. sourceDirection
Methods in net.minecraft.client.renderer with parameters of type Direction Modifier and Type Method Description void
BlockModelRenderer.AmbientOcclusionFace. calculate(IBlockDisplayReader p_239285_1_, BlockState p_239285_2_, BlockPos p_239285_3_, Direction p_239285_4_, float[] p_239285_5_, java.util.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_, java.util.BitSet p_228801_7_)
static BlockModelRenderer.NeighborInfo
BlockModelRenderer.NeighborInfo. fromFacing(Direction p_178273_0_)
static BlockModelRenderer.VertexTranslations
BlockModelRenderer.VertexTranslations. fromFacing(Direction p_178184_0_)
static FaceDirection
FaceDirection. fromFacing(Direction p_179027_0_)
private ChunkRenderDispatcher.ChunkRender
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_)
Constructors in net.minecraft.client.renderer with parameters of type Direction Constructor Description LocalRenderInformationContainer(ChunkRenderDispatcher.ChunkRender p_i46248_2_, Direction p_i46248_3_, int p_i46248_4_)
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_)
Orientation(Direction p_i46233_3_, boolean p_i46233_4_)
-
Uses of Direction in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as Direction Modifier and Type Field Description private static Direction[]
VisGraph. DIRECTIONS
Methods in net.minecraft.client.renderer.chunk that return types with arguments of type Direction Modifier and Type Method Description private java.util.Set<Direction>
VisGraph. floodFill(int p_178604_1_)
Methods in net.minecraft.client.renderer.chunk with parameters of type Direction Modifier and Type Method Description boolean
ChunkRenderDispatcher.CompiledChunk. facesCanSeeEachother(Direction p_178495_1_, Direction p_178495_2_)
private int
VisGraph. getNeighborIndexAtFace(int p_178603_1_, Direction p_178603_2_)
BlockPos
ChunkRenderDispatcher.ChunkRender. getRelativeOrigin(Direction p_181701_1_)
float
ChunkRenderCache. getShade(Direction p_230487_1_, boolean p_230487_2_)
void
SetVisibility. set(Direction p_178619_1_, Direction p_178619_2_, boolean p_178619_3_)
boolean
SetVisibility. visibilityBetween(Direction p_178621_1_, Direction p_178621_2_)
Method parameters in net.minecraft.client.renderer.chunk with type arguments of type Direction Modifier and Type Method Description void
SetVisibility. add(java.util.Set<Direction> p_178620_1_)
private void
VisGraph. addEdges(int p_178610_1_, java.util.Set<Direction> p_178610_2_)
-
Uses of Direction in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type Direction Modifier and Type Method Description private static float
LivingRenderer. sleepDirectionToRotation(Direction p_217765_0_)
-
Uses of Direction in net.minecraft.client.renderer.model
Fields in net.minecraft.client.renderer.model declared as Direction Modifier and Type Field Description Direction
BlockPartFace. cullForDirection
protected Direction
BakedQuad. direction
private Direction
ItemModelGenerator.SpanFacing. direction
Fields in net.minecraft.client.renderer.model with type parameters of type Direction Modifier and Type Field Description private java.util.Map<Direction,java.util.List<BakedQuad>>
SimpleBakedModel.Builder. culledFaces
protected java.util.Map<Direction,java.util.List<BakedQuad>>
SimpleBakedModel. culledFaces
java.util.Map<Direction,BlockPartFace>
BlockPart. faces
static java.util.EnumMap<Direction,TransformationMatrix>
UVTransformationUtil. vanillaUvTransformGlobalToLocal
static java.util.EnumMap<Direction,TransformationMatrix>
UVTransformationUtil. vanillaUvTransformLocalToGlobal
Methods in net.minecraft.client.renderer.model that return Direction Modifier and Type Method Description static Direction
FaceBakery. calculateFacing(int[] p_178410_0_)
private Direction
BlockPartFace.Deserializer. getCullFacing(com.google.gson.JsonObject p_178339_1_)
Direction
BakedQuad. getDirection()
Direction
ItemModelGenerator.SpanFacing. getDirection()
private Direction
BlockPart.Deserializer. getFacing(java.lang.String p_178248_1_)
Methods in net.minecraft.client.renderer.model that return types with arguments of type Direction Modifier and Type Method Description private java.util.Map<Direction,BlockPartFace>
BlockPart.Deserializer. filterNullFromFaces(com.google.gson.JsonDeserializationContext p_178253_1_, com.google.gson.JsonObject p_178253_2_)
private java.util.Map<Direction,BlockPartFace>
BlockPart.Deserializer. getFaces(com.google.gson.JsonDeserializationContext p_178250_1_, com.google.gson.JsonObject p_178250_2_)
Methods in net.minecraft.client.renderer.model with parameters of type Direction Modifier and Type Method Description SimpleBakedModel.Builder
SimpleBakedModel.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_)
BakedQuad
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_)
java.util.List<BakedQuad>
BuiltInModel. getQuads(BlockState p_200117_1_, Direction p_200117_2_, java.util.Random p_200117_3_)
java.util.List<BakedQuad>
IBakedModel. getQuads(BlockState p_200117_1_, Direction p_200117_2_, java.util.Random p_200117_3_)
Deprecated.Forge: Usenet.minecraftforge.client.extensions.IForgeBakedModel#getQuads(IBlockState, EnumFacing, Random, net.minecraftforge.client.model.data.IModelData)
java.util.List<BakedQuad>
MultipartBakedModel. getQuads(BlockState p_200117_1_, Direction p_200117_2_, java.util.Random p_200117_3_, IModelData modelData)
java.util.List<BakedQuad>
SimpleBakedModel. getQuads(BlockState p_200117_1_, Direction p_200117_2_, java.util.Random p_200117_3_)
java.util.List<BakedQuad>
WeightedBakedModel. getQuads(BlockState p_200117_1_, Direction p_200117_2_, java.util.Random p_200117_3_, IModelData modelData)
static TransformationMatrix
UVTransformationUtil. getUVLockTransform(TransformationMatrix p_229380_0_, Direction p_229380_1_, java.util.function.Supplier<java.lang.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[]
BlockPart. uvsByFace(Direction p_178236_1_)
Constructors in net.minecraft.client.renderer.model with parameters of type Direction Constructor Description BakedQuad(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_, java.lang.String p_i46230_3_, BlockFaceUV p_i46230_4_)
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_)
Constructor parameters in net.minecraft.client.renderer.model with type arguments of type Direction Constructor Description BlockPart(Vector3f p_i47624_1_, Vector3f p_i47624_2_, java.util.Map<Direction,BlockPartFace> p_i47624_3_, BlockPartRotation p_i47624_4_, boolean p_i47624_5_)
SimpleBakedModel(java.util.List<BakedQuad> p_i230059_1_, java.util.Map<Direction,java.util.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
Methods in net.minecraft.client.renderer.tileentity with parameters of type Direction Modifier and Type Method Description private 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
Methods in net.minecraft.client.world with parameters of type Direction Modifier and Type Method Description float
ClientWorld. getShade(Direction p_230487_1_, boolean p_230487_2_)
-
Uses of Direction in net.minecraft.data
Methods in net.minecraft.data that return types with arguments of type Direction Modifier and Type Method Description private static BlockStateVariantBuilder.Four<Direction,DoubleBlockHalf,DoorHingeSide,java.lang.Boolean>
BlockModelProvider. configureDoorHalf(BlockStateVariantBuilder.Four<Direction,DoubleBlockHalf,DoorHingeSide,java.lang.Boolean> p_239903_0_, DoubleBlockHalf p_239903_1_, ResourceLocation p_239903_2_, ResourceLocation p_239903_3_)
Method parameters in net.minecraft.data with type arguments of type Direction Modifier and Type Method Description private static BlockStateVariantBuilder.Four<Direction,DoubleBlockHalf,DoorHingeSide,java.lang.Boolean>
BlockModelProvider. configureDoorHalf(BlockStateVariantBuilder.Four<Direction,DoubleBlockHalf,DoorHingeSide,java.lang.Boolean> p_239903_0_, DoubleBlockHalf p_239903_1_, ResourceLocation p_239903_2_, ResourceLocation p_239903_3_)
-
Uses of Direction in net.minecraft.dispenser
Methods in net.minecraft.dispenser with parameters of type Direction Modifier and Type Method Description protected 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
Methods in net.minecraft.entity that return Direction Modifier and Type Method Description Direction
LivingEntity. getBedOrientation()
Direction
Entity. getDirection()
Direction
Entity. getMotionDirection()
Methods in net.minecraft.entity with parameters of type Direction Modifier and Type Method Description <T> LazyOptional<T>
LivingEntity. getCapability(Capability<T> capability, Direction facing)
-
Uses of Direction in net.minecraft.entity.item
Fields in net.minecraft.entity.item declared as Direction Modifier and Type Field Description protected Direction
HangingEntity. direction
Methods in net.minecraft.entity.item that return Direction Modifier and Type Method Description Direction
HangingEntity. getDirection()
Direction
BoatEntity. getMotionDirection()
Methods in net.minecraft.entity.item with parameters of type Direction Modifier and Type Method Description protected void
HangingEntity. setDirection(Direction p_174859_1_)
protected void
ItemFrameEntity. setDirection(Direction p_174859_1_)
void
LeashKnotEntity. setDirection(Direction p_174859_1_)
Constructors in net.minecraft.entity.item with parameters of type Direction Constructor Description ItemFrameEntity(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
Methods in net.minecraft.entity.item.minecart that return Direction Modifier and Type Method Description Direction
AbstractMinecartEntity. getMotionDirection()
Methods in net.minecraft.entity.item.minecart with parameters of type Direction Modifier and Type Method Description <T> LazyOptional<T>
ContainerMinecartEntity. getCapability(Capability<T> capability, Direction facing)
-
Uses of Direction in net.minecraft.entity.monster
Fields in net.minecraft.entity.monster declared as Direction Modifier and Type Field Description private Direction
SilverfishEntity.HideInStoneGoal. selectedDirection
Fields in net.minecraft.entity.monster with type parameters of type Direction Modifier and Type Field Description protected static DataParameter<Direction>
ShulkerEntity. DATA_ATTACH_FACE_ID
Methods in net.minecraft.entity.monster that return Direction Modifier and Type Method Description protected Direction
ShulkerEntity. findAttachableFace(BlockPos p_234299_1_)
Direction
ShulkerEntity. getAttachFace()
Methods in net.minecraft.entity.monster with parameters of type Direction Modifier and Type Method Description private boolean
ShulkerEntity. canAttachOnBlockFace(BlockPos p_234298_1_, Direction p_234298_2_)
-
Uses of Direction in net.minecraft.entity.passive.horse
Methods in net.minecraft.entity.passive.horse with parameters of type Direction Modifier and Type Method Description <T> LazyOptional<T>
AbstractHorseEntity. getCapability(Capability<T> capability, Direction facing)
-
Uses of Direction in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Direction Modifier and Type Method Description private 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
Fields in net.minecraft.entity.projectile declared as Direction Modifier and Type Field Description private Direction
ShulkerBulletEntity. currentMoveDirection
Methods in net.minecraft.entity.projectile with parameters of type Direction Modifier and Type Method Description private void
PotionEntity. dowseFire(BlockPos p_184542_1_, Direction p_184542_2_)
private void
ShulkerBulletEntity. setMoveDirection(Direction p_184568_1_)
-
Uses of Direction in net.minecraft.fluid
Methods in net.minecraft.fluid that return types with arguments of type Direction Modifier and Type Method Description protected java.util.Map<Direction,FluidState>
FlowingFluid. getSpread(IWorldReader p_205572_1_, BlockPos p_205572_2_, BlockState p_205572_3_)
Methods in net.minecraft.fluid with parameters of type Direction Modifier and Type Method Description boolean
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
Methods in net.minecraft.inventory with parameters of type Direction Modifier and Type Method Description boolean
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
Fields in net.minecraft.item declared as Direction Modifier and Type Field Description private Direction
DirectionalPlaceContext. direction
Methods in net.minecraft.item that return Direction Modifier and Type Method Description Direction
ItemUseContext. getClickedFace()
Direction
DirectionalPlaceContext. getHorizontalDirection()
Direction
ItemUseContext. getHorizontalDirection()
Direction
BlockItemUseContext. getNearestLookingDirection()
Direction
DirectionalPlaceContext. getNearestLookingDirection()
Direction[]
BlockItemUseContext. getNearestLookingDirections()
Direction[]
DirectionalPlaceContext. getNearestLookingDirections()
Methods in net.minecraft.item with parameters of type Direction Modifier and Type Method Description static 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_)
Constructors in net.minecraft.item with parameters of type Direction Constructor Description DirectionalPlaceContext(World p_i50051_1_, BlockPos p_i50051_2_, Direction p_i50051_3_, ItemStack p_i50051_4_, Direction p_i50051_5_)
-
Uses of Direction in net.minecraft.network.datasync
Fields in net.minecraft.network.datasync with type parameters of type Direction Modifier and Type Field Description static IDataSerializer<Direction>
DataSerializers. DIRECTION
-
Uses of Direction in net.minecraft.network.play.client
Fields in net.minecraft.network.play.client declared as Direction Modifier and Type Field Description private Direction
CPlayerDiggingPacket. direction
Methods in net.minecraft.network.play.client that return Direction Modifier and Type Method Description Direction
CPlayerDiggingPacket. getDirection()
Constructors in net.minecraft.network.play.client with parameters of type Direction Constructor Description CPlayerDiggingPacket(CPlayerDiggingPacket.Action p_i46871_1_, BlockPos p_i46871_2_, Direction p_i46871_3_)
-
Uses of Direction in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as Direction Modifier and Type Field Description private Direction
SSpawnPaintingPacket. direction
Methods in net.minecraft.network.play.server that return Direction Modifier and Type Method Description Direction
SSpawnPaintingPacket. getDirection()
-
Uses of Direction in net.minecraft.pathfinding
Methods in net.minecraft.pathfinding with parameters of type Direction Modifier and Type Method Description private 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
Methods in net.minecraft.server.management with parameters of type Direction Modifier and Type Method Description void
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
Methods in net.minecraft.state with parameters of type Direction Modifier and Type Method Description static DirectionProperty
DirectionProperty. create(java.lang.String p_196962_0_, Direction... p_196962_1_)
Method parameters in net.minecraft.state with type arguments of type Direction Modifier and Type Method Description static DirectionProperty
DirectionProperty. create(java.lang.String p_177713_0_, java.util.Collection<Direction> p_177713_1_)
static DirectionProperty
DirectionProperty. create(java.lang.String p_177712_0_, java.util.function.Predicate<Direction> p_177712_1_)
Constructor parameters in net.minecraft.state with type arguments of type Direction Constructor Description DirectionProperty(java.lang.String p_i45650_1_, java.util.Collection<Direction> p_i45650_2_)
-
Uses of Direction in net.minecraft.tileentity
Fields in net.minecraft.tileentity declared as Direction Modifier and Type Field Description Direction
BellTileEntity. clickDirection
private Direction
PistonTileEntity. direction
Fields in net.minecraft.tileentity with type parameters of type Direction Modifier and Type Field Description private static java.lang.ThreadLocal<Direction>
PistonTileEntity. NOCLIP
Methods in net.minecraft.tileentity that return Direction Modifier and Type Method Description Direction
PistonTileEntity. getDirection()
Direction
PistonTileEntity. getMovementDirection()
Methods in net.minecraft.tileentity with parameters of type Direction Modifier and Type Method Description static 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_)
AxisAlignedBB
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 java.util.stream.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
BellTileEntity. onHit(Direction p_213939_1_)
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_)
Constructors in net.minecraft.tileentity with parameters of type Direction Constructor Description PistonTileEntity(BlockState p_i45665_1_, Direction p_i45665_2_, boolean p_i45665_3_, boolean p_i45665_4_)
-
Uses of Direction in net.minecraft.util
Fields in net.minecraft.util declared as Direction Modifier and Type Field Description private static Direction[]
Direction. BY_2D_DATA
private static Direction[]
Direction. BY_3D_DATA
private Direction[]
Direction.Plane. faces
private static Direction[]
Direction. VALUES
Fields in net.minecraft.util with type parameters of type Direction Modifier and Type Field Description private static java.util.Map<java.lang.String,Direction>
Direction. BY_NAME
private static it.unimi.dsi.fastutil.longs.Long2ObjectMap<Direction>
Direction. BY_NORMAL
private java.util.Set<Direction>
Direction8. directions
Methods in net.minecraft.util that return Direction Modifier and Type Method Description static Direction
Direction. byName(java.lang.String p_176739_0_)
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
Direction. getClockWise()
Direction
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
Direction. getOpposite()
static Direction
Direction. getRandom(java.util.Random p_239631_0_)
Direction
Direction.Plane. getRandomDirection(java.util.Random p_179518_1_)
private static Direction[]
Direction. makeDirectionArray(Direction p_196053_0_, Direction p_196053_1_, Direction p_196053_2_)
Direction
Mirror. mirror(Direction p_185803_1_)
static Direction[]
Direction. orderedByNearest(Entity p_196054_0_)
static Direction
Direction. rotate(Matrix4f p_229385_0_, Direction p_229385_1_)
Direction
Rotation. rotate(Direction p_185831_1_)
static Direction
Direction. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Direction[]
Direction. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.util that return types with arguments of type Direction Modifier and Type Method Description java.util.Set<Direction>
Direction8. getDirections()
java.util.Iterator<Direction>
Direction.Plane. iterator()
java.util.stream.Stream<Direction>
Direction.Plane. stream()
Methods in net.minecraft.util with parameters of type Direction Modifier and Type Method Description private static int
TeleportationRepositioner. getLimit(java.util.function.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_)
Rotation
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_)
Direction
Mirror. mirror(Direction p_185803_1_)
static int[][]
TransportationHelper. offsetsForDirection(Direction p_234632_0_)
static AxisAlignedBB
ShulkerAABBHelper. openBoundingBox(BlockPos p_233539_0_, Direction p_233539_1_)
static Direction
Direction. rotate(Matrix4f p_229385_0_, Direction p_229385_1_)
Direction
Rotation. rotate(Direction p_185831_1_)
boolean
Direction.Axis. test(Direction p_test_1_)
boolean
Direction.Plane. test(Direction p_test_1_)
Constructors in net.minecraft.util with parameters of type Direction Constructor Description Direction8(Direction... p_i47954_3_)
Plane(Direction[] p_i49393_3_, Direction.Axis[] p_i49393_4_)
-
Uses of Direction in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Direction Modifier and Type Field Description private Direction
BlockRayTraceResult. direction
Methods in net.minecraft.util.math that return Direction Modifier and Type Method Description private 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_)
Direction
BlockRayTraceResult. getDirection()
Methods in net.minecraft.util.math with parameters of type Direction Modifier and Type Method Description private 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
BlockRayTraceResult. miss(Vector3d p_216352_0_, Direction p_216352_1_, BlockPos p_216352_2_)
BlockPos.Mutable
BlockPos.Mutable. move(Direction p_189536_1_)
BlockPos.Mutable
BlockPos.Mutable. move(Direction p_189534_1_, int p_189534_2_)
static long
BlockPos. offset(long p_218289_0_, Direction p_218289_2_)
static long
SectionPos. offset(long p_218172_0_, Direction p_218172_2_)
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
BlockPos.Mutable. relative(Direction p_177967_1_, int p_177967_2_)
BlockPos
BlockPos. relative(Direction p_177972_1_)
BlockPos
BlockPos. relative(Direction p_177967_1_, int p_177967_2_)
BlockPos.Mutable
BlockPos.Mutable. setWithOffset(Vector3i p_239622_1_, Direction p_239622_2_)
static java.lang.Iterable<BlockPos.Mutable>
BlockPos. spiralAround(BlockPos p_243514_0_, int p_243514_1_, Direction p_243514_2_, Direction p_243514_3_)
BlockRayTraceResult
BlockRayTraceResult. withDirection(Direction p_216351_1_)
Constructors in net.minecraft.util.math with parameters of type Direction Constructor Description 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
Methods in net.minecraft.util.math.shapes with parameters of type Direction Modifier and Type Method Description static 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
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
Fields in net.minecraft.util.math.vector with type parameters of type Direction Modifier and Type Field Description private java.util.Map<Direction,Direction>
Orientation. rotatedDirections
private java.util.Map<Direction,Direction>
Orientation. rotatedDirections
Methods in net.minecraft.util.math.vector that return Direction Modifier and Type Method Description Direction
Orientation. rotate(Direction p_235530_1_)
Methods in net.minecraft.util.math.vector with parameters of type Direction Modifier and Type Method Description Vector3i
Vector3i. relative(Direction p_177967_1_, int p_177967_2_)
Direction
Orientation. rotate(Direction p_235530_1_)
-
Uses of Direction in net.minecraft.util.palette
Fields in net.minecraft.util.palette declared as Direction Modifier and Type Field Description static Direction[]
UpgradeData.BlockFixers. DIRECTIONS
Methods in net.minecraft.util.palette with parameters of type Direction Modifier and Type Method Description BlockState
UpgradeData.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
Fields in net.minecraft.world declared as Direction Modifier and Type Field Description private static Direction[]
World. DIRECTIONS
Methods in net.minecraft.world with parameters of type Direction Modifier and Type Method Description private 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
IBlockDisplayReader. getShade(Direction p_230487_1_, boolean p_230487_2_)
int
World. getSignal(BlockPos p_175651_1_, Direction p_175651_2_)
boolean
World. hasSignal(BlockPos p_175709_1_, Direction p_175709_2_)
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
Methods in net.minecraft.world.gen with parameters of type Direction Modifier and Type Method Description float
WorldGenRegion. getShade(Direction p_230487_1_, boolean p_230487_2_)
-
Uses of Direction in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as Direction Modifier and Type Field Description private static Direction[]
VinesFeature. DIRECTIONS
private static Direction[]
WeepingVineFeature. DIRECTIONS
-
Uses of Direction in net.minecraft.world.gen.feature.jigsaw
Fields in net.minecraft.world.gen.feature.jigsaw declared as Direction Modifier and Type Field Description private Direction
JigsawOrientation. front
private Direction
JigsawOrientation. top
Methods in net.minecraft.world.gen.feature.jigsaw that return Direction Modifier and Type Method Description Direction
JigsawOrientation. front()
Direction
JigsawOrientation. top()
Methods in net.minecraft.world.gen.feature.jigsaw with parameters of type Direction Modifier and Type Method Description static JigsawOrientation
JigsawOrientation. fromFrontAndTop(Direction p_239641_0_, Direction p_239641_1_)
private static int
JigsawOrientation. lookupKey(Direction p_239643_0_, Direction p_239643_1_)
Constructors in net.minecraft.world.gen.feature.jigsaw with parameters of type Direction Constructor Description JigsawOrientation(java.lang.String p_i232507_3_, Direction p_i232507_4_, Direction p_i232507_5_)
-
Uses of Direction in net.minecraft.world.gen.feature.structure
Fields in net.minecraft.world.gen.feature.structure declared as Direction Modifier and Type Field Description private Direction
MineshaftPieces.Cross. direction
private static Direction[]
BasaltDeltasStructure. DIRECTIONS
private Direction
StructurePiece. orientation
Methods in net.minecraft.world.gen.feature.structure that return Direction Modifier and Type Method Description Direction
WoodlandMansionPieces.Grid. get1x2RoomDirection(WoodlandMansionPieces.SimpleGrid p_191113_1_, int p_191113_2_, int p_191113_3_, int p_191113_4_, int p_191113_5_)
Direction
StructurePiece. getOrientation()
Methods in net.minecraft.world.gen.feature.structure with parameters of type Direction Modifier and Type Method Description private void
WoodlandMansionPieces.Placer. addRoom1x1(java.util.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(java.util.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(java.util.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.Piece
OceanMonumentPieces.FitSimpleRoomHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
OceanMonumentPieces.Piece
OceanMonumentPieces.FitSimpleRoomTopHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
OceanMonumentPieces.Piece
OceanMonumentPieces.IMonumentRoomFitHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
OceanMonumentPieces.Piece
OceanMonumentPieces.XDoubleRoomFitHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
OceanMonumentPieces.Piece
OceanMonumentPieces.XYDoubleRoomFitHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
OceanMonumentPieces.Piece
OceanMonumentPieces.YDoubleRoomFitHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
OceanMonumentPieces.Piece
OceanMonumentPieces.YZDoubleRoomFitHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
OceanMonumentPieces.Piece
OceanMonumentPieces.ZDoubleRoomFitHelper. create(Direction p_175968_1_, OceanMonumentPieces.RoomDefinition p_175968_2_, java.util.Random p_175968_3_)
protected boolean
StructurePiece. createDispenser(ISeedReader p_189419_1_, MutableBoundingBox p_189419_2_, java.util.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(java.util.List<StructurePiece> p_175879_0_, java.util.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(java.util.List<StructurePiece> p_175876_0_, java.util.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(java.util.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(java.util.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(java.util.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(java.util.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(java.util.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(java.util.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(java.util.List<StructurePiece> p_175884_0_, java.util.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(java.util.List<StructurePiece> p_175881_0_, java.util.Random p_175881_1_, int p_175881_2_, int p_175881_3_, int p_175881_4_, Direction p_175881_5_, int p_175881_6_)
static FortressPieces.NetherStalkRoom
FortressPieces.NetherStalkRoom. createPiece(java.util.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(java.util.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(java.util.List<StructurePiece> p_175882_0_, java.util.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(java.util.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_)
static StrongholdPieces.ChestCorridor
StrongholdPieces.ChestCorridor. createPiece(java.util.List<StructurePiece> p_175868_0_, java.util.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(java.util.List<StructurePiece> p_175866_0_, java.util.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(java.util.List<StructurePiece> p_175867_0_, java.util.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(java.util.List<StructurePiece> p_175864_0_, java.util.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(java.util.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(java.util.List<StructurePiece> p_175860_0_, java.util.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(java.util.List<StructurePiece> p_214824_0_, java.util.Random p_214824_1_, int p_214824_2_, int p_214824_3_, int p_214824_4_, Direction p_214824_5_, int p_214824_6_)
static StrongholdPieces.RoomCrossing
StrongholdPieces.RoomCrossing. createPiece(java.util.List<StructurePiece> p_175859_0_, java.util.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(java.util.List<StructurePiece> p_175863_0_, java.util.Random p_175863_1_, int p_175863_2_, int p_175863_3_, int p_175863_4_, Direction p_175863_5_, int p_175863_6_)
static StrongholdPieces.StairsStraight
StrongholdPieces.StairsStraight. createPiece(java.util.List<StructurePiece> p_175861_0_, java.util.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(java.util.List<StructurePiece> p_175862_0_, java.util.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(java.util.List<StructurePiece> p_189940_0_, java.util.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_, java.util.List<StructurePiece> p_175887_1_, java.util.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(java.lang.Class<? extends StrongholdPieces.Stronghold> p_175954_0_, java.util.List<StructurePiece> p_175954_1_, java.util.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(java.util.List<StructurePiece> p_175814_0_, java.util.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(java.util.List<StructurePiece> p_175813_0_, java.util.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(java.util.List<StructurePiece> p_175869_0_, java.util.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(java.util.List<StructurePiece> p_175812_0_, java.util.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_, java.util.List<StructurePiece> p_175870_2_, java.util.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_, java.util.List<StructurePiece> p_189938_1_, java.util.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_, java.util.List<StructurePiece> p_175953_1_, java.util.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_, java.util.List<FortressPieces.PieceWeight> p_175871_2_, java.util.List<StructurePiece> p_175871_3_, java.util.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_, java.util.List<StructurePiece> p_175955_1_, java.util.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(java.util.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_)
Constructors in net.minecraft.world.gen.feature.structure with parameters of type Direction Constructor Description ChestCorridor(int p_i45582_1_, java.util.Random p_i45582_2_, MutableBoundingBox p_i45582_3_, Direction p_i45582_4_)
Corridor(int p_i45615_1_, java.util.Random p_i45615_2_, MutableBoundingBox p_i45615_3_, Direction p_i45615_4_)
Corridor(int p_i47140_1_, java.util.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_, java.util.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_, java.util.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_, java.util.Random p_i45621_2_, MutableBoundingBox p_i45621_3_, Direction p_i45621_4_)
Entrance(int p_i45617_1_, java.util.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_, java.util.Random p_i45579_2_, MutableBoundingBox p_i45579_3_, Direction p_i45579_4_)
Library(int p_i45578_1_, java.util.Random p_i45578_2_, MutableBoundingBox p_i45578_3_, Direction p_i45578_4_)
MonumentBuilding(java.util.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_)
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_, java.util.Random p_i45576_2_, MutableBoundingBox p_i45576_3_, Direction p_i45576_4_)
RightTurn(int p_i50127_1_, java.util.Random p_i50127_2_, MutableBoundingBox p_i50127_3_, Direction p_i50127_4_)
RoomCrossing(int p_i45575_1_, java.util.Random p_i45575_2_, MutableBoundingBox p_i45575_3_, Direction p_i45575_4_)
SimpleRoom(Direction p_i45587_1_, OceanMonumentPieces.RoomDefinition p_i45587_2_, java.util.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_, java.util.Random p_i45574_2_, MutableBoundingBox p_i45574_3_, Direction p_i45574_4_)
StairsStraight(int p_i45572_1_, java.util.Random p_i45572_2_, MutableBoundingBox p_i45572_3_, Direction p_i45572_4_)
Straight(int p_i45620_1_, java.util.Random p_i45620_2_, MutableBoundingBox p_i45620_3_, Direction p_i45620_4_)
Straight(int p_i45573_1_, java.util.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
Methods in net.minecraft.world.gen.feature.template with parameters of type Direction Modifier and Type Method Description private 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
Fields in net.minecraft.world.lighting declared as Direction Modifier and Type Field Description private static Direction[]
BlockLightEngine. DIRECTIONS
private static Direction[]
LightEngine. DIRECTIONS
private static Direction[]
SectionLightStorage. DIRECTIONS
private static Direction[]
SkyLightEngine. DIRECTIONS
private static Direction[]
SkyLightEngine. HORIZONTALS
private static Direction[]
SkyLightStorage. HORIZONTALS
Methods in net.minecraft.world.lighting with parameters of type Direction Modifier and Type Method Description static 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
Methods in net.minecraft.world.server with parameters of type Direction Modifier and Type Method Description float
ServerWorld. getShade(Direction p_230487_1_, boolean p_230487_2_)
-
Uses of Direction in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type Direction Modifier and Type Method Description static void
ForgeHooksClient. fillNormal(int[] faceData, Direction facing)
internal, relies on fixed format of FaceBakery -
Uses of Direction in net.minecraftforge.client.extensions
Methods in net.minecraftforge.client.extensions that return Direction Modifier and Type Method Description default Direction
IForgeTransformationMatrix. rotateTransform(Direction facing)
Methods in net.minecraftforge.client.extensions with parameters of type Direction Modifier and Type Method Description default java.util.List<BakedQuad>
IForgeBakedModel. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
default Direction
IForgeTransformationMatrix. rotateTransform(Direction facing)
-
Uses of Direction in net.minecraftforge.client.model
Fields in net.minecraftforge.client.model declared as Direction Modifier and Type Field Description private static Direction[]
ItemLayerModel. HORIZONTALS
private static Direction[]
ItemLayerModel. VERTICALS
Fields in net.minecraftforge.client.model with type parameters of type Direction Modifier and Type Field Description private java.util.EnumMap<Direction,java.util.BitSet>
ItemLayerModel.FaceData. data
protected com.google.common.collect.ImmutableMap<Direction,com.google.common.collect.ImmutableList<BakedQuad>>
FluidModel.BakedFluid. faceQuads
Methods in net.minecraftforge.client.model that return Direction Modifier and Type Method Description private static Direction
ItemLayerModel. remap(Direction side)
Methods in net.minecraftforge.client.model that return types with arguments of type Direction Modifier and Type Method Description private com.google.common.collect.ImmutableMap<Direction,com.google.common.collect.ImmutableList<BakedQuad>>
FluidModel.BakedFluid. buildQuads(boolean statePresent, int[] cornerRound, int flowRound, boolean[] sideOverlays)
Methods in net.minecraftforge.client.model with parameters of type Direction Modifier and Type Method Description T
IModelBuilder. addFaceQuad(Direction facing, BakedQuad quad)
IModelBuilder.Simple
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)
static java.util.List<BakedQuad>
ItemTextureQuadConverter. convertTexture(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint)
Takes a texture and converts it into BakedQuads.static java.util.List<BakedQuad>
ItemTextureQuadConverter. convertTexture(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity)
static java.util.List<BakedQuad>
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.static java.util.List<BakedQuad>
ItemTextureQuadConverter. convertTextureHorizontal(TransformationMatrix transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity)
static java.util.List<BakedQuad>
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.static java.util.List<BakedQuad>
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
ItemLayerModel.FaceData. get(Direction facing, int u, int v)
java.util.List<BakedQuad>
BakedItemModel.BakedGuiItemModel. getQuads(BlockState state, Direction side, java.util.Random rand)
java.util.List<BakedQuad>
BakedItemModel. getQuads(BlockState state, Direction side, java.util.Random rand)
java.util.List<BakedQuad>
BakedModelWrapper. getQuads(BlockState state, Direction side, java.util.Random rand)
java.util.List<BakedQuad>
BakedModelWrapper. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
java.util.List<BakedQuad>
CompositeModel. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
java.util.List<BakedQuad>
FluidModel.BakedFluid. getQuads(BlockState state, Direction side, java.util.Random rand)
java.util.List<BakedQuad>
FluidModel.CachingBakedFluid. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData modelData)
java.util.List<BakedQuad>
ItemMultiLayerBakedModel. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData modelData)
java.util.List<BakedQuad>
MultiLayerModel.MultiLayerBakedModel. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
java.util.List<BakedQuad>
PerspectiveMapWrapper. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
java.util.List<BakedQuad>
SeparatePerspectiveModel.BakedModel. getQuads(BlockState state, Direction side, java.util.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
ItemLayerModel. remap(Direction side)
void
ItemLayerModel.FaceData. set(Direction facing, int u, int v)
-
Uses of Direction in net.minecraftforge.client.model.b3d
Methods in net.minecraftforge.client.model.b3d with parameters of type Direction Modifier and Type Method Description java.util.List<BakedQuad>
B3DLoader.BakedWrapper. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData data)
-
Uses of Direction in net.minecraftforge.client.model.data
Methods in net.minecraftforge.client.model.data with parameters of type Direction Modifier and Type Method Description default java.util.List<BakedQuad>
IDynamicBakedModel. getQuads(BlockState state, Direction side, java.util.Random rand)
java.util.List<BakedQuad>
IDynamicBakedModel. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
-
Uses of Direction in net.minecraftforge.client.model.generators
Fields in net.minecraftforge.client.model.generators declared as Direction Modifier and Type Field Description private Direction
ModelBuilder.ElementBuilder.FaceBuilder. cullface
Fields in net.minecraftforge.client.model.generators with type parameters of type Direction Modifier and Type Field Description private java.util.Map<Direction,ModelBuilder.ElementBuilder.FaceBuilder>
ModelBuilder.ElementBuilder. faces
static com.google.common.collect.ImmutableMap<Direction,Property<WallHeight>>
BlockStateProvider. WALL_PROPS
Methods in net.minecraftforge.client.model.generators that return types with arguments of type Direction Modifier and Type Method Description private java.util.function.BiConsumer<Direction,ModelBuilder.ElementBuilder.FaceBuilder>
ModelBuilder.ElementBuilder. addTexture(java.lang.String texture)
Methods in net.minecraftforge.client.model.generators with parameters of type Direction Modifier and Type Method Description ModelBuilder.ElementBuilder.FaceBuilder
ModelBuilder.ElementBuilder.FaceBuilder. cullface(Direction dir)
ModelBuilder.ElementBuilder.FaceBuilder
ModelBuilder.ElementBuilder. face(Direction dir)
Return or create the face builder for the given direction.Method parameters in net.minecraftforge.client.model.generators with type arguments of type Direction Modifier and Type Method Description ModelBuilder.ElementBuilder
ModelBuilder.ElementBuilder. allFaces(java.util.function.BiConsumer<Direction,ModelBuilder.ElementBuilder.FaceBuilder> action)
Modify all possible faces dynamically using a function, creating new faces as necessary.ModelBuilder.ElementBuilder
ModelBuilder.ElementBuilder. faces(java.util.function.BiConsumer<Direction,ModelBuilder.ElementBuilder.FaceBuilder> action)
Modify all existing faces dynamically using a function.private void
BlockStateProvider. wallSidePart(MultiPartBlockStateBuilder builder, ModelFile model, java.util.Map.Entry<Direction,Property<WallHeight>> entry, WallHeight height)
Constructors in net.minecraftforge.client.model.generators with parameters of type Direction Constructor Description FaceBuilder(Direction dir)
-
Uses of Direction in net.minecraftforge.client.model.obj
Methods in net.minecraftforge.client.model.obj that return types with arguments of type Direction Modifier and Type Method Description private org.apache.commons.lang3.tuple.Pair<BakedQuad,Direction>
OBJModel. makeQuad(int[][] indices, int tintIndex, Vector4f colorTint, Vector4f ambientColor, TextureAtlasSprite texture, TransformationMatrix transform)
-
Uses of Direction in net.minecraftforge.client.model.pipeline
Fields in net.minecraftforge.client.model.pipeline declared as Direction Modifier and Type Field Description private Direction
BakedQuadBuilder. orientation
private static Direction[]
BlockInfo. SIDES
Methods in net.minecraftforge.client.model.pipeline that return Direction Modifier and Type Method Description static Direction
LightUtil. toSide(float x, float y, float z)
Methods in net.minecraftforge.client.model.pipeline with parameters of type Direction Modifier and Type Method Description static 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
Methods in net.minecraftforge.common with parameters of type Direction Modifier and Type Method Description static PlayerInteractEvent.LeftClickBlock
ForgeHooks. onLeftClickBlock(PlayerEntity player, BlockPos pos, Direction face)
static PlayerInteractEvent.RightClickBlock
ForgeHooks. onRightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, Direction face)
Deprecated. -
Uses of Direction in net.minecraftforge.common.capabilities
Methods in net.minecraftforge.common.capabilities with parameters of type Direction Modifier and Type Method Description <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
Capability.IStorage. readNBT(Capability<T> capability, T instance, Direction side, INBT nbt)
Read the capability instance from a NBT tag.void
Capability. readNBT(T instance, Direction side, INBT nbt)
Quick access to the IStorage's readNBT.INBT
Capability.IStorage. writeNBT(Capability<T> capability, T instance, Direction side)
Serialize the capability instance to a NBTTag.INBT
Capability. writeNBT(T instance, Direction side)
Quick access to the IStorage's writeNBT. -
Uses of Direction in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return Direction Modifier and Type Method Description default 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.Methods in net.minecraftforge.common.extensions with parameters of type Direction Modifier and Type Method Description default 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
Methods in net.minecraftforge.common.model.animation with parameters of type Direction Modifier and Type Method Description <T> LazyOptional<T>
CapabilityAnimation.DefaultItemAnimationCapabilityProvider. getCapability(Capability<T> capability, Direction facing)
-
Uses of Direction in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type Direction Modifier and Type Method Description boolean
CustomPlantTypeTest.CustomBlock. canSustainPlant(BlockState state, IBlockReader world, BlockPos pos, Direction facing, IPlantable plantable)
private java.util.List<BakedQuad>
FullPotsAccessorDemo.ClientHandler.DioritePotModel. getPlantQuads(Block plant, Direction face, java.util.Random rand)
java.util.List<BakedQuad>
FullPotsAccessorDemo.ClientHandler.DioritePotModel. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
-
Uses of Direction in net.minecraftforge.debug.client.model
Methods in net.minecraftforge.debug.client.model with parameters of type Direction Modifier and Type Method Description java.util.List<BakedQuad>
TRSRTransformerTest.MyBakedModel. getQuads(BlockState state, Direction side, java.util.Random rand, IModelData data)
-
Uses of Direction in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type Direction Modifier and Type Method Description static boolean
ForgeEventFactory. onBlockPlace(Entity entity, BlockSnapshot blockSnapshot, Direction direction)
static boolean
ForgeEventFactory. onMultiBlockPlace(Entity entity, java.util.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)
Method parameters in net.minecraftforge.event with type arguments of type Direction Modifier and Type Method Description static BlockEvent.NeighborNotifyEvent
ForgeEventFactory. onNeighborNotify(World world, BlockPos pos, BlockState state, java.util.EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate)
-
Uses of Direction in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as Direction Modifier and Type Field Description private Direction
PlayerInteractEvent. face
Methods in net.minecraftforge.event.entity.player that return Direction Modifier and Type Method Description Direction
PlayerInteractEvent. getFace()
Constructors in net.minecraftforge.event.entity.player with parameters of type Direction Constructor Description LeftClickBlock(PlayerEntity player, BlockPos pos, Direction face)
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
Fields in net.minecraftforge.event.world declared as Direction Modifier and Type Field Description private Direction
PistonEvent. direction
Fields in net.minecraftforge.event.world with type parameters of type Direction Modifier and Type Field Description private java.util.EnumSet<Direction>
BlockEvent.NeighborNotifyEvent. notifiedSides
Methods in net.minecraftforge.event.world that return Direction Modifier and Type Method Description Direction
PistonEvent. getDirection()
Methods in net.minecraftforge.event.world that return types with arguments of type Direction Modifier and Type Method Description java.util.EnumSet<Direction>
BlockEvent.NeighborNotifyEvent. getNotifiedSides()
Gets a list of directions from the base block that updates will occur upon.Constructors in net.minecraftforge.event.world with parameters of type Direction Constructor Description PistonEvent(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)
Constructor parameters in net.minecraftforge.event.world with type arguments of type Direction Constructor Description NeighborNotifyEvent(World world, BlockPos pos, BlockState state, java.util.EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate)
-
Uses of Direction in net.minecraftforge.fluids
Methods in net.minecraftforge.fluids with parameters of type Direction Modifier and Type Method Description protected 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
Methods in net.minecraftforge.fluids.capability with parameters of type Direction Modifier and Type Method Description <T> LazyOptional<T>
TileFluidHandler. getCapability(Capability<T> capability, Direction facing)
void
CapabilityFluidHandler.DefaultFluidHandlerStorage. readNBT(Capability<T> capability, T instance, Direction side, INBT nbt)
INBT
CapabilityFluidHandler.DefaultFluidHandlerStorage. writeNBT(Capability<T> capability, T instance, Direction side)
-
Uses of Direction in net.minecraftforge.fluids.capability.templates
Methods in net.minecraftforge.fluids.capability.templates with parameters of type Direction Modifier and Type Method Description <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
Methods in net.minecraftforge.fluids.capability.wrappers with parameters of type Direction Modifier and Type Method Description <T> LazyOptional<T>
FluidBucketWrapper. getCapability(Capability<T> capability, Direction facing)
-
Uses of Direction in net.minecraftforge.items
Methods in net.minecraftforge.items with parameters of type Direction Modifier and Type Method Description private static java.util.Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,java.lang.Object>>
VanillaInventoryCodeHooks. getItemHandler(IHopper hopper, Direction hopperFacing)
static java.util.Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,java.lang.Object>>
VanillaInventoryCodeHooks. getItemHandler(World worldIn, double x, double y, double z, Direction side)
-
Uses of Direction in net.minecraftforge.items.wrapper
Fields in net.minecraftforge.items.wrapper declared as Direction Modifier and Type Field Description protected Direction
SidedInvWrapper. side
Methods in net.minecraftforge.items.wrapper with parameters of type Direction Modifier and Type Method Description static LazyOptional<IItemHandlerModifiable>[]
SidedInvWrapper. create(ISidedInventory inv, Direction... sides)
static int
SidedInvWrapper. getSlot(ISidedInventory inv, int slot, Direction side)
Constructors in net.minecraftforge.items.wrapper with parameters of type Direction Constructor Description SidedInvWrapper(ISidedInventory inv, Direction side)
-
Uses of Direction in net.minecraftforge.server.permission.context
Fields in net.minecraftforge.server.permission.context declared as Direction Modifier and Type Field Description private Direction
BlockPosContext. facing
Fields in net.minecraftforge.server.permission.context with type parameters of type Direction Modifier and Type Field Description static ContextKey<Direction>
ContextKeys. FACING
Constructors in net.minecraftforge.server.permission.context with parameters of type Direction Constructor Description BlockPosContext(PlayerEntity ep, BlockPos pos, BlockState state, Direction f)
-