Uses of Enum Class
net.minecraft.core.Direction
Package
Description
-
Uses of Direction in com.mojang.math
Modifier and TypeFieldDescriptionOctahedralGroup.rotatedDirections
OctahedralGroup.rotatedDirections
-
Uses of Direction in net.minecraft
Modifier and TypeMethodDescriptionprivate static int
BlockUtil.getLimit
(Predicate<BlockPos> p_124342_, BlockPos.MutableBlockPos p_124343_, Direction p_124344_, int p_124345_) BlockUtil.getTopConnectedBlock
(BlockGetter p_177846_, BlockPos p_177847_, Block p_177848_, Direction p_177849_, Block p_177850_) -
Uses of Direction in net.minecraft.client.model.geom
ModifierConstructorDescriptionPolygon
(ModelPart.Vertex[] p_104362_, float p_104363_, float p_104364_, float p_104365_, float p_104366_, float p_104367_, float p_104368_, boolean p_104369_, Direction p_104370_) -
Uses of Direction in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionboolean
MultiPlayerGameMode.continueDestroyBlock
(BlockPos p_105284_, Direction p_105285_) float
private void
MultiPlayerGameMode.sendBlockAction
(ServerboundPlayerActionPacket.Action p_105273_, BlockPos p_105274_, Direction p_105275_) boolean
MultiPlayerGameMode.startDestroyBlock
(BlockPos p_105270_, Direction p_105271_) -
Uses of Direction in net.minecraft.client.particle
-
Uses of Direction in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionvoid
LevelRenderer.RenderChunkInfo.addSourceDirection
(Direction p_173029_) static FaceInfo
FaceInfo.fromFacing
(Direction p_108985_) LevelRenderer.getRelativeFrom
(BlockPos p_109729_, ChunkRenderDispatcher.RenderChunk p_109730_, Direction p_109731_) boolean
LevelRenderer.RenderChunkInfo.hasDirection
(Direction p_109860_) void
LevelRenderer.RenderChunkInfo.setDirections
(byte p_109855_, Direction p_109856_) ModifierConstructorDescription(package private)
RenderChunkInfo
(ChunkRenderDispatcher.RenderChunk p_173022_, Direction p_173023_, int p_173024_) -
Uses of Direction in net.minecraft.client.renderer.block
Modifier and TypeFieldDescription(package private) final Direction[]
ModelBlockRenderer.AdjacencyInfo.corners
(package private) static final Direction[]
ModelBlockRenderer.DIRECTIONS
Modifier and TypeMethodDescriptionvoid
ModelBlockRenderer.AmbientOcclusionFace.calculate
(BlockAndTintGetter p_111168_, BlockState p_111169_, BlockPos p_111170_, Direction p_111171_, float[] p_111172_, BitSet p_111173_, boolean p_111174_) private void
ModelBlockRenderer.calculateShape
(BlockAndTintGetter p_111040_, BlockState p_111041_, BlockPos p_111042_, int[] p_111043_, Direction p_111044_, float[] p_111045_, BitSet p_111046_) ModelBlockRenderer.AdjacencyInfo.fromFacing
(Direction p_111132_) ModelBlockRenderer.AmbientVertexRemap.fromFacing
(Direction p_111202_) private static boolean
LiquidBlockRenderer.isFaceOccludedByNeighbor
(BlockGetter p_203180_, BlockPos p_203181_, Direction p_203182_, float p_203183_, BlockState p_203184_) private static boolean
LiquidBlockRenderer.isFaceOccludedBySelf
(BlockGetter p_110960_, BlockPos p_110961_, BlockState p_110962_, Direction p_110963_) private static boolean
LiquidBlockRenderer.isFaceOccludedByState
(BlockGetter p_110979_, Direction p_110980_, float p_110981_, BlockPos p_110982_, BlockState p_110983_) static boolean
LiquidBlockRenderer.shouldRenderFace
(BlockAndTintGetter p_203167_, BlockPos p_203168_, FluidState p_203169_, BlockState p_203170_, Direction p_203171_, FluidState p_203172_) ModifierConstructorDescriptionprivate
AdjacencyInfo
(Direction[] p_111122_, float p_111123_, boolean p_111124_, ModelBlockRenderer.SizeInfo[] p_111125_, ModelBlockRenderer.SizeInfo[] p_111126_, ModelBlockRenderer.SizeInfo[] p_111127_, ModelBlockRenderer.SizeInfo[] p_111128_) private
-
Uses of Direction in net.minecraft.client.renderer.block.model
Modifier and TypeFieldDescriptionfinal Direction
BlockElementFace.cullForDirection
protected final Direction
BakedQuad.direction
private final Direction
ItemModelGenerator.SpanFacing.direction
Modifier and TypeMethodDescriptionstatic Direction
FaceBakery.calculateFacing
(int[] p_111613_) private Direction
BlockElementFace.Deserializer.getCullFacing
(com.google.gson.JsonObject p_111373_) BakedQuad.getDirection()
ItemModelGenerator.SpanFacing.getDirection()
private Direction
Modifier and TypeMethodDescriptionprivate Map<Direction,
BlockElementFace> BlockElement.Deserializer.filterNullFromFaces
(com.google.gson.JsonDeserializationContext p_111340_, com.google.gson.JsonObject p_111341_) private Map<Direction,
BlockElementFace> BlockElement.Deserializer.getFaces
(com.google.gson.JsonDeserializationContext p_111326_, com.google.gson.JsonObject p_111327_) Modifier and TypeMethodDescriptionprivate static BakedQuad
BlockModel.bakeFace
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) FaceBakery.bakeQuad
(Vector3f p_111601_, Vector3f p_111602_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) private void
FaceBakery.bakeVertex
(int[] p_111621_, int p_111622_, Direction p_111623_, BlockFaceUV p_111624_, float[] p_111625_, TextureAtlasSprite p_111626_, Transformation p_111627_, BlockElementRotation p_111628_, boolean p_111629_) static BakedQuad
BlockModel.makeBakedQuad
(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) private int[]
FaceBakery.makeVertices
(BlockFaceUV p_111574_, TextureAtlasSprite p_111575_, Direction p_111576_, float[] p_111577_, Transformation p_111578_, BlockElementRotation p_111579_, boolean p_111580_) private void
FaceBakery.recalculateWinding
(int[] p_111631_, Direction p_111632_) static BlockFaceUV
FaceBakery.recomputeUVs
(BlockFaceUV p_111582_, Direction p_111583_, Transformation p_111584_, ResourceLocation p_111585_) float[]
ModifierConstructorDescriptionBakedQuad
(int[] p_111298_, int p_111299_, Direction p_111300_, TextureAtlasSprite p_111301_, boolean p_111302_) BlockElementFace
(Direction p_111359_, int p_111360_, String p_111361_, BlockFaceUV p_111362_) private
SpanFacing
(Direction p_111701_, int p_111702_, int p_111703_) ModifierConstructorDescriptionBlockElement
(Vector3f p_111314_, Vector3f p_111315_, Map<Direction, BlockElementFace> p_111316_, BlockElementRotation p_111317_, boolean p_111318_) -
Uses of Direction in net.minecraft.client.renderer.blockentity
Modifier and TypeMethodDescriptionprivate void
TheEndPortalRenderer.renderFace
(T p_173695_, Matrix4f p_173696_, VertexConsumer p_173697_, float p_173698_, float p_173699_, float p_173700_, float p_173701_, float p_173702_, float p_173703_, float p_173704_, float p_173705_, Direction p_173706_) private void
BedRenderer.renderPiece
(PoseStack p_173542_, MultiBufferSource p_173543_, ModelPart p_173544_, Direction p_173545_, Material p_173546_, int p_173547_, int p_173548_, boolean p_173549_) static void
SkullBlockRenderer.renderSkull
(Direction p_173664_, float p_173665_, float p_173666_, PoseStack p_173667_, MultiBufferSource p_173668_, int p_173669_, SkullModelBase p_173670_, RenderType p_173671_) -
Uses of Direction in net.minecraft.client.renderer.chunk
Modifier and TypeMethodDescriptionboolean
ChunkRenderDispatcher.CompiledChunk.facesCanSeeEachother
(Direction p_112771_, Direction p_112772_) private int
VisGraph.getNeighborIndexAtFace
(int p_112966_, Direction p_112967_) ChunkRenderDispatcher.RenderChunk.getRelativeOrigin
(Direction p_112825_) float
void
boolean
VisibilitySet.visibilityBetween
(Direction p_112984_, Direction p_112985_) -
Uses of Direction in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionprivate static float
LivingEntityRenderer.sleepDirectionToRotation
(Direction p_115329_) -
Uses of Direction in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionSimpleBakedModel.Builder.culledFaces
SimpleBakedModel.culledFaces
Modifier and TypeMethodDescriptionSimpleBakedModel.Builder.addCulledFace
(Direction p_119531_, BakedQuad p_119532_) BakedModel.getQuads
(BlockState p_119123_, Direction p_119124_, Random p_119125_) Deprecated.BuiltInModel.getQuads
(BlockState p_119178_, Direction p_119179_, Random p_119180_) MultiPartBakedModel.getQuads
(BlockState p_119465_, Direction p_119466_, Random p_119467_, IModelData modelData) SimpleBakedModel.getQuads
(BlockState p_119499_, Direction p_119500_, Random p_119501_) WeightedBakedModel.getQuads
(BlockState p_119547_, Direction p_119548_, Random p_119549_, IModelData modelData) ModifierConstructorDescriptionSimpleBakedModel
(List<BakedQuad> p_119489_, Map<Direction, List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_) -
Uses of Direction in net.minecraft.core
Modifier and TypeFieldDescriptionprivate static final Direction[]
Direction.BY_2D_DATA
private static final Direction[]
Direction.BY_3D_DATA
private final Direction[]
Direction.Plane.faces
private final Direction
FrontAndTop.front
private final Direction
FrontAndTop.top
private static final Direction[]
Direction.VALUES
Modifier and TypeFieldDescriptionDirection.BY_NAME
private static final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Direction>
Direction.BY_NORMAL
static final com.mojang.serialization.Codec<Direction>
Direction.CODEC
Direction8.directions
static final Map<Direction,
Transformation> BlockMath.VANILLA_UV_TRANSFORM_GLOBAL_TO_LOCAL
static final Map<Direction,
Transformation> BlockMath.VANILLA_UV_TRANSFORM_LOCAL_TO_GLOBAL
static final com.mojang.serialization.Codec<Direction>
Direction.VERTICAL_CODEC
Modifier and TypeMethodDescriptionstatic Direction
static Direction
Direction.from2DDataValue
(int p_122408_) static Direction
Direction.from3DDataValue
(int p_122377_) static Direction
Direction.fromAxisAndDirection
(Direction.Axis p_122388_, Direction.AxisDirection p_122389_) static Direction
Direction.fromNormal
(int p_122379_, int p_122380_, int p_122381_) static Direction
Direction.fromNormal
(BlockPos p_175361_) static Direction
Direction.fromYRot
(double p_122365_) FrontAndTop.front()
static Direction
Direction.get
(Direction.AxisDirection p_122391_, Direction.Axis p_122392_) Direction.getClockWise()
Direction.getClockWise
(Direction.Axis p_175363_) private Direction
Direction.getClockWiseX()
private Direction
Direction.getClockWiseZ()
Direction.getCounterClockWise()
Direction.getCounterClockWise
(Direction.Axis p_175365_) private Direction
Direction.getCounterClockWiseX()
private Direction
Direction.getCounterClockWiseZ()
static Direction
Direction.getFacingAxis
(Entity p_175358_, Direction.Axis p_175359_) static Direction
Direction.getNearest
(double p_122367_, double p_122368_, double p_122369_) static Direction
Direction.getNearest
(float p_122373_, float p_122374_, float p_122375_) Direction.getOpposite()
static Direction
Direction.Plane.getRandomDirection
(Random p_122561_) private static Direction[]
Direction.makeDirectionArray
(Direction p_122399_, Direction p_122400_, Direction p_122401_) static Direction[]
Direction.orderedByNearest
(Entity p_122383_) static Direction
FrontAndTop.top()
static Direction
Returns the enum constant of this class with the specified name.static Direction[]
Direction.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionDirection8.getDirections()
Direction.Plane.iterator()
Direction.Plane.stream()
private static com.mojang.serialization.DataResult<Direction>
Direction.verifyVertical
(Direction p_194529_) Modifier and TypeMethodDescriptionstatic FrontAndTop
FrontAndTop.fromFrontAndTop
(Direction p_122623_, Direction p_122624_) static Transformation
BlockMath.getUVLockTransform
(Transformation p_121845_, Direction p_121846_, Supplier<String> p_121847_) private static int
private static Direction[]
Direction.makeDirectionArray
(Direction p_122399_, Direction p_122400_, Direction p_122401_) static long
static long
static Direction
BlockPos.MutableBlockPos.setWithOffset
(Vec3i p_122160_, Direction p_122161_) static Iterable<BlockPos.MutableBlockPos>
BlockPos.spiralAround
(BlockPos p_121936_, int p_121937_, Direction p_121938_, Direction p_121939_) boolean
boolean
private static com.mojang.serialization.DataResult<Direction>
Direction.verifyVertical
(Direction p_194529_) ModifierConstructorDescriptionprivate
Direction8
(Direction... p_122592_) private
FrontAndTop
(String p_122618_, Direction p_122619_, Direction p_122620_) private
Plane
(Direction[] p_122555_, Direction.Axis[] p_122556_) -
Uses of Direction in net.minecraft.core.dispenser
Modifier and TypeMethodDescriptionprotected void
DefaultDispenseItemBehavior.playAnimation
(BlockSource p_123388_, Direction p_123389_) static void
DispenseItemBehavior.setEntityPokingOutOfBlock
(BlockSource p_123396_, Entity p_123397_, Direction p_123398_) static void
DefaultDispenseItemBehavior.spawnItem
(Level p_123379_, ItemStack p_123380_, int p_123381_, Direction p_123382_, Position p_123383_) -
Uses of Direction in net.minecraft.data.models
Modifier and TypeMethodDescriptionprivate static PropertyDispatch.C4<Direction,
DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_124651_, DoubleBlockHalf p_124652_, ResourceLocation p_124653_, ResourceLocation p_124654_) Modifier and TypeMethodDescriptionprivate Variant
BlockModelGenerators.createPointedDripstoneVariant
(Direction p_176117_, DripstoneThickness p_176118_) Modifier and TypeMethodDescriptionprivate static PropertyDispatch.C4<Direction,
DoubleBlockHalf, DoorHingeSide, Boolean> BlockModelGenerators.configureDoorHalf
(PropertyDispatch.C4<Direction, DoubleBlockHalf, DoorHingeSide, Boolean> p_124651_, DoubleBlockHalf p_124652_, ResourceLocation p_124653_, ResourceLocation p_124654_) -
Uses of Direction in net.minecraft.data.worldgen.features
Modifier and TypeMethodDescriptionprivate static Holder<PlacedFeature>
CaveFeatures.makeDripleaf
(Direction p_206468_) -
Uses of Direction in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final Direction
ClientboundAddPaintingPacket.direction
private final Direction
ServerboundPlayerActionPacket.direction
Modifier and TypeMethodDescriptionClientboundAddPaintingPacket.getDirection()
ServerboundPlayerActionPacket.getDirection()
ModifierConstructorDescriptionServerboundPlayerActionPacket
(ServerboundPlayerActionPacket.Action p_134272_, BlockPos p_134273_, Direction p_134274_) -
Uses of Direction in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<Direction>
EntityDataSerializers.DIRECTION
-
Uses of Direction in net.minecraft.server.level
Modifier and TypeMethodDescriptionprivate boolean
ServerPlayer.bedBlocked
(BlockPos p_9192_, Direction p_9193_) private boolean
ServerPlayer.bedInRange
(BlockPos p_9117_, Direction p_9118_) float
float
void
DemoMode.handleBlockBreakAction
(BlockPos p_140753_, ServerboundPlayerActionPacket.Action p_140754_, Direction p_140755_, int p_140756_) void
ServerPlayerGameMode.handleBlockBreakAction
(BlockPos p_9282_, ServerboundPlayerActionPacket.Action p_9283_, Direction p_9284_, int p_9285_) -
Uses of Direction in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticleOnFace
(Level p_144958_, BlockPos p_144959_, Direction p_144960_, ParticleOptions p_144961_) -
Uses of Direction in net.minecraft.world
Modifier and TypeMethodDescriptionboolean
WorldlyContainer.canPlaceItemThroughFace
(int p_19235_, ItemStack p_19236_, Direction p_19237_) boolean
WorldlyContainer.canTakeItemThroughFace
(int p_19239_, ItemStack p_19240_, Direction p_19241_) int[]
WorldlyContainer.getSlotsForFace
(Direction p_19238_) -
Uses of Direction in net.minecraft.world.entity
Modifier and TypeMethodDescriptionLivingEntity.getBedOrientation()
Entity.getDirection()
Entity.getMotionDirection()
Modifier and TypeMethodDescription<T> LazyOptional<T>
LivingEntity.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractHorse.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraft.world.entity.decoration
Modifier and TypeMethodDescriptionprotected void
HangingEntity.setDirection
(Direction p_31728_) protected void
ItemFrame.setDirection
(Direction p_31793_) void
LeashFenceKnotEntity.setDirection
(Direction p_31848_) ModifierConstructorDescriptionGlowItemFrame
(Level p_149610_, BlockPos p_149611_, Direction p_149612_) ItemFrame
(EntityType<? extends ItemFrame> p_149621_, Level p_149622_, BlockPos p_149623_, Direction p_149624_) -
Uses of Direction in net.minecraft.world.entity.monster
Modifier and TypeFieldDescriptionprivate Direction
Silverfish.SilverfishMergeWithStoneGoal.selectedDirection
Modifier and TypeFieldDescriptionprotected static final EntityDataAccessor<Direction>
Shulker.DATA_ATTACH_FACE_ID
Modifier and TypeMethodDescriptionprotected Direction
Shulker.findAttachableSurface
(BlockPos p_149811_) Shulker.getAttachFace()
Modifier and TypeMethodDescription(package private) boolean
static AABB
Shulker.getProgressAabb
(Direction p_149791_, float p_149792_) static AABB
Shulker.getProgressDeltaAabb
(Direction p_149794_, float p_149795_, float p_149796_) private void
Shulker.setAttachFace
(Direction p_149789_) -
Uses of Direction in net.minecraft.world.entity.player
Modifier and TypeMethodDescription<T> LazyOptional<T>
Player.getCapability
(Capability<T> capability, Direction facing) boolean
Player.mayUseItemAt
(BlockPos p_36205_, Direction p_36206_, ItemStack p_36207_) -
Uses of Direction in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionprivate void
ShulkerBullet.setMoveDirection
(Direction p_37351_) -
Uses of Direction in net.minecraft.world.entity.vehicle
Modifier and TypeMethodDescriptionAbstractMinecart.getMotionDirection()
Boat.getMotionDirection()
Modifier and TypeMethodDescription<T> LazyOptional<T>
AbstractMinecartContainer.getCapability
(Capability<T> capability, Direction facing) static int[][]
DismountHelper.offsetsForDirection
(Direction p_38468_) -
Uses of Direction in net.minecraft.world.item
-
Uses of Direction in net.minecraft.world.item.context
Modifier and TypeMethodDescriptionUseOnContext.getClickedFace()
DirectionalPlaceContext.getHorizontalDirection()
UseOnContext.getHorizontalDirection()
BlockPlaceContext.getNearestLookingDirection()
DirectionalPlaceContext.getNearestLookingDirection()
BlockPlaceContext.getNearestLookingDirections()
DirectionalPlaceContext.getNearestLookingDirections()
BlockPlaceContext.getNearestLookingVerticalDirection()
Modifier and TypeMethodDescriptionstatic BlockPlaceContext
BlockPlaceContext.at
(BlockPlaceContext p_43645_, BlockPos p_43646_, Direction p_43647_) -
Uses of Direction in net.minecraft.world.level
Modifier and TypeMethodDescriptiondefault int
LevelReader.getDirectSignal
(BlockPos p_46853_, Direction p_46854_) float
int
boolean
boolean
Level.loadedAndEntityCanStandOnFace
(BlockPos p_46579_, Entity p_46580_, Direction p_46581_) void
Level.updateNeighborsAtExceptFromFacing
(BlockPos p_46591_, Block p_46592_, Direction p_46593_) -
Uses of Direction in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final Direction
Block.BlockStatePairKey.direction
private static final Direction[]
BuddingAmethystBlock.DIRECTIONS
protected static final Direction[]
MultifaceBlock.DIRECTIONS
private static final Direction[]
PipeBlock.DIRECTIONS
protected final Direction
GrowingPlantBlock.growthDirection
Modifier and TypeFieldDescriptionprivate static final Map<Direction,
VoxelShape> AttachedStemBlock.AABBS
private static final Map<Direction,
VoxelShape> WallSignBlock.AABBS
private static final Map<Direction,
VoxelShape> WallSkullBlock.AABBS
private static final Map<Direction,
VoxelShape> WallTorchBlock.AABBS
static final EnumProperty<Direction>
ShulkerBoxBlock.FACING
static final com.google.common.collect.ImmutableList<Direction>
LiquidBlock.POSSIBLE_FLOW_DIRECTIONS
protected static final Map<Direction,
BooleanProperty> CrossCollisionBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> FireBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> HugeMushroomBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> MultifaceBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
BooleanProperty> PipeBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
EnumProperty<RedstoneSide>> RedStoneWireBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
BooleanProperty> TripWireBlock.PROPERTY_BY_DIRECTION
static final Map<Direction,
BooleanProperty> VineBlock.PROPERTY_BY_DIRECTION
private static final Map<Direction,
VoxelShape> MultifaceBlock.SHAPE_BY_DIRECTION
private static final Map<Direction,
VoxelShape> BaseCoralWallFanBlock.SHAPES
private static final Map<Direction,
VoxelShape> WallBannerBlock.SHAPES
private static final Map<Direction,
VoxelShape> RedStoneWireBlock.SHAPES_FLOOR
private static final Map<Direction,
VoxelShape> RedStoneWireBlock.SHAPES_UP
private static final Map<Direction,
VoxelShape> BigDripleafBlock.STEM_SHAPES
Modifier and TypeMethodDescriptionprivate static Direction
PointedDripstoneBlock.calculateTipDirection
(LevelReader p_154191_, BlockPos p_154192_, Direction p_154193_) private Direction
ChestBlock.candidatePartnerFacing
(BlockPlaceContext p_51495_, Direction p_51496_) static Direction
BedBlock.getBedOrientation
(BlockGetter p_49486_, BlockPos p_49487_) static Direction
BedBlock.getConnectedDirection
(BlockState p_49558_) private static Direction
BellBlock.getConnectedDirection
(BlockState p_49769_) static Direction
ChestBlock.getConnectedDirection
(BlockState p_51585_) protected static Direction
FaceAttachedHorizontalDirectionalBlock.getConnectedDirection
(BlockState p_53201_) protected static Direction
LanternBlock.getConnectedDirection
(BlockState p_153496_) static Direction
JigsawBlock.getFrontFacing
(BlockState p_54251_) private static Direction
BedBlock.getNeighbourDirection
(BedPart p_49534_, Direction p_49535_) static Direction
JigsawBlock.getTopFacing
(BlockState p_54253_) Modifier and TypeMethodDescriptionMultifaceBlock.getSpreadFromFaceTowardDirection
(BlockState p_153856_, BlockGetter p_153857_, BlockPos p_153858_, Direction p_153859_, Direction p_153860_) Modifier and TypeMethodDescriptionprivate static boolean
ChorusFlowerBlock.allNeighborsEmpty
(LevelReader p_51698_, BlockPos p_51699_, Direction p_51700_) boolean
BellBlock.attemptToRing
(Entity p_152189_, Level p_152190_, BlockPos p_152191_, Direction p_152192_) boolean
BellBlock.attemptToRing
(Level p_49713_, BlockPos p_49714_, Direction p_49715_) private static int[][]
BedBlock.bedAboveStandUpOffsets
(Direction p_49537_) private static int[][]
BedBlock.bedStandUpOffsets
(Direction p_49539_, Direction p_49540_) private static int[][]
BedBlock.bedSurroundStandUpOffsets
(Direction p_49552_, Direction p_49553_) private static DripstoneThickness
PointedDripstoneBlock.calculateDripstoneThickness
(LevelReader p_154093_, BlockPos p_154094_, Direction p_154095_, boolean p_154096_) private static Direction
PointedDripstoneBlock.calculateTipDirection
(LevelReader p_154191_, BlockPos p_154192_, Direction p_154193_) static boolean
FaceAttachedHorizontalDirectionalBlock.canAttach
(LevelReader p_53197_, BlockPos p_53198_, Direction p_53199_) private boolean
LadderBlock.canAttachTo
(BlockGetter p_54349_, BlockPos p_54350_, Direction p_54351_) private static boolean
MultifaceBlock.canAttachTo
(BlockGetter p_153830_, Direction p_153831_, BlockPos p_153832_, BlockState p_153833_) static boolean
BaseFireBlock.canBePlacedAt
(Level p_49256_, BlockPos p_49257_, Direction p_49258_) boolean
FireBlock.canCatchFire
(BlockGetter world, BlockPos pos, Direction face) Side sensitive version that calls the block function.private Direction
ChestBlock.candidatePartnerFacing
(BlockPlaceContext p_51495_, Direction p_51496_) boolean
ComposterBlock.EmptyContainer.canPlaceItemThroughFace
(int p_52008_, ItemStack p_52009_, Direction p_52010_) boolean
ComposterBlock.InputContainer.canPlaceItemThroughFace
(int p_52028_, ItemStack p_52029_, Direction p_52030_) boolean
ComposterBlock.OutputContainer.canPlaceItemThroughFace
(int p_52049_, ItemStack p_52050_, Direction p_52051_) protected boolean
MultifaceBlock.canSpread
(BlockState p_153949_, BlockGetter p_153950_, BlockPos p_153951_, Direction p_153952_) private boolean
MultifaceBlock.canSpreadToFace
(BlockGetter p_153826_, BlockPos p_153827_, Direction p_153828_) private boolean
VineBlock.canSupportAtFace
(BlockGetter p_57888_, BlockPos p_57889_, Direction p_57890_) static boolean
Block.canSupportCenter
(LevelReader p_49864_, BlockPos p_49865_, Direction p_49866_) boolean
Block.canSustainPlant
(BlockState state, BlockGetter world, BlockPos pos, Direction facing, IPlantable plantable) boolean
ComposterBlock.EmptyContainer.canTakeItemThroughFace
(int p_52014_, ItemStack p_52015_, Direction p_52016_) boolean
ComposterBlock.InputContainer.canTakeItemThroughFace
(int p_52034_, ItemStack p_52035_, Direction p_52036_) boolean
ComposterBlock.OutputContainer.canTakeItemThroughFace
(int p_52055_, ItemStack p_52056_, Direction p_52057_) private static boolean
StairBlock.canTakeShape
(BlockState p_56971_, BlockGetter p_56972_, BlockPos p_56973_, Direction p_56974_) boolean
FenceBlock.connectsTo
(BlockState p_53330_, boolean p_53331_, Direction p_53332_) private boolean
WallBlock.connectsTo
(BlockState p_58021_, boolean p_58022_, Direction p_58023_) static boolean
FenceGateBlock.connectsToDirection
(BlockState p_53379_, Direction p_53380_) private static void
PointedDripstoneBlock.createDripstone
(LevelAccessor p_154088_, BlockPos p_154089_, Direction p_154090_, DripstoneThickness p_154091_) private static void
CommandBlock.executeChain
(Level p_51810_, BlockPos p_51811_, Direction p_51812_) BedBlock.findBunkBedStandUpPosition
(EntityType<?> p_49464_, CollisionGetter p_49465_, BlockPos p_49466_, Direction p_49467_, Direction p_49468_) protected int
DiodeBlock.getAlternateSignalAt
(LevelReader p_52552_, BlockPos p_52553_, Direction p_52554_) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter p_55519_, BlockPos p_55520_, Direction p_55521_) private RedstoneSide
RedStoneWireBlock.getConnectingSide
(BlockGetter p_55523_, BlockPos p_55524_, Direction p_55525_, boolean p_55526_) int
BasePressurePlateBlock.getDirectSignal
(BlockState p_49346_, BlockGetter p_49347_, BlockPos p_49348_, Direction p_49349_) int
ButtonBlock.getDirectSignal
(BlockState p_51109_, BlockGetter p_51110_, BlockPos p_51111_, Direction p_51112_) int
DetectorRailBlock.getDirectSignal
(BlockState p_52478_, BlockGetter p_52479_, BlockPos p_52480_, Direction p_52481_) int
DiodeBlock.getDirectSignal
(BlockState p_52561_, BlockGetter p_52562_, BlockPos p_52563_, Direction p_52564_) int
LecternBlock.getDirectSignal
(BlockState p_54566_, BlockGetter p_54567_, BlockPos p_54568_, Direction p_54569_) int
LeverBlock.getDirectSignal
(BlockState p_54670_, BlockGetter p_54671_, BlockPos p_54672_, Direction p_54673_) int
LightningRodBlock.getDirectSignal
(BlockState p_153748_, BlockGetter p_153749_, BlockPos p_153750_, Direction p_153751_) int
ObserverBlock.getDirectSignal
(BlockState p_55127_, BlockGetter p_55128_, BlockPos p_55129_, Direction p_55130_) int
RedstoneTorchBlock.getDirectSignal
(BlockState p_55719_, BlockGetter p_55720_, BlockPos p_55721_, Direction p_55722_) int
RedStoneWireBlock.getDirectSignal
(BlockState p_55625_, BlockGetter p_55626_, BlockPos p_55627_, Direction p_55628_) int
TrappedChestBlock.getDirectSignal
(BlockState p_57582_, BlockGetter p_57583_, BlockPos p_57584_, Direction p_57585_) int
TripWireHookBlock.getDirectSignal
(BlockState p_57745_, BlockGetter p_57746_, BlockPos p_57747_, Direction p_57748_) static BooleanProperty
MultifaceBlock.getFaceProperty
(Direction p_153934_) private ItemFrame
ComparatorBlock.getItemFrame
(Level p_51865_, Direction p_51866_, BlockPos p_51867_) private static Direction
BedBlock.getNeighbourDirection
(BedPart p_49534_, Direction p_49535_) static BooleanProperty
VineBlock.getPropertyForFace
(Direction p_57884_) Mirror.getRotation
(Direction p_54847_) int
BasePressurePlateBlock.getSignal
(BlockState p_49309_, BlockGetter p_49310_, BlockPos p_49311_, Direction p_49312_) int
ButtonBlock.getSignal
(BlockState p_51078_, BlockGetter p_51079_, BlockPos p_51080_, Direction p_51081_) int
DaylightDetectorBlock.getSignal
(BlockState p_52386_, BlockGetter p_52387_, BlockPos p_52388_, Direction p_52389_) int
DetectorRailBlock.getSignal
(BlockState p_52449_, BlockGetter p_52450_, BlockPos p_52451_, Direction p_52452_) int
DiodeBlock.getSignal
(BlockState p_52520_, BlockGetter p_52521_, BlockPos p_52522_, Direction p_52523_) int
LecternBlock.getSignal
(BlockState p_54515_, BlockGetter p_54516_, BlockPos p_54517_, Direction p_54518_) int
LeverBlock.getSignal
(BlockState p_54635_, BlockGetter p_54636_, BlockPos p_54637_, Direction p_54638_) int
LightningRodBlock.getSignal
(BlockState p_153723_, BlockGetter p_153724_, BlockPos p_153725_, Direction p_153726_) int
ObserverBlock.getSignal
(BlockState p_55101_, BlockGetter p_55102_, BlockPos p_55103_, Direction p_55104_) int
PoweredBlock.getSignal
(BlockState p_55208_, BlockGetter p_55209_, BlockPos p_55210_, Direction p_55211_) int
RedstoneTorchBlock.getSignal
(BlockState p_55694_, BlockGetter p_55695_, BlockPos p_55696_, Direction p_55697_) int
RedstoneWallTorchBlock.getSignal
(BlockState p_55752_, BlockGetter p_55753_, BlockPos p_55754_, Direction p_55755_) int
RedStoneWireBlock.getSignal
(BlockState p_55549_, BlockGetter p_55550_, BlockPos p_55551_, Direction p_55552_) int
SculkSensorBlock.getSignal
(BlockState p_154437_, BlockGetter p_154438_, BlockPos p_154439_, Direction p_154440_) int
TargetBlock.getSignal
(BlockState p_57402_, BlockGetter p_57403_, BlockPos p_57404_, Direction p_57405_) int
TrappedChestBlock.getSignal
(BlockState p_57577_, BlockGetter p_57578_, BlockPos p_57579_, Direction p_57580_) int
TripWireHookBlock.getSignal
(BlockState p_57710_, BlockGetter p_57711_, BlockPos p_57712_, Direction p_57713_) int[]
ComposterBlock.EmptyContainer.getSlotsForFace
(Direction p_52012_) int[]
ComposterBlock.InputContainer.getSlotsForFace
(Direction p_52032_) int[]
ComposterBlock.OutputContainer.getSlotsForFace
(Direction p_52053_) MultifaceBlock.getSpreadFromFaceTowardDirection
(BlockState p_153856_, BlockGetter p_153857_, BlockPos p_153858_, Direction p_153859_, Direction p_153860_) MultifaceBlock.getStateForPlacement
(BlockState p_153941_, BlockGetter p_153942_, BlockPos p_153943_, Direction p_153944_) private static void
PointedDripstoneBlock.grow
(ServerLevel p_154036_, BlockPos p_154037_, Direction p_154038_) private static boolean
MultifaceBlock.hasFace
(BlockState p_153901_, Direction p_153902_) private static int
static boolean
VineBlock.isAcceptableNeighbour
(BlockGetter p_57854_, BlockPos p_57855_, Direction p_57856_) static boolean
Block.isFaceFull
(VoxelShape p_49919_, Direction p_49920_) protected boolean
MultifaceBlock.isFaceSupported
(Direction p_153921_) private static boolean
PointedDripstoneBlock.isPointedDripstoneWithDirection
(BlockState p_154208_, Direction p_154209_) private static boolean
private boolean
BellBlock.isProperHit
(BlockState p_49740_, Direction p_49741_, double p_49742_) abstract boolean
SupportType.isSupporting
(BlockState p_57209_, BlockGetter p_57210_, BlockPos p_57211_, Direction p_57212_) private static boolean
PointedDripstoneBlock.isUnmergedTipWithDirection
(BlockState p_154144_, Direction p_154145_) private static boolean
PointedDripstoneBlock.isValidPointedDripstonePlacement
(LevelReader p_154222_, BlockPos p_154223_, Direction p_154224_) private void
TripWireHookBlock.notifyNeighbors
(Level p_57694_, BlockPos p_57695_, Direction p_57696_) void
TntBlock.onCaughtFire
(BlockState state, Level world, BlockPos pos, Direction face, LivingEntity igniter) protected static boolean
BigDripleafBlock.place
(LevelAccessor p_152242_, BlockPos p_152243_, FluidState p_152244_, Direction p_152245_) protected static boolean
BigDripleafStemBlock.place
(LevelAccessor p_152350_, BlockPos p_152351_, FluidState p_152352_, Direction p_152353_) static void
BigDripleafBlock.placeWithRandomHeight
(LevelAccessor p_152247_, Random p_152248_, BlockPos p_152249_, Direction p_152250_) static void
Block.popResourceFromFace
(Level p_152436_, BlockPos p_152437_, Direction p_152438_, ItemStack p_152439_) protected static boolean
RedStoneWireBlock.shouldConnectTo
(BlockState p_55595_, Direction p_55596_) boolean
TripWireBlock.shouldConnectTo
(BlockState p_57642_, Direction p_57643_) static boolean
Block.shouldRenderFace
(BlockState p_152445_, BlockGetter p_152446_, BlockPos p_152447_, Direction p_152448_, BlockPos p_152449_) private BlockState
WallBlock.sideUpdate
(LevelReader p_57989_, BlockPos p_57990_, BlockState p_57991_, BlockPos p_57992_, BlockState p_57993_, Direction p_57994_) boolean
HalfTransparentBlock.skipRendering
(BlockState p_53972_, BlockState p_53973_, Direction p_53974_) boolean
IronBarsBlock.skipRendering
(BlockState p_54207_, BlockState p_54208_, Direction p_54209_) boolean
LiquidBlock.skipRendering
(BlockState p_54716_, BlockState p_54717_, Direction p_54718_) boolean
PowderSnowBlock.skipRendering
(BlockState p_154268_, BlockState p_154269_, Direction p_154270_) private void
RedStoneWireBlock.spawnParticlesAlongLine
(Level p_154310_, Random p_154311_, BlockPos p_154312_, Vec3 p_154313_, Direction p_154314_, Direction p_154315_, float p_154316_, float p_154317_) boolean
MultifaceBlock.spreadFromFaceTowardDirection
(BlockState p_153867_, LevelAccessor p_153868_, BlockPos p_153869_, Direction p_153870_, Direction p_153871_, boolean p_153872_) boolean
MultifaceBlock.spreadFromFaceTowardRandomDirection
(BlockState p_153874_, LevelAccessor p_153875_, BlockPos p_153876_, Direction p_153877_, Random p_153878_, boolean p_153879_) private boolean
MultifaceBlock.spreadToFace
(LevelAccessor p_153835_, BlockPos p_153836_, Direction p_153837_, boolean p_153838_) private void
FireBlock.tryCatchFire
(Level p_53432_, BlockPos p_53433_, int p_53434_, Random p_53435_, int p_53436_, Direction face) AmethystClusterBlock.updateShape
(BlockState p_152036_, Direction p_152037_, BlockState p_152038_, LevelAccessor p_152039_, BlockPos p_152040_, BlockPos p_152041_) AttachedStemBlock.updateShape
(BlockState p_48848_, Direction p_48849_, BlockState p_48850_, LevelAccessor p_48851_, BlockPos p_48852_, BlockPos p_48853_) BambooBlock.updateShape
(BlockState p_48921_, Direction p_48922_, BlockState p_48923_, LevelAccessor p_48924_, BlockPos p_48925_, BlockPos p_48926_) BambooSaplingBlock.updateShape
(BlockState p_48990_, Direction p_48991_, BlockState p_48992_, LevelAccessor p_48993_, BlockPos p_48994_, BlockPos p_48995_) BannerBlock.updateShape
(BlockState p_49029_, Direction p_49030_, BlockState p_49031_, LevelAccessor p_49032_, BlockPos p_49033_, BlockPos p_49034_) BaseCoralPlantTypeBlock.updateShape
(BlockState p_49173_, Direction p_49174_, BlockState p_49175_, LevelAccessor p_49176_, BlockPos p_49177_, BlockPos p_49178_) BaseCoralWallFanBlock.updateShape
(BlockState p_49210_, Direction p_49211_, BlockState p_49212_, LevelAccessor p_49213_, BlockPos p_49214_, BlockPos p_49215_) BasePressurePlateBlock.updateShape
(BlockState p_49329_, Direction p_49330_, BlockState p_49331_, LevelAccessor p_49332_, BlockPos p_49333_, BlockPos p_49334_) BaseRailBlock.updateShape
(BlockState p_152151_, Direction p_152152_, BlockState p_152153_, LevelAccessor p_152154_, BlockPos p_152155_, BlockPos p_152156_) BedBlock.updateShape
(BlockState p_49525_, Direction p_49526_, BlockState p_49527_, LevelAccessor p_49528_, BlockPos p_49529_, BlockPos p_49530_) BeehiveBlock.updateShape
(BlockState p_49639_, Direction p_49640_, BlockState p_49641_, LevelAccessor p_49642_, BlockPos p_49643_, BlockPos p_49644_) BellBlock.updateShape
(BlockState p_49744_, Direction p_49745_, BlockState p_49746_, LevelAccessor p_49747_, BlockPos p_49748_, BlockPos p_49749_) BigDripleafBlock.updateShape
(BlockState p_152293_, Direction p_152294_, BlockState p_152295_, LevelAccessor p_152296_, BlockPos p_152297_, BlockPos p_152298_) BigDripleafStemBlock.updateShape
(BlockState p_152369_, Direction p_152370_, BlockState p_152371_, LevelAccessor p_152372_, BlockPos p_152373_, BlockPos p_152374_) BubbleColumnBlock.updateShape
(BlockState p_50990_, Direction p_50991_, BlockState p_50992_, LevelAccessor p_50993_, BlockPos p_50994_, BlockPos p_50995_) BushBlock.updateShape
(BlockState p_51032_, Direction p_51033_, BlockState p_51034_, LevelAccessor p_51035_, BlockPos p_51036_, BlockPos p_51037_) CactusBlock.updateShape
(BlockState p_51157_, Direction p_51158_, BlockState p_51159_, LevelAccessor p_51160_, BlockPos p_51161_, BlockPos p_51162_) CakeBlock.updateShape
(BlockState p_51213_, Direction p_51214_, BlockState p_51215_, LevelAccessor p_51216_, BlockPos p_51217_, BlockPos p_51218_) CampfireBlock.updateShape
(BlockState p_51298_, Direction p_51299_, BlockState p_51300_, LevelAccessor p_51301_, BlockPos p_51302_, BlockPos p_51303_) CandleBlock.updateShape
(BlockState p_152833_, Direction p_152834_, BlockState p_152835_, LevelAccessor p_152836_, BlockPos p_152837_, BlockPos p_152838_) CandleCakeBlock.updateShape
(BlockState p_152898_, Direction p_152899_, BlockState p_152900_, LevelAccessor p_152901_, BlockPos p_152902_, BlockPos p_152903_) CarpetBlock.updateShape
(BlockState p_152926_, Direction p_152927_, BlockState p_152928_, LevelAccessor p_152929_, BlockPos p_152930_, BlockPos p_152931_) ChainBlock.updateShape
(BlockState p_51461_, Direction p_51462_, BlockState p_51463_, LevelAccessor p_51464_, BlockPos p_51465_, BlockPos p_51466_) ChestBlock.updateShape
(BlockState p_51555_, Direction p_51556_, BlockState p_51557_, LevelAccessor p_51558_, BlockPos p_51559_, BlockPos p_51560_) ChorusFlowerBlock.updateShape
(BlockState p_51687_, Direction p_51688_, BlockState p_51689_, LevelAccessor p_51690_, BlockPos p_51691_, BlockPos p_51692_) ChorusPlantBlock.updateShape
(BlockState p_51728_, Direction p_51729_, BlockState p_51730_, LevelAccessor p_51731_, BlockPos p_51732_, BlockPos p_51733_) CocoaBlock.updateShape
(BlockState p_51771_, Direction p_51772_, BlockState p_51773_, LevelAccessor p_51774_, BlockPos p_51775_, BlockPos p_51776_) ConcretePowderBlock.updateShape
(BlockState p_52074_, Direction p_52075_, BlockState p_52076_, LevelAccessor p_52077_, BlockPos p_52078_, BlockPos p_52079_) ConduitBlock.updateShape
(BlockState p_52111_, Direction p_52112_, BlockState p_52113_, LevelAccessor p_52114_, BlockPos p_52115_, BlockPos p_52116_) CoralBlock.updateShape
(BlockState p_52143_, Direction p_52144_, BlockState p_52145_, LevelAccessor p_52146_, BlockPos p_52147_, BlockPos p_52148_) CoralFanBlock.updateShape
(BlockState p_52159_, Direction p_52160_, BlockState p_52161_, LevelAccessor p_52162_, BlockPos p_52163_, BlockPos p_52164_) CoralPlantBlock.updateShape
(BlockState p_52183_, Direction p_52184_, BlockState p_52185_, LevelAccessor p_52186_, BlockPos p_52187_, BlockPos p_52188_) CoralWallFanBlock.updateShape
(BlockState p_52210_, Direction p_52211_, BlockState p_52212_, LevelAccessor p_52213_, BlockPos p_52214_, BlockPos p_52215_) DirtPathBlock.updateShape
(BlockState p_153152_, Direction p_153153_, BlockState p_153154_, LevelAccessor p_153155_, BlockPos p_153156_, BlockPos p_153157_) DoorBlock.updateShape
(BlockState p_52796_, Direction p_52797_, BlockState p_52798_, LevelAccessor p_52799_, BlockPos p_52800_, BlockPos p_52801_) DoublePlantBlock.updateShape
(BlockState p_52894_, Direction p_52895_, BlockState p_52896_, LevelAccessor p_52897_, BlockPos p_52898_, BlockPos p_52899_) EnderChestBlock.updateShape
(BlockState p_53160_, Direction p_53161_, BlockState p_53162_, LevelAccessor p_53163_, BlockPos p_53164_, BlockPos p_53165_) FaceAttachedHorizontalDirectionalBlock.updateShape
(BlockState p_53190_, Direction p_53191_, BlockState p_53192_, LevelAccessor p_53193_, BlockPos p_53194_, BlockPos p_53195_) FallingBlock.updateShape
(BlockState p_53226_, Direction p_53227_, BlockState p_53228_, LevelAccessor p_53229_, BlockPos p_53230_, BlockPos p_53231_) FarmBlock.updateShape
(BlockState p_53276_, Direction p_53277_, BlockState p_53278_, LevelAccessor p_53279_, BlockPos p_53280_, BlockPos p_53281_) FenceBlock.updateShape
(BlockState p_53323_, Direction p_53324_, BlockState p_53325_, LevelAccessor p_53326_, BlockPos p_53327_, BlockPos p_53328_) FenceGateBlock.updateShape
(BlockState p_53382_, Direction p_53383_, BlockState p_53384_, LevelAccessor p_53385_, BlockPos p_53386_, BlockPos p_53387_) FireBlock.updateShape
(BlockState p_53458_, Direction p_53459_, BlockState p_53460_, LevelAccessor p_53461_, BlockPos p_53462_, BlockPos p_53463_) FlowerPotBlock.updateShape
(BlockState p_53547_, Direction p_53548_, BlockState p_53549_, LevelAccessor p_53550_, BlockPos p_53551_, BlockPos p_53552_) GlowLichenBlock.updateShape
(BlockState p_153302_, Direction p_153303_, BlockState p_153304_, LevelAccessor p_153305_, BlockPos p_153306_, BlockPos p_153307_) GrowingPlantBodyBlock.updateShape
(BlockState p_53913_, Direction p_53914_, BlockState p_53915_, LevelAccessor p_53916_, BlockPos p_53917_, BlockPos p_53918_) GrowingPlantHeadBlock.updateShape
(BlockState p_53951_, Direction p_53952_, BlockState p_53953_, LevelAccessor p_53954_, BlockPos p_53955_, BlockPos p_53956_) HangingRootsBlock.updateShape
(BlockState p_153351_, Direction p_153352_, BlockState p_153353_, LevelAccessor p_153354_, BlockPos p_153355_, BlockPos p_153356_) HugeMushroomBlock.updateShape
(BlockState p_54146_, Direction p_54147_, BlockState p_54148_, LevelAccessor p_54149_, BlockPos p_54150_, BlockPos p_54151_) IronBarsBlock.updateShape
(BlockState p_54211_, Direction p_54212_, BlockState p_54213_, LevelAccessor p_54214_, BlockPos p_54215_, BlockPos p_54216_) LadderBlock.updateShape
(BlockState p_54363_, Direction p_54364_, BlockState p_54365_, LevelAccessor p_54366_, BlockPos p_54367_, BlockPos p_54368_) LanternBlock.updateShape
(BlockState p_153483_, Direction p_153484_, BlockState p_153485_, LevelAccessor p_153486_, BlockPos p_153487_, BlockPos p_153488_) LeavesBlock.updateShape
(BlockState p_54440_, Direction p_54441_, BlockState p_54442_, LevelAccessor p_54443_, BlockPos p_54444_, BlockPos p_54445_) LightBlock.updateShape
(BlockState p_153680_, Direction p_153681_, BlockState p_153682_, LevelAccessor p_153683_, BlockPos p_153684_, BlockPos p_153685_) LightningRodBlock.updateShape
(BlockState p_153739_, Direction p_153740_, BlockState p_153741_, LevelAccessor p_153742_, BlockPos p_153743_, BlockPos p_153744_) LiquidBlock.updateShape
(BlockState p_54723_, Direction p_54724_, BlockState p_54725_, LevelAccessor p_54726_, BlockPos p_54727_, BlockPos p_54728_) MagmaBlock.updateShape
(BlockState p_54811_, Direction p_54812_, BlockState p_54813_, LevelAccessor p_54814_, BlockPos p_54815_, BlockPos p_54816_) MultifaceBlock.updateShape
(BlockState p_153904_, Direction p_153905_, BlockState p_153906_, LevelAccessor p_153907_, BlockPos p_153908_, BlockPos p_153909_) NetherPortalBlock.updateShape
(BlockState p_54928_, Direction p_54929_, BlockState p_54930_, LevelAccessor p_54931_, BlockPos p_54932_, BlockPos p_54933_) NoteBlock.updateShape
(BlockState p_55048_, Direction p_55049_, BlockState p_55050_, LevelAccessor p_55051_, BlockPos p_55052_, BlockPos p_55053_) ObserverBlock.updateShape
(BlockState p_55118_, Direction p_55119_, BlockState p_55120_, LevelAccessor p_55121_, BlockPos p_55122_, BlockPos p_55123_) PointedDripstoneBlock.updateShape
(BlockState p_154147_, Direction p_154148_, BlockState p_154149_, LevelAccessor p_154150_, BlockPos p_154151_, BlockPos p_154152_) RedstoneWallTorchBlock.updateShape
(BlockState p_55772_, Direction p_55773_, BlockState p_55774_, LevelAccessor p_55775_, BlockPos p_55776_, BlockPos p_55777_) RedStoneWireBlock.updateShape
(BlockState p_55598_, Direction p_55599_, BlockState p_55600_, LevelAccessor p_55601_, BlockPos p_55602_, BlockPos p_55603_) RepeaterBlock.updateShape
(BlockState p_55821_, Direction p_55822_, BlockState p_55823_, LevelAccessor p_55824_, BlockPos p_55825_, BlockPos p_55826_) ScaffoldingBlock.updateShape
(BlockState p_56044_, Direction p_56045_, BlockState p_56046_, LevelAccessor p_56047_, BlockPos p_56048_, BlockPos p_56049_) SculkSensorBlock.updateShape
(BlockState p_154457_, Direction p_154458_, BlockState p_154459_, LevelAccessor p_154460_, BlockPos p_154461_, BlockPos p_154462_) SeagrassBlock.updateShape
(BlockState p_154530_, Direction p_154531_, BlockState p_154532_, LevelAccessor p_154533_, BlockPos p_154534_, BlockPos p_154535_) SeaPickleBlock.updateShape
(BlockState p_56113_, Direction p_56114_, BlockState p_56115_, LevelAccessor p_56116_, BlockPos p_56117_, BlockPos p_56118_) SignBlock.updateShape
(BlockState p_56285_, Direction p_56286_, BlockState p_56287_, LevelAccessor p_56288_, BlockPos p_56289_, BlockPos p_56290_) SlabBlock.updateShape
(BlockState p_56381_, Direction p_56382_, BlockState p_56383_, LevelAccessor p_56384_, BlockPos p_56385_, BlockPos p_56386_) SmallDripleafBlock.updateShape
(BlockState p_154625_, Direction p_154626_, BlockState p_154627_, LevelAccessor p_154628_, BlockPos p_154629_, BlockPos p_154630_) SnowLayerBlock.updateShape
(BlockState p_56606_, Direction p_56607_, BlockState p_56608_, LevelAccessor p_56609_, BlockPos p_56610_, BlockPos p_56611_) SnowyDirtBlock.updateShape
(BlockState p_56644_, Direction p_56645_, BlockState p_56646_, LevelAccessor p_56647_, BlockPos p_56648_, BlockPos p_56649_) SoulFireBlock.updateShape
(BlockState p_56659_, Direction p_56660_, BlockState p_56661_, LevelAccessor p_56662_, BlockPos p_56663_, BlockPos p_56664_) SoulSandBlock.updateShape
(BlockState p_56689_, Direction p_56690_, BlockState p_56691_, LevelAccessor p_56692_, BlockPos p_56693_, BlockPos p_56694_) SporeBlossomBlock.updateShape
(BlockState p_154713_, Direction p_154714_, BlockState p_154715_, LevelAccessor p_154716_, BlockPos p_154717_, BlockPos p_154718_) StairBlock.updateShape
(BlockState p_56925_, Direction p_56926_, BlockState p_56927_, LevelAccessor p_56928_, BlockPos p_56929_, BlockPos p_56930_) StandingSignBlock.updateShape
(BlockState p_57005_, Direction p_57006_, BlockState p_57007_, LevelAccessor p_57008_, BlockPos p_57009_, BlockPos p_57010_) SugarCaneBlock.updateShape
(BlockState p_57179_, Direction p_57180_, BlockState p_57181_, LevelAccessor p_57182_, BlockPos p_57183_, BlockPos p_57184_) TorchBlock.updateShape
(BlockState p_57503_, Direction p_57504_, BlockState p_57505_, LevelAccessor p_57506_, BlockPos p_57507_, BlockPos p_57508_) TrapDoorBlock.updateShape
(BlockState p_57554_, Direction p_57555_, BlockState p_57556_, LevelAccessor p_57557_, BlockPos p_57558_, BlockPos p_57559_) TripWireBlock.updateShape
(BlockState p_57645_, Direction p_57646_, BlockState p_57647_, LevelAccessor p_57648_, BlockPos p_57649_, BlockPos p_57650_) TripWireHookBlock.updateShape
(BlockState p_57731_, Direction p_57732_, BlockState p_57733_, LevelAccessor p_57734_, BlockPos p_57735_, BlockPos p_57736_) VineBlock.updateShape
(BlockState p_57875_, Direction p_57876_, BlockState p_57877_, LevelAccessor p_57878_, BlockPos p_57879_, BlockPos p_57880_) WallBannerBlock.updateShape
(BlockState p_57935_, Direction p_57936_, BlockState p_57937_, LevelAccessor p_57938_, BlockPos p_57939_, BlockPos p_57940_) WallBlock.updateShape
(BlockState p_58014_, Direction p_58015_, BlockState p_58016_, LevelAccessor p_58017_, BlockPos p_58018_, BlockPos p_58019_) WallSignBlock.updateShape
(BlockState p_58083_, Direction p_58084_, BlockState p_58085_, LevelAccessor p_58086_, BlockPos p_58087_, BlockPos p_58088_) WallTorchBlock.updateShape
(BlockState p_58143_, Direction p_58144_, BlockState p_58145_, LevelAccessor p_58146_, BlockPos p_58147_, BlockPos p_58148_) Modifier and TypeMethodDescriptionprivate BlockState
MultifaceBlock.mapDirections
(BlockState p_153911_, Function<Direction, Direction> p_153912_) private BlockState
MultifaceBlock.mapDirections
(BlockState p_153911_, Function<Direction, Direction> p_153912_) ModifierConstructorDescriptionBlockStatePairKey
(BlockState p_49984_, BlockState p_49985_, Direction p_49986_) protected
GrowingPlantBlock
(BlockBehaviour.Properties p_53863_, Direction p_53864_, VoxelShape p_53865_, boolean p_53866_) protected
GrowingPlantBodyBlock
(BlockBehaviour.Properties p_53886_, Direction p_53887_, VoxelShape p_53888_, boolean p_53889_) protected
GrowingPlantHeadBlock
(BlockBehaviour.Properties p_53928_, Direction p_53929_, VoxelShape p_53930_, boolean p_53931_, double p_53932_) -
Uses of Direction in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionstatic ItemStack
HopperBlockEntity.addItem
(Container p_59327_, Container p_59328_, ItemStack p_59329_, Direction p_59330_) private static boolean
HopperBlockEntity.canPlaceItemInContainer
(Container p_59335_, ItemStack p_59336_, int p_59337_, Direction p_59338_) boolean
AbstractFurnaceBlockEntity.canPlaceItemThroughFace
(int p_58336_, ItemStack p_58337_, Direction p_58338_) boolean
BrewingStandBlockEntity.canPlaceItemThroughFace
(int p_58996_, ItemStack p_58997_, Direction p_58998_) boolean
ShulkerBoxBlockEntity.canPlaceItemThroughFace
(int p_59663_, ItemStack p_59664_, Direction p_59665_) private static boolean
HopperBlockEntity.canTakeItemFromContainer
(Container p_59381_, ItemStack p_59382_, int p_59383_, Direction p_59384_) boolean
AbstractFurnaceBlockEntity.canTakeItemThroughFace
(int p_58392_, ItemStack p_58393_, Direction p_58394_) boolean
BrewingStandBlockEntity.canTakeItemThroughFace
(int p_59020_, ItemStack p_59021_, Direction p_59022_) boolean
ShulkerBoxBlockEntity.canTakeItemThroughFace
(int p_59682_, ItemStack p_59683_, Direction p_59684_) <T> LazyOptional<T>
AbstractFurnaceBlockEntity.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
BaseContainerBlockEntity.getCapability
(Capability<T> cap, Direction side) <T> LazyOptional<T>
BrewingStandBlockEntity.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
ChestBlockEntity.getCapability
(Capability<T> cap, Direction side) private static IntStream
int[]
AbstractFurnaceBlockEntity.getSlotsForFace
(Direction p_58363_) int[]
BrewingStandBlockEntity.getSlotsForFace
(Direction p_59010_) int[]
ShulkerBoxBlockEntity.getSlotsForFace
(Direction p_59672_) private static boolean
HopperBlockEntity.isEmptyContainer
(Container p_59398_, Direction p_59399_) private static boolean
HopperBlockEntity.isFullContainer
(Container p_59386_, Direction p_59387_) void
boolean
TheEndGatewayBlockEntity.shouldRenderFace
(Direction p_59959_) boolean
TheEndPortalBlockEntity.shouldRenderFace
(Direction p_59980_) private static ItemStack
HopperBlockEntity.tryMoveInItem
(Container p_59321_, Container p_59322_, ItemStack p_59323_, int p_59324_, Direction p_59325_) private static boolean
HopperBlockEntity.tryTakeInItemFromSlot
(Hopper p_59355_, Container p_59356_, int p_59357_, Direction p_59358_) -
Uses of Direction in net.minecraft.world.level.block.piston
Modifier and TypeFieldDescriptionprivate Direction
PistonMovingBlockEntity.direction
private final Direction
PistonStructureResolver.pistonDirection
private final Direction
PistonStructureResolver.pushDirection
Modifier and TypeFieldDescriptionprivate static final ThreadLocal<Direction>
PistonMovingBlockEntity.NOCLIP
Modifier and TypeMethodDescriptionPistonMovingBlockEntity.getDirection()
PistonMovingBlockEntity.getMovementDirection()
PistonStructureResolver.getPushDirection()
Modifier and TypeMethodDescriptionprivate boolean
PistonStructureResolver.addBlockLine
(BlockPos p_60434_, Direction p_60435_) private static VoxelShape
PistonHeadBlock.calculateShape
(Direction p_60310_, boolean p_60311_) private static void
PistonMovingBlockEntity.fixEntityWithinPistonBase
(BlockPos p_155921_, Entity p_155922_, Direction p_155923_, double p_155924_) private static double
PistonMovingBlockEntity.getMovement
(AABB p_60368_, Direction p_60369_, AABB p_60370_) static AABB
PistonMath.getMovementArea
(AABB p_60329_, Direction p_60330_, double p_60331_) private boolean
PistonBaseBlock.getNeighborSignal
(Level p_60178_, BlockPos p_60179_, Direction p_60180_) static boolean
PistonBaseBlock.isPushable
(BlockState p_60205_, Level p_60206_, BlockPos p_60207_, Direction p_60208_, boolean p_60209_, Direction p_60210_) private boolean
PistonBaseBlock.moveBlocks
(Level p_60182_, BlockPos p_60183_, Direction p_60184_, boolean p_60185_) private static void
PistonMovingBlockEntity.moveEntityByPiston
(Direction p_60372_, Entity p_60373_, double p_60374_, Direction p_60375_) static BlockEntity
MovingPistonBlock.newMovingBlockEntity
(BlockPos p_155882_, BlockState p_155883_, BlockState p_155884_, Direction p_155885_, boolean p_155886_, boolean p_155887_) PistonHeadBlock.updateShape
(BlockState p_60301_, Direction p_60302_, BlockState p_60303_, LevelAccessor p_60304_, BlockPos p_60305_, BlockPos p_60306_) ModifierConstructorDescriptionPistonMovingBlockEntity
(BlockPos p_155904_, BlockState p_155905_, BlockState p_155906_, Direction p_155907_, boolean p_155908_, boolean p_155909_) PistonStructureResolver
(Level p_60418_, BlockPos p_60419_, Direction p_60420_, boolean p_60421_) -
Uses of Direction in net.minecraft.world.level.block.state
Modifier and TypeFieldDescriptionprivate static final Direction[]
BlockBehaviour.BlockStateBase.Cache.DIRECTIONS
protected static final Direction[]
BlockBehaviour.UPDATE_SHAPE_ORDER
Modifier and TypeMethodDescriptionfinal boolean
BlockBehaviour.BlockStateBase.entityCanStandOnFace
(BlockGetter p_60639_, BlockPos p_60640_, Entity p_60641_, Direction p_60642_) int
BlockBehaviour.BlockStateBase.getDirectSignal
(BlockGetter p_60776_, BlockPos p_60777_, Direction p_60778_) int
BlockBehaviour.getDirectSignal
(BlockState p_60559_, BlockGetter p_60560_, BlockPos p_60561_, Direction p_60562_) Deprecated.BlockBehaviour.BlockStateBase.getFaceOcclusionShape
(BlockGetter p_60656_, BlockPos p_60657_, Direction p_60658_) private static int
BlockBehaviour.BlockStateBase.Cache.getFaceSupportIndex
(Direction p_60867_, SupportType p_60868_) int
BlockBehaviour.BlockStateBase.getSignal
(BlockGetter p_60747_, BlockPos p_60748_, Direction p_60749_) int
BlockBehaviour.getSignal
(BlockState p_60483_, BlockGetter p_60484_, BlockPos p_60485_, Direction p_60486_) Deprecated.boolean
BlockBehaviour.BlockStateBase.Cache.isFaceSturdy
(Direction p_60862_, SupportType p_60863_) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter p_60784_, BlockPos p_60785_, Direction p_60786_) boolean
BlockBehaviour.BlockStateBase.isFaceSturdy
(BlockGetter p_60660_, BlockPos p_60661_, Direction p_60662_, SupportType p_60663_) boolean
BlockBehaviour.BlockStateBase.skipRendering
(BlockState p_60720_, Direction p_60721_) boolean
BlockBehaviour.skipRendering
(BlockState p_60532_, BlockState p_60533_, Direction p_60534_) Deprecated.BlockBehaviour.BlockStateBase.updateShape
(Direction p_60729_, BlockState p_60730_, LevelAccessor p_60731_, BlockPos p_60732_, BlockPos p_60733_) BlockBehaviour.updateShape
(BlockState p_60541_, Direction p_60542_, BlockState p_60543_, LevelAccessor p_60544_, BlockPos p_60545_, BlockPos p_60546_) Deprecated. -
Uses of Direction in net.minecraft.world.level.block.state.pattern
Modifier and TypeFieldDescriptionprivate final Direction
BlockPattern.BlockPatternMatch.forwards
private final Direction
BlockPattern.BlockPatternMatch.up
Modifier and TypeMethodDescriptionBlockPattern.BlockPatternMatch.getForwards()
BlockPattern.BlockPatternMatch.getUp()
Modifier and TypeMethodDescriptionprivate BlockPattern.BlockPatternMatch
BlockPattern.matches
(BlockPos p_61198_, Direction p_61199_, Direction p_61200_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61201_) BlockPattern.matches
(LevelReader p_155965_, BlockPos p_155966_, Direction p_155967_, Direction p_155968_) protected static BlockPos
BlockPattern.translateAndRotate
(BlockPos p_61191_, Direction p_61192_, Direction p_61193_, int p_61194_, int p_61195_, int p_61196_) ModifierConstructorDescriptionBlockPatternMatch
(BlockPos p_61221_, Direction p_61222_, Direction p_61223_, com.google.common.cache.LoadingCache<BlockPos, BlockInWorld> p_61224_, int p_61225_, int p_61226_, int p_61227_) -
Uses of Direction in net.minecraft.world.level.block.state.properties
Modifier and TypeMethodDescriptionstatic DirectionProperty
DirectionProperty.create
(String p_61544_, Collection<Direction> p_61545_) static DirectionProperty
ModifierConstructorDescriptionprotected
DirectionProperty
(String p_61541_, Collection<Direction> p_61542_) -
Uses of Direction in net.minecraft.world.level.chunk
Modifier and TypeMethodDescription<T> LazyOptional<T>
LevelChunk.getCapability
(Capability<T> cap, Direction side) UpgradeData.BlockFixer.updateShape
(BlockState p_63352_, Direction p_63353_, BlockState p_63354_, LevelAccessor p_63355_, BlockPos p_63356_, BlockPos p_63357_) private static BlockState
UpgradeData.updateState
(BlockState p_63336_, Direction p_63337_, LevelAccessor p_63338_, BlockPos p_63339_, BlockPos p_63340_) -
Uses of Direction in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionprivate static OptionalInt
Column.scanDirection
(LevelSimulatedReader p_158168_, int p_158169_, Predicate<BlockState> p_158170_, Predicate<BlockState> p_158171_, BlockPos.MutableBlockPos p_158172_, int p_158173_, Direction p_158174_) -
Uses of Direction in net.minecraft.world.level.levelgen.blockpredicates
Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.hasSturdyFace
(Direction p_198914_) static BlockPredicate
BlockPredicate.hasSturdyFace
(Vec3i p_198309_, Direction p_198310_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionprivate static final Direction[]
DeltaFeature.DIRECTIONS
private static final Direction[]
GeodeFeature.DIRECTIONS
private static final Direction[]
WeepingVinesFeature.DIRECTIONS
Modifier and TypeMethodDescriptionGlowLichenFeature.getShuffledDirections
(GlowLichenConfiguration p_159849_, Random p_159850_) GlowLichenFeature.getShuffledDirectionsExcept
(GlowLichenConfiguration p_159852_, Random p_159853_, Direction p_159854_) PointedDripstoneFeature.getTipDirection
(LevelAccessor p_191069_, BlockPos p_191070_, Random p_191071_) Modifier and TypeMethodDescriptionprotected static void
DripstoneUtils.buildBaseToTipColumn
(Direction p_159652_, int p_159653_, boolean p_159654_, Consumer<BlockState> p_159655_) private static BlockState
DripstoneUtils.createPointedDripstone
(Direction p_159657_, DripstoneThickness p_159658_) GlowLichenFeature.getShuffledDirectionsExcept
(GlowLichenConfiguration p_159852_, Random p_159853_, Direction p_159854_) protected static void
DripstoneUtils.growPointedDripstone
(LevelAccessor p_190848_, BlockPos p_190849_, Direction p_190850_, int p_190851_, boolean p_190852_) private static boolean
WaterloggedVegetationPatchFeature.isExposedDirection
(WorldGenLevel p_160651_, BlockPos p_160652_, BlockPos.MutableBlockPos p_160653_, Direction p_160654_) private void
DripstoneClusterFeature.replaceBlocksWithDripstoneBlocks
(WorldGenLevel p_159589_, BlockPos p_159590_, int p_159591_, Direction p_159592_) Modifier and TypeMethodDescriptionstatic boolean
GlowLichenFeature.placeGlowLichenIfPossible
(WorldGenLevel p_159840_, BlockPos p_159841_, BlockState p_159842_, GlowLichenConfiguration p_159843_, Random p_159844_, List<Direction> p_159845_) -
Uses of Direction in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionprivate final Direction
BlockColumnConfiguration.direction
The field for thedirection
record component.Modifier and TypeMethodDescriptionBlockColumnConfiguration.direction()
Returns the value of thedirection
record component.ModifierConstructorDescriptionBlockColumnConfiguration
(List<BlockColumnConfiguration.Layer> layers, Direction direction, BlockPredicate allowedPlacement, boolean prioritizeTip) Creates an instance of aBlockColumnConfiguration
record class. -
Uses of Direction in net.minecraft.world.level.levelgen.feature.treedecorators
Modifier and TypeFieldDescriptionprivate static final Direction[]
BeehiveDecorator.SPAWN_DIRECTIONS
private static final Direction
BeehiveDecorator.WORLDGEN_FACING
-
Uses of Direction in net.minecraft.world.level.levelgen.placement
Modifier and TypeFieldDescriptionprivate final Direction
CaveSurface.direction
private final Direction
EnvironmentScanPlacement.directionOfSearch
Modifier and TypeMethodDescriptionstatic EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction p_191654_, BlockPredicate p_191655_, int p_191656_) static EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction p_191658_, BlockPredicate p_191659_, BlockPredicate p_191660_, int p_191661_) ModifierConstructorDescriptionprivate
CaveSurface
(Direction p_162104_, int p_162105_, String p_162106_) private
EnvironmentScanPlacement
(Direction p_191645_, BlockPredicate p_191646_, BlockPredicate p_191647_, int p_191648_) -
Uses of Direction in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate final Direction
MineShaftPieces.MineShaftCrossing.direction
private Direction
StructurePiece.orientation
Modifier and TypeMethodDescriptionWoodlandMansionPieces.MansionGrid.get1x2RoomDirection
(WoodlandMansionPieces.SimpleGrid p_73763_, int p_73764_, int p_73765_, int p_73766_, int p_73767_) StructurePiece.getOrientation()
protected static Direction
StructurePiece.getRandomHorizontalDirection
(Random p_163581_) Modifier and TypeMethodDescriptionprivate void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x1
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73810_, BlockPos p_73811_, Rotation p_73812_, Direction p_73813_, WoodlandMansionPieces.FloorRoomCollection p_73814_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom1x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73823_, BlockPos p_73824_, Rotation p_73825_, Direction p_73826_, Direction p_73827_, WoodlandMansionPieces.FloorRoomCollection p_73828_, boolean p_73829_) private void
WoodlandMansionPieces.MansionPiecePlacer.addRoom2x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73816_, BlockPos p_73817_, Rotation p_73818_, Direction p_73819_, Direction p_73820_, WoodlandMansionPieces.FloorRoomCollection p_73821_) OceanMonumentPieces.FitDoubleXRoom.create
(Direction p_72099_, OceanMonumentPieces.RoomDefinition p_72100_, Random p_72101_) OceanMonumentPieces.FitDoubleXYRoom.create
(Direction p_72108_, OceanMonumentPieces.RoomDefinition p_72109_, Random p_72110_) OceanMonumentPieces.FitDoubleYRoom.create
(Direction p_72117_, OceanMonumentPieces.RoomDefinition p_72118_, Random p_72119_) OceanMonumentPieces.FitDoubleYZRoom.create
(Direction p_72126_, OceanMonumentPieces.RoomDefinition p_72127_, Random p_72128_) OceanMonumentPieces.FitDoubleZRoom.create
(Direction p_72135_, OceanMonumentPieces.RoomDefinition p_72136_, Random p_72137_) OceanMonumentPieces.FitSimpleRoom.create
(Direction p_72144_, OceanMonumentPieces.RoomDefinition p_72145_, Random p_72146_) OceanMonumentPieces.FitSimpleTopRoom.create
(Direction p_72153_, OceanMonumentPieces.RoomDefinition p_72154_, Random p_72155_) OceanMonumentPieces.MonumentRoomFitter.create
(Direction p_72208_, OceanMonumentPieces.RoomDefinition p_72209_, Random p_72210_) protected boolean
StructurePiece.createDispenser
(WorldGenLevel p_73501_, BoundingBox p_73502_, Random p_73503_, int p_73504_, int p_73505_, int p_73506_, Direction p_73507_, ResourceLocation p_73508_) NetherBridgePieces.BridgeCrossing.createPiece
(StructurePieceAccessor p_162648_, int p_162649_, int p_162650_, int p_162651_, Direction p_162652_, int p_162653_) NetherBridgePieces.BridgeEndFiller.createPiece
(StructurePieceAccessor p_162664_, Random p_162665_, int p_162666_, int p_162667_, int p_162668_, Direction p_162669_, int p_162670_) NetherBridgePieces.BridgeStraight.createPiece
(StructurePieceAccessor p_162682_, Random p_162683_, int p_162684_, int p_162685_, int p_162686_, Direction p_162687_, int p_162688_) NetherBridgePieces.CastleCorridorStairsPiece.createPiece
(StructurePieceAccessor p_162700_, int p_162701_, int p_162702_, int p_162703_, Direction p_162704_, int p_162705_) NetherBridgePieces.CastleCorridorTBalconyPiece.createPiece
(StructurePieceAccessor p_162717_, int p_162718_, int p_162719_, int p_162720_, Direction p_162721_, int p_162722_) NetherBridgePieces.CastleEntrance.createPiece
(StructurePieceAccessor p_162734_, Random p_162735_, int p_162736_, int p_162737_, int p_162738_, Direction p_162739_, int p_162740_) NetherBridgePieces.CastleSmallCorridorCrossingPiece.createPiece
(StructurePieceAccessor p_162752_, int p_162753_, int p_162754_, int p_162755_, Direction p_162756_, int p_162757_) NetherBridgePieces.CastleSmallCorridorLeftTurnPiece.createPiece
(StructurePieceAccessor p_162772_, Random p_162773_, int p_162774_, int p_162775_, int p_162776_, Direction p_162777_, int p_162778_) NetherBridgePieces.CastleSmallCorridorPiece.createPiece
(StructurePieceAccessor p_162790_, int p_162791_, int p_162792_, int p_162793_, Direction p_162794_, int p_162795_) NetherBridgePieces.CastleSmallCorridorRightTurnPiece.createPiece
(StructurePieceAccessor p_162810_, Random p_162811_, int p_162812_, int p_162813_, int p_162814_, Direction p_162815_, int p_162816_) NetherBridgePieces.CastleStalkRoom.createPiece
(StructurePieceAccessor p_162828_, int p_162829_, int p_162830_, int p_162831_, Direction p_162832_, int p_162833_) NetherBridgePieces.MonsterThrone.createPiece
(StructurePieceAccessor p_162844_, int p_162845_, int p_162846_, int p_162847_, int p_162848_, Direction p_162849_) NetherBridgePieces.RoomCrossing.createPiece
(StructurePieceAccessor p_162909_, int p_162910_, int p_162911_, int p_162912_, Direction p_162913_, int p_162914_) NetherBridgePieces.StairsRoom.createPiece
(StructurePieceAccessor p_162926_, int p_162927_, int p_162928_, int p_162929_, int p_162930_, Direction p_162931_) StrongholdPieces.ChestCorridor.createPiece
(StructurePieceAccessor p_163265_, Random p_163266_, int p_163267_, int p_163268_, int p_163269_, Direction p_163270_, int p_163271_) StrongholdPieces.FiveCrossing.createPiece
(StructurePieceAccessor p_163301_, Random p_163302_, int p_163303_, int p_163304_, int p_163305_, Direction p_163306_, int p_163307_) static StrongholdPieces.LeftTurn
StrongholdPieces.LeftTurn.createPiece
(StructurePieceAccessor p_163317_, Random p_163318_, int p_163319_, int p_163320_, int p_163321_, Direction p_163322_, int p_163323_) static StrongholdPieces.Library
StrongholdPieces.Library.createPiece
(StructurePieceAccessor p_163335_, Random p_163336_, int p_163337_, int p_163338_, int p_163339_, Direction p_163340_, int p_163341_) static StrongholdPieces.PortalRoom
StrongholdPieces.PortalRoom.createPiece
(StructurePieceAccessor p_163357_, int p_163358_, int p_163359_, int p_163360_, Direction p_163361_, int p_163362_) static StrongholdPieces.PrisonHall
StrongholdPieces.PrisonHall.createPiece
(StructurePieceAccessor p_163375_, Random p_163376_, int p_163377_, int p_163378_, int p_163379_, Direction p_163380_, int p_163381_) static StrongholdPieces.RightTurn
StrongholdPieces.RightTurn.createPiece
(StructurePieceAccessor p_163391_, Random p_163392_, int p_163393_, int p_163394_, int p_163395_, Direction p_163396_, int p_163397_) StrongholdPieces.RoomCrossing.createPiece
(StructurePieceAccessor p_163412_, Random p_163413_, int p_163414_, int p_163415_, int p_163416_, Direction p_163417_, int p_163418_) static StrongholdPieces.StairsDown
StrongholdPieces.StairsDown.createPiece
(StructurePieceAccessor p_163440_, Random p_163441_, int p_163442_, int p_163443_, int p_163444_, Direction p_163445_, int p_163446_) static StrongholdPieces.Straight
StrongholdPieces.Straight.createPiece
(StructurePieceAccessor p_163466_, Random p_163467_, int p_163468_, int p_163469_, int p_163470_, Direction p_163471_, int p_163472_) StrongholdPieces.StraightStairsDown.createPiece
(StructurePieceAccessor p_163485_, Random p_163486_, int p_163487_, int p_163488_, int p_163489_, Direction p_163490_, int p_163491_) private static MineShaftPieces.MineShaftPiece
MineShaftPieces.createRandomShaftPiece
(StructurePieceAccessor p_162481_, Random p_162482_, int p_162483_, int p_162484_, int p_162485_, Direction p_162486_, int p_162487_, MineshaftFeature.Type p_162488_) (package private) static NetherBridgePieces.NetherBridgePiece
NetherBridgePieces.findAndCreateBridgePieceFactory
(NetherBridgePieces.PieceWeight p_162625_, StructurePieceAccessor p_162626_, Random p_162627_, int p_162628_, int p_162629_, int p_162630_, Direction p_162631_, int p_162632_) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.findAndCreatePieceFactory
(Class<? extends StrongholdPieces.StrongholdPiece> p_163234_, StructurePieceAccessor p_163235_, Random p_163236_, int p_163237_, int p_163238_, int p_163239_, Direction p_163240_, int p_163241_) static BoundingBox
MineShaftPieces.MineShaftCorridor.findCorridorSize
(StructurePieceAccessor p_162538_, Random p_162539_, int p_162540_, int p_162541_, int p_162542_, Direction p_162543_) static BoundingBox
MineShaftPieces.MineShaftCrossing.findCrossing
(StructurePieceAccessor p_162564_, Random p_162565_, int p_162566_, int p_162567_, int p_162568_, Direction p_162569_) static BoundingBox
StrongholdPieces.FillerCorridor.findPieceBox
(StructurePieceAccessor p_163280_, Random p_163281_, int p_163282_, int p_163283_, int p_163284_, Direction p_163285_) static BoundingBox
MineShaftPieces.MineShaftStairs.findStairs
(StructurePieceAccessor p_162615_, Random p_162616_, int p_162617_, int p_162618_, int p_162619_, Direction p_162620_) (package private) static MineShaftPieces.MineShaftPiece
MineShaftPieces.generateAndAddPiece
(StructurePiece p_162472_, StructurePieceAccessor p_162473_, Random p_162474_, int p_162475_, int p_162476_, int p_162477_, Direction p_162478_, int p_162479_) private StructurePiece
NetherBridgePieces.NetherBridgePiece.generateAndAddPiece
(NetherBridgePieces.StartPiece p_162858_, StructurePieceAccessor p_162859_, Random p_162860_, int p_162861_, int p_162862_, int p_162863_, Direction p_162864_, int p_162865_, boolean p_162866_) (package private) static StructurePiece
StrongholdPieces.generateAndAddPiece
(StrongholdPieces.StartPiece p_163243_, StructurePieceAccessor p_163244_, Random p_163245_, int p_163246_, int p_163247_, int p_163248_, Direction p_163249_, int p_163250_) NetherBridgePieces.NetherBridgePiece.generatePiece
(NetherBridgePieces.StartPiece p_162875_, List<NetherBridgePieces.PieceWeight> p_162876_, StructurePieceAccessor p_162877_, Random p_162878_, int p_162879_, int p_162880_, int p_162881_, Direction p_162882_, int p_162883_) private static StrongholdPieces.StrongholdPiece
StrongholdPieces.generatePieceFromSmallDoor
(StrongholdPieces.StartPiece p_163225_, StructurePieceAccessor p_163226_, Random p_163227_, int p_163228_, int p_163229_, int p_163230_, Direction p_163231_, int p_163232_) private static BoundingBox
OceanMonumentPieces.OceanMonumentPiece.makeBoundingBox
(Direction p_163041_, OceanMonumentPieces.RoomDefinition p_163042_, int p_163043_, int p_163044_, int p_163045_) protected static BoundingBox
StructurePiece.makeBoundingBox
(int p_163542_, int p_163543_, int p_163544_, Direction p_163545_, int p_163546_, int p_163547_, int p_163548_) static BoundingBox
BoundingBox.orientBox
(int p_71032_, int p_71033_, int p_71034_, int p_71035_, int p_71036_, int p_71037_, int p_71038_, int p_71039_, int p_71040_, Direction p_71041_) private void
WoodlandMansionPieces.MansionGrid.recursiveCorridor
(WoodlandMansionPieces.SimpleGrid p_73751_, int p_73752_, int p_73753_, Direction p_73754_, int p_73755_) void
OceanMonumentPieces.RoomDefinition.setConnection
(Direction p_72460_, OceanMonumentPieces.RoomDefinition p_72461_) void
StructurePiece.setOrientation
(Direction p_73520_) private void
WoodlandMansionPieces.MansionPiecePlacer.traverseOuterWalls
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73790_, WoodlandMansionPieces.PlacementData p_73791_, WoodlandMansionPieces.SimpleGrid p_73792_, Direction p_73793_, int p_73794_, int p_73795_, int p_73796_, int p_73797_) ModifierConstructorDescriptionprotected
BridgeCrossing
(int p_162637_, int p_162638_, Direction p_162639_) BridgeCrossing
(int p_71565_, BoundingBox p_71566_, Direction p_71567_) BridgeEndFiller
(int p_71599_, Random p_71600_, BoundingBox p_71601_, Direction p_71602_) BridgeStraight
(int p_71625_, Random p_71626_, BoundingBox p_71627_, Direction p_71628_) CastleCorridorStairsPiece
(int p_71653_, BoundingBox p_71654_, Direction p_71655_) CastleCorridorTBalconyPiece
(int p_71679_, BoundingBox p_71680_, Direction p_71681_) CastleEntrance
(int p_71705_, Random p_71706_, BoundingBox p_71707_, Direction p_71708_) CastleSmallCorridorCrossingPiece
(int p_71733_, BoundingBox p_71734_, Direction p_71735_) CastleSmallCorridorLeftTurnPiece
(int p_71760_, Random p_71761_, BoundingBox p_71762_, Direction p_71763_) CastleSmallCorridorPiece
(int p_71790_, BoundingBox p_71791_, Direction p_71792_) CastleSmallCorridorRightTurnPiece
(int p_71817_, Random p_71818_, BoundingBox p_71819_, Direction p_71820_) CastleStalkRoom
(int p_71847_, BoundingBox p_71848_, Direction p_71849_) ChestCorridor
(int p_72915_, Random p_72916_, BoundingBox p_72917_, Direction p_72918_) FillerCorridor
(int p_72946_, BoundingBox p_72947_, Direction p_72948_) FiveCrossing
(int p_72974_, Random p_72975_, BoundingBox p_72976_, Direction p_72977_) LeftTurn
(int p_73004_, Random p_73005_, BoundingBox p_73006_, Direction p_73007_) Library
(int p_73033_, Random p_73034_, BoundingBox p_73035_, Direction p_73036_) MineShaftCorridor
(int p_71373_, Random p_71374_, BoundingBox p_71375_, Direction p_71376_, MineshaftFeature.Type p_71377_) MineShaftCrossing
(int p_71430_, BoundingBox p_71431_, Direction p_71432_, MineshaftFeature.Type p_71433_) MineShaftStairs
(int p_71513_, BoundingBox p_71514_, Direction p_71515_, MineshaftFeature.Type p_71516_) MonsterThrone
(int p_71874_, BoundingBox p_71875_, Direction p_71876_) MonumentBuilding
(Random p_72163_, int p_72164_, int p_72165_, Direction p_72166_) OceanMonumentCoreRoom
(Direction p_72215_, OceanMonumentPieces.RoomDefinition p_72216_) OceanMonumentDoubleXRoom
(Direction p_72229_, OceanMonumentPieces.RoomDefinition p_72230_) OceanMonumentDoubleXYRoom
(Direction p_72243_, OceanMonumentPieces.RoomDefinition p_72244_) OceanMonumentDoubleYRoom
(Direction p_72257_, OceanMonumentPieces.RoomDefinition p_72258_) OceanMonumentDoubleYZRoom
(Direction p_72271_, OceanMonumentPieces.RoomDefinition p_72272_) OceanMonumentDoubleZRoom
(Direction p_72285_, OceanMonumentPieces.RoomDefinition p_72286_) OceanMonumentEntryRoom
(Direction p_72299_, OceanMonumentPieces.RoomDefinition p_72300_) OceanMonumentPenthouse
(Direction p_72313_, BoundingBox p_72314_) protected
OceanMonumentPiece
(StructurePieceType p_209894_, int p_209895_, Direction p_209896_, OceanMonumentPieces.RoomDefinition p_209897_, int p_209898_, int p_209899_, int p_209900_) OceanMonumentPiece
(StructurePieceType p_209902_, Direction p_209903_, int p_209904_, BoundingBox p_209905_) OceanMonumentSimpleRoom
(Direction p_72402_, OceanMonumentPieces.RoomDefinition p_72403_, Random p_72404_) OceanMonumentSimpleTopRoom
(Direction p_72417_, OceanMonumentPieces.RoomDefinition p_72418_) OceanMonumentWingRoom
(Direction p_72432_, BoundingBox p_72433_, int p_72434_) PortalRoom
(int p_73070_, BoundingBox p_73071_, Direction p_73072_) PrisonHall
(int p_73098_, Random p_73099_, BoundingBox p_73100_, Direction p_73101_) RightTurn
(int p_73126_, Random p_73127_, BoundingBox p_73128_, Direction p_73129_) RoomCrossing
(int p_71968_, BoundingBox p_71969_, Direction p_71970_) RoomCrossing
(int p_73155_, Random p_73156_, BoundingBox p_73157_, Direction p_73158_) protected
ScatteredFeaturePiece
(StructurePieceType p_209920_, int p_209921_, int p_209922_, int p_209923_, int p_209924_, int p_209925_, int p_209926_, Direction p_209927_) StairsDown
(int p_73195_, Random p_73196_, BoundingBox p_73197_, Direction p_73198_) StairsDown
(StructurePieceType p_209932_, int p_209933_, int p_209934_, int p_209935_, Direction p_209936_) StairsRoom
(int p_71994_, BoundingBox p_71995_, Direction p_71996_) Straight
(int p_73246_, Random p_73247_, BoundingBox p_73248_, Direction p_73249_) StraightStairsDown
(int p_73276_, Random p_73277_, BoundingBox p_73278_, Direction p_73279_) -
Uses of Direction in net.minecraft.world.level.lighting
Modifier and TypeFieldDescriptionprivate static final Direction[]
BlockLightEngine.DIRECTIONS
private static final Direction[]
LayerLightEngine.DIRECTIONS
private static final Direction[]
LayerLightSectionStorage.DIRECTIONS
private static final Direction[]
SkyLightEngine.DIRECTIONS
private static final Direction[]
SkyLightEngine.HORIZONTALS
private static final Direction[]
SkyLightSectionStorage.HORIZONTALS
Modifier and TypeMethodDescriptionstatic int
LayerLightEngine.getLightBlockInto
(BlockGetter p_75668_, BlockState p_75669_, BlockPos p_75670_, BlockState p_75671_, BlockPos p_75672_, Direction p_75673_, int p_75674_) protected VoxelShape
LayerLightEngine.getShape
(BlockState p_75679_, long p_75680_, Direction p_75681_) -
Uses of Direction in net.minecraft.world.level.material
Modifier and TypeMethodDescriptionprotected Map<Direction,
FluidState> FlowingFluid.getSpread
(LevelReader p_76080_, BlockPos p_76081_, BlockState p_76082_) Modifier and TypeMethodDescriptionboolean
EmptyFluid.canBeReplacedWith
(FluidState p_75930_, BlockGetter p_75931_, BlockPos p_75932_, Fluid p_75933_, Direction p_75934_) protected abstract boolean
Fluid.canBeReplacedWith
(FluidState p_76127_, BlockGetter p_76128_, BlockPos p_76129_, Fluid p_76130_, Direction p_76131_) boolean
FluidState.canBeReplacedWith
(BlockGetter p_76159_, BlockPos p_76160_, Fluid p_76161_, Direction p_76162_) boolean
LavaFluid.canBeReplacedWith
(FluidState p_76233_, BlockGetter p_76234_, BlockPos p_76235_, Fluid p_76236_, Direction p_76237_) boolean
WaterFluid.canBeReplacedWith
(FluidState p_76458_, BlockGetter p_76459_, BlockPos p_76460_, Fluid p_76461_, Direction p_76462_) private boolean
FlowingFluid.canPassThrough
(BlockGetter p_75964_, Fluid p_75965_, BlockPos p_75966_, BlockState p_75967_, Direction p_75968_, BlockPos p_75969_, BlockState p_75970_, FluidState p_75971_) private boolean
FlowingFluid.canPassThroughWall
(Direction p_76062_, BlockGetter p_76063_, BlockPos p_76064_, BlockState p_76065_, BlockPos p_76066_, BlockState p_76067_) protected boolean
FlowingFluid.canSpreadTo
(BlockGetter p_75978_, BlockPos p_75979_, BlockState p_75980_, Direction p_75981_, BlockPos p_75982_, BlockState p_75983_, FluidState p_75984_, Fluid p_75985_) protected int
FlowingFluid.getSlopeDistance
(LevelReader p_76027_, BlockPos p_76028_, int p_76029_, Direction p_76030_, BlockState p_76031_, BlockPos p_76032_, it.unimi.dsi.fastutil.shorts.Short2ObjectMap<com.mojang.datafixers.util.Pair<BlockState, FluidState>> p_76033_, it.unimi.dsi.fastutil.shorts.Short2BooleanMap p_76034_) private boolean
LavaFluid.isFlammable
(LevelReader level, BlockPos pos, Direction face) protected boolean
FlowingFluid.isSolidFace
(BlockGetter p_75991_, BlockPos p_75992_, Direction p_75993_) protected void
FlowingFluid.spreadTo
(LevelAccessor p_76005_, BlockPos p_76006_, BlockState p_76007_, Direction p_76008_, FluidState p_76009_) protected void
LavaFluid.spreadTo
(LevelAccessor p_76220_, BlockPos p_76221_, BlockState p_76222_, Direction p_76223_, FluidState p_76224_) -
Uses of Direction in net.minecraft.world.level.pathfinder
Modifier and TypeMethodDescriptionprotected Node
WalkNodeEvaluator.findAcceptedNode
(int p_164726_, int p_164727_, int p_164728_, int p_164729_, double p_164730_, Direction p_164731_, BlockPathTypes p_164732_) -
Uses of Direction in net.minecraft.world.level.portal
Modifier and TypeMethodDescriptionprivate boolean
PortalForcer.canHostFrame
(BlockPos p_77662_, BlockPos.MutableBlockPos p_77663_, Direction p_77664_, int p_77665_) private int
PortalShape.getDistanceUntilEdgeAboveFrame
(BlockPos p_77736_, Direction p_77737_) -
Uses of Direction in net.minecraft.world.phys
Modifier and TypeMethodDescriptionprivate static Direction
AABB.clipPoint
(double[] p_82348_, Direction p_82349_, double p_82350_, double p_82351_, double p_82352_, double p_82353_, double p_82354_, double p_82355_, double p_82356_, double p_82357_, Direction p_82358_, double p_82359_, double p_82360_, double p_82361_) private static Direction
AABB.getDirection
(AABB p_82326_, Vec3 p_82327_, double[] p_82328_, Direction p_82329_, double p_82330_, double p_82331_, double p_82332_) BlockHitResult.getDirection()
Modifier and TypeMethodDescriptionprivate static Direction
AABB.clipPoint
(double[] p_82348_, Direction p_82349_, double p_82350_, double p_82351_, double p_82352_, double p_82353_, double p_82354_, double p_82355_, double p_82356_, double p_82357_, Direction p_82358_, double p_82359_, double p_82360_, double p_82361_) private static Direction
AABB.getDirection
(AABB p_82326_, Vec3 p_82327_, double[] p_82328_, Direction p_82329_, double p_82330_, double p_82331_, double p_82332_) static BlockHitResult
BlockHitResult.withDirection
(Direction p_82433_) ModifierConstructorDescriptionprivate
BlockHitResult
(boolean p_82420_, Vec3 p_82421_, Direction p_82422_, BlockPos p_82423_, boolean p_82424_) BlockHitResult
(Vec3 p_82415_, Direction p_82416_, BlockPos p_82417_, boolean p_82418_) -
Uses of Direction in net.minecraft.world.phys.shapes
Modifier and TypeMethodDescriptionstatic boolean
Shapes.blockOccudes
(VoxelShape p_83118_, VoxelShape p_83119_, Direction p_83120_) private VoxelShape
VoxelShape.calculateFace
(Direction p_83295_) void
DiscreteVoxelShape.IntFaceConsumer.consume
(Direction p_82854_, int p_82855_, int p_82856_, int p_82857_) static VoxelShape
Shapes.getFaceShape
(VoxelShape p_83122_, Direction p_83123_) VoxelShape.getFaceShape
(Direction p_83264_) static boolean
Shapes.mergedFaceOccludes
(VoxelShape p_83153_, VoxelShape p_83154_, Direction p_83155_) -
Uses of Direction in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.fillNormal
(int[] faceData, Direction facing) internal, relies on fixed format of FaceBakery -
Uses of Direction in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault Direction
IForgeTransformation.rotateTransform
(Direction facing) Modifier and TypeMethodDescriptionIForgeBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) default Direction
IForgeTransformation.rotateTransform
(Direction facing) -
Uses of Direction in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate static final Direction[]
ItemLayerModel.HORIZONTALS
private static final Direction[]
ItemLayerModel.VERTICALS
Modifier and TypeFieldDescriptionItemLayerModel.FaceData.data
protected final com.google.common.collect.ImmutableMap<Direction,
com.google.common.collect.ImmutableList<BakedQuad>> FluidModel.BakedFluid.faceQuads
Modifier and TypeMethodDescriptionprivate com.google.common.collect.ImmutableMap<Direction,
com.google.common.collect.ImmutableList<BakedQuad>> FluidModel.BakedFluid.buildQuads
(boolean statePresent, int[] cornerRound, int flowRound, boolean[] sideOverlays) Modifier and TypeMethodDescriptionIModelBuilder.addFaceQuad
(Direction facing, BakedQuad quad) IModelBuilder.Simple.addFaceQuad
(Direction facing, BakedQuad quad) private BakedQuad
FluidModel.BakedFluid.buildQuad
(Direction side, TextureAtlasSprite texture, boolean flip, boolean offset, FluidModel.BakedFluid.VertexParameter x, FluidModel.BakedFluid.VertexParameter y, FluidModel.BakedFluid.VertexParameter z, FluidModel.BakedFluid.VertexParameter u, FluidModel.BakedFluid.VertexParameter v) private static BakedQuad
ItemLayerModel.buildQuad
(Transformation 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
(Transformation transform, Direction side, int tint, TextureAtlasSprite sprite, int u, int v, int size, boolean fullbright) ItemTextureQuadConverter.convertTexture
(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint) Takes a texture and converts it into BakedQuads.ItemTextureQuadConverter.convertTexture
(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity) ItemTextureQuadConverter.convertTextureHorizontal
(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint) Scans a texture and converts it into a list of horizontal strips stacked on top of each other.ItemTextureQuadConverter.convertTextureHorizontal
(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity) ItemTextureQuadConverter.convertTextureVertical
(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint) Scans a texture and converts it into a list of vertical strips stacked next to each other from left to right.ItemTextureQuadConverter.convertTextureVertical
(Transformation transform, TextureAtlasSprite template, TextureAtlasSprite sprite, float z, Direction facing, int color, int tint, int luminosity) static BakedQuad
ItemTextureQuadConverter.genQuad
(Transformation 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
(Transformation transform, float x1, float y1, float x2, float y2, float z, TextureAtlasSprite sprite, Direction facing, int color, int tint, int luminosity) boolean
BakedItemModel.BakedGuiItemModel.getQuads
(BlockState state, Direction side, Random rand) BakedItemModel.getQuads
(BlockState state, Direction side, Random rand) BakedModelWrapper.getQuads
(BlockState state, Direction side, Random rand) BakedModelWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) CompositeModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) FluidModel.BakedFluid.getQuads
(BlockState state, Direction side, Random rand) FluidModel.CachingBakedFluid.getQuads
(BlockState state, Direction side, Random rand, IModelData modelData) ItemMultiLayerBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData modelData) MultiLayerModel.MultiLayerBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) PerspectiveMapWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) SeparatePerspectiveModel.BakedModel.getQuads
(BlockState state, Direction side, Random rand) private static BakedQuad
ItemTextureQuadConverter.putQuad
(Transformation transform, Direction side, TextureAtlasSprite sprite, int color, int tint, float x1, float y1, float x2, float y2, float z, float u1, float v1, float u2, float v2, int luminosity) private void
FluidModel.BakedFluid.putVertex
(IVertexConsumer consumer, Direction side, boolean offset, float x, float y, float z, float u, float v) private static void
ItemLayerModel.putVertex
(IVertexConsumer consumer, Direction side, float x, float y, float z, float u, float v, int uLight, int vLight) private static void
ItemTextureQuadConverter.putVertex
(IVertexConsumer consumer, Direction side, float x, float y, float z, float u, float v, int color, int luminosity) private static Direction
void
-
Uses of Direction in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.BakedWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData data) -
Uses of Direction in net.minecraftforge.client.model.data
Modifier and TypeMethodDescriptionIDynamicBakedModel.getQuads
(BlockState state, Direction side, Random rand) IDynamicBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) -
Uses of Direction in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprivate Direction
ModelBuilder.ElementBuilder.FaceBuilder.cullface
Modifier and TypeFieldDescriptionprivate final Map<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.faces
BlockStateProvider.WALL_PROPS
Modifier and TypeMethodDescriptionprivate BiConsumer<Direction,
ModelBuilder<T>.ElementBuilder.FaceBuilder> ModelBuilder.ElementBuilder.addTexture
(String texture) Modifier and TypeMethodDescriptionReturn or create the face builder for the given direction.Modifier and TypeMethodDescriptionModelBuilder.ElementBuilder.allFaces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all possible faces dynamically using a function, creating new faces as necessary.ModelBuilder.ElementBuilder.faces
(BiConsumer<Direction, ModelBuilder<T>.ElementBuilder.FaceBuilder> action) Modify all existing faces dynamically using a function.private void
BlockStateProvider.wallSidePart
(MultiPartBlockStateBuilder builder, ModelFile model, Map.Entry<Direction, Property<WallSide>> entry, WallSide height) -
Uses of Direction in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionOBJModel.makeQuad
(int[][] indices, int tintIndex, Vector4f colorTint, Vector4f ambientColor, TextureAtlasSprite texture, Transformation transform) -
Uses of Direction in net.minecraftforge.client.model.pipeline
Modifier and TypeFieldDescriptionprivate Direction
BakedQuadBuilder.orientation
private static final Direction[]
BlockInfo.SIDES
Modifier and TypeMethodDescriptionstatic float
LightUtil.diffuseLight
(Direction side) void
BakedQuadBuilder.setQuadOrientation
(Direction orientation) void
IVertexConsumer.setQuadOrientation
(Direction orientation) void
VertexBufferConsumer.setQuadOrientation
(Direction orientation) void
VertexLighterFlat.setQuadOrientation
(Direction orientation) void
VertexTransformer.setQuadOrientation
(Direction orientation) -
Uses of Direction in net.minecraftforge.client.model.renderable
-
Uses of Direction in net.minecraftforge.common
Modifier and TypeMethodDescriptionForgeHooks.onLeftClickBlock
(Player player, BlockPos pos, Direction face) -
Uses of Direction in net.minecraftforge.common.capabilities
Modifier and TypeMethodDescription<T> LazyOptional<T>
CapabilityDispatcher.getCapability
(Capability<T> cap, Direction side) <T> LazyOptional<T>
CapabilityProvider.getCapability
(Capability<T> cap, Direction side) <T> LazyOptional<T>
ICapabilityProvider.getCapability
(Capability<T> cap, Direction side) Retrieves the Optional handler for the capability requested on the specific side. -
Uses of Direction in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault Direction
IForgeBlock.getBedDirection
(BlockState state, LevelReader level, BlockPos pos) Returns the direction of the block.default Direction
IForgeBlockState.getBedDirection
(LevelReader level, BlockPos pos) Returns the direction of the block.Modifier and TypeMethodDescriptiondefault boolean
IForgeBlock.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Whether redstone dust should visually connect to this block on a given sidedefault boolean
IForgeBlockState.canRedstoneConnectTo
(BlockGetter level, BlockPos pos, Direction direction) Whether redstone dust should visually connect to this block on a side.boolean
IForgeBlock.canSustainPlant
(BlockState state, BlockGetter level, 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
(BlockGetter level, BlockPos pos, Direction facing, IPlantable plantable) Determines if this block can support the passed in plant, allowing it to be planted and grow.default int
IForgeBlock.getFireSpreadSpeed
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating on a neighbor block.default int
IForgeBlockState.getFireSpreadSpeed
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating on a neighbor block.default int
IForgeBlock.getFlammability
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Chance that fire will spread and consume this block.default int
IForgeBlockState.getFlammability
(BlockGetter level, BlockPos pos, Direction face) Chance that fire will spread and consume this block.default boolean
IForgeBlock.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IForgeBlockState.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState neighborState, Direction dir) Whether this block hides the neighbors face pointed towards by the given direction.default boolean
IForgeBlock.isFireSource
(BlockState state, LevelReader level, BlockPos pos, Direction direction) Currently only called by fire when it is on top of this block.default boolean
IForgeBlockState.isFireSource
(LevelReader level, BlockPos pos, Direction side) Currently only called by fire when it is on top of this block.default boolean
IForgeBlock.isFlammable
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) Called when fire is updating, checks if a block face can catch fire.default boolean
IForgeBlockState.isFlammable
(BlockGetter level, BlockPos pos, Direction face) Called when fire is updating, checks if a block face can catch fire.default void
IForgeBlock.onCaughtFire
(BlockState state, Level level, BlockPos pos, Direction direction, LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default void
IForgeBlockState.onCaughtFire
(Level level, BlockPos pos, Direction face, LivingEntity igniter) If the block is flammable, this is called when it gets lit on fire.default boolean
IForgeBlock.shouldCheckWeakPower
(BlockState state, LevelReader level, 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
(LevelReader level, 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.debug.block
Modifier and TypeMethodDescriptionboolean
RedstoneSidedConnectivityTest.EastRedstoneBlock.canConnectRedstone
(BlockState state, BlockGetter level, BlockPos pos, Direction direction) boolean
CustomPlantTypeTest.CustomBlock.canSustainPlant
(BlockState state, BlockGetter level, BlockPos pos, Direction facing, IPlantable plantable) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getPlantQuads
(Block plant, Direction face, Random rand) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) boolean
HideNeighborFaceTest.GlassSlab.hidesNeighborFace
(BlockGetter level, BlockPos pos, BlockState state, BlockState neighborState, Direction dir) boolean
HideNeighborFaceTest.GlassSlab.skipRendering
(BlockState state, BlockState neighborState, Direction face) -
Uses of Direction in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionTRSRTransformerTest.MyBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData data) -
Uses of Direction in net.minecraftforge.debug.misc
Modifier and TypeMethodDescription<T> @NotNull LazyOptional<T>
GameTestTest.EnergyBlockEntity.getCapability
(@NotNull Capability<T> capability, @Nullable Direction facing) -
Uses of Direction in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onBlockPlace
(Entity entity, BlockSnapshot blockSnapshot, Direction direction) static boolean
ForgeEventFactory.onMultiBlockPlace
(Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) static boolean
ForgeEventFactory.onPistonMovePost
(Level level, BlockPos pos, Direction direction, boolean extending) static boolean
ForgeEventFactory.onPistonMovePre
(Level level, BlockPos pos, Direction direction, boolean extending) Modifier and TypeMethodDescriptionForgeEventFactory.onNeighborNotify
(Level level, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.minecraftforge.event.entity.player
ModifierConstructorDescriptionLeftClickBlock
(Player player, BlockPos pos, Direction face) private
PlayerInteractEvent
(Player player, InteractionHand hand, BlockPos pos, Direction face) -
Uses of Direction in net.minecraftforge.event.world
Modifier and TypeMethodDescriptionBlockEvent.NeighborNotifyEvent.getNotifiedSides()
Gets a list of directions from the base block that updates will occur upon.ModifierConstructorDescriptionPistonEvent
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Post
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) Pre
(Level world, BlockPos pos, Direction direction, PistonEvent.PistonMoveType moveType) ModifierConstructorDescriptionNeighborNotifyEvent
(Level world, BlockPos pos, BlockState state, EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate) -
Uses of Direction in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionprotected boolean
ForgeFlowingFluid.canBeReplacedWith
(FluidState state, BlockGetter level, BlockPos pos, Fluid fluidIn, Direction direction) static LazyOptional<IFluidHandler>
FluidUtil.getFluidHandler
(Level level, BlockPos blockPos, Direction side) Helper method to get an IFluidHandler for at a block position.static boolean
FluidUtil.interactWithFluidHandler
(Player player, InteractionHand hand, Level level, 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, Player playerIn, Level level, BlockPos pos, Direction side) Attempts to pick up a fluid in the level and put it in an empty container item. -
Uses of Direction in net.minecraftforge.fluids.capability
Modifier and TypeMethodDescription<T> LazyOptional<T>
TileFluidHandler.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraftforge.fluids.capability.templates
Modifier and TypeMethodDescription<T> LazyOptional<T>
FluidHandlerItemStack.getCapability
(Capability<T> capability, Direction facing) <T> LazyOptional<T>
FluidHandlerItemStackSimple.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraftforge.fluids.capability.wrappers
Modifier and TypeMethodDescription<T> LazyOptional<T>
FluidBucketWrapper.getCapability
(Capability<T> capability, Direction facing) -
Uses of Direction in net.minecraftforge.items
Modifier and TypeMethodDescriptionstatic Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,
Object>> VanillaInventoryCodeHooks.getItemHandler
(Level worldIn, double x, double y, double z, Direction side) private static Optional<org.apache.commons.lang3.tuple.Pair<IItemHandler,
Object>> VanillaInventoryCodeHooks.getItemHandler
(Level level, Hopper hopper, Direction hopperFacing) -
Uses of Direction in net.minecraftforge.items.wrapper
Modifier and TypeMethodDescriptionstatic LazyOptional<IItemHandlerModifiable>[]
SidedInvWrapper.create
(WorldlyContainer inv, Direction... sides) static int
SidedInvWrapper.getSlot
(WorldlyContainer inv, int slot, Direction side)
IForgeBakedModel.getQuads(BlockState, Direction, Random, net.minecraftforge.client.model.data.IModelData)