Uses of Enum Class
net.minecraft.util.Direction.Axis
Package
Description
-
Uses of Direction.Axis in net.minecraft.block
Modifier and TypeFieldDescriptionstatic final EnumProperty<Direction.Axis>
NetherPortalBlock.AXIS
static final EnumProperty<Direction.Axis>
RotatedPillarBlock.AXIS
Modifier and TypeMethodDescriptionstatic PortalInfo
PortalSize.createPortalInfo
(ServerWorld p_242963_0_, TeleportationRepositioner.Result p_242963_1_, Direction.Axis p_242963_2_, Vector3d p_242963_3_, EntitySize p_242963_4_, Vector3d p_242963_5_, float p_242963_6_, float p_242963_7_) static Optional<PortalSize>
PortalSize.findEmptyPortalShape
(IWorld p_242964_0_, BlockPos p_242964_1_, Direction.Axis p_242964_2_) static Optional<PortalSize>
PortalSize.findPortalShape
(IWorld p_242965_0_, BlockPos p_242965_1_, Predicate<PortalSize> p_242965_2_, Direction.Axis p_242965_3_) static Vector3d
PortalSize.getRelativePosition
(TeleportationRepositioner.Result p_242973_0_, Direction.Axis p_242973_1_, Vector3d p_242973_2_, EntitySize p_242973_3_) ModifierConstructorDescriptionPortalSize
(IWorld p_i48740_1_, BlockPos p_i48740_2_, Direction.Axis p_i48740_3_) -
Uses of Direction.Axis in net.minecraft.client.renderer.model
Modifier and TypeMethodDescriptionprivate Direction.Axis
BlockPart.Deserializer.getAxis
(com.google.gson.JsonObject p_178252_1_) ModifierConstructorDescriptionBlockPartRotation
(Vector3f p_i47623_1_, Direction.Axis p_i47623_2_, float p_i47623_3_, boolean p_i47623_4_) -
Uses of Direction.Axis in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionstatic EnumSet<Direction.Axis>
SwizzleArgument.getSwizzle
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197291_0_, String p_197291_1_) SwizzleArgument.parse
(com.mojang.brigadier.StringReader p_parse_1_) -
Uses of Direction.Axis in net.minecraft.entity
Modifier and TypeMethodDescriptionprivate double
Entity.applyPistonMovementRestriction
(Direction.Axis p_213304_1_, double p_213304_2_) protected Vector3d
Entity.getRelativePortalPosition
(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_) protected Vector3d
LivingEntity.getRelativePortalPosition
(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_) -
Uses of Direction.Axis in net.minecraft.entity.item
Modifier and TypeMethodDescriptionprotected Vector3d
BoatEntity.getRelativePortalPosition
(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_) -
Uses of Direction.Axis in net.minecraft.entity.item.minecart
Modifier and TypeMethodDescriptionprotected Vector3d
AbstractMinecartEntity.getRelativePortalPosition
(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_) -
Uses of Direction.Axis in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionprivate void
ShulkerBulletEntity.selectNextMoveDirection
(Direction.Axis p_184569_1_) ModifierConstructorDescriptionShulkerBulletEntity
(World p_i46772_1_, LivingEntity p_i46772_2_, Entity p_i46772_3_, Direction.Axis p_i46772_4_) -
Uses of Direction.Axis in net.minecraft.state.properties
Modifier and TypeFieldDescriptionstatic final EnumProperty<Direction.Axis>
BlockStateProperties.AXIS
static final EnumProperty<Direction.Axis>
BlockStateProperties.HORIZONTAL_AXIS
-
Uses of Direction.Axis in net.minecraft.util
Modifier and TypeFieldDescriptionprivate final Direction.Axis
Direction.axis
private final Direction.Axis[]
Direction.Plane.axis
static final Direction.Axis[]
AxisRotation.AXIS_VALUES
private static final Direction.Axis[]
Direction.Axis.VALUES
Modifier and TypeFieldDescriptionprivate static final Map<String,
Direction.Axis> Direction.Axis.BY_NAME
static final com.mojang.serialization.Codec<Direction.Axis>
Direction.Axis.CODEC
Modifier and TypeMethodDescriptionstatic Direction.Axis
abstract Direction.Axis
AxisRotation.cycle
(Direction.Axis p_197513_1_) Direction.getAxis()
static Direction.Axis
Direction.Plane.getRandomAxis
(Random p_244803_1_) static Direction.Axis
Returns the enum constant of this class with the specified name.static Direction.Axis[]
Direction.Axis.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic AxisRotation
AxisRotation.between
(Direction.Axis p_197516_0_, Direction.Axis p_197516_1_) abstract int
AxisRotation.cycle
(int p_197517_1_, int p_197517_2_, int p_197517_3_, Direction.Axis p_197517_4_) abstract Direction.Axis
AxisRotation.cycle
(Direction.Axis p_197513_1_) static Direction
Direction.fromAxisAndDirection
(Direction.Axis p_211699_0_, Direction.AxisDirection p_211699_1_) static Direction
Direction.get
(Direction.AxisDirection p_181076_0_, Direction.Axis p_181076_1_) TeleportationRepositioner.getLargestRectangleAround
(BlockPos p_243676_0_, Direction.Axis p_243676_1_, int p_243676_2_, Direction.Axis p_243676_3_, int p_243676_4_, Predicate<BlockPos> p_243676_5_) ModifierConstructorDescriptionprivate
Direction
(int p_i46016_3_, int p_i46016_4_, int p_i46016_5_, String p_i46016_6_, Direction.AxisDirection p_i46016_7_, Direction.Axis p_i46016_8_, Vector3i p_i46016_9_) private
Plane
(Direction[] p_i49393_3_, Direction.Axis[] p_i49393_4_) -
Uses of Direction.Axis in net.minecraft.util.math
Modifier and TypeMethodDescriptionBlockPos.Mutable.clamp
(Direction.Axis p_239620_1_, int p_239620_2_, int p_239620_3_) double
AxisAlignedBB.max
(Direction.Axis p_197742_1_) double
AxisAlignedBB.min
(Direction.Axis p_197745_1_) BlockPos.Mutable.relative
(Direction.Axis p_241872_1_, int p_241872_2_) BlockPos.relative
(Direction.Axis p_241872_1_, int p_241872_2_) -
Uses of Direction.Axis in net.minecraft.util.math.shapes
Modifier and TypeFieldDescriptionprivate final Direction.Axis
SplitVoxelShape.axis
private static final Direction.Axis[]
VoxelShapePart.AXIS_VALUES
Modifier and TypeMethodDescriptiondouble
VoxelShape.collide
(Direction.Axis p_212430_1_, AxisAlignedBB p_212430_2_, double p_212430_3_) static double
VoxelShapes.collide
(Direction.Axis p_212437_0_, AxisAlignedBB p_212437_1_, Stream<VoxelShape> p_212437_2_, double p_212437_3_) static double
VoxelShapes.collide
(Direction.Axis p_216383_0_, AxisAlignedBB p_216383_1_, IWorldReader p_216383_2_, double p_216383_3_, ISelectionContext p_216383_5_, Stream<VoxelShape> p_216383_6_) protected int
VoxelShape.findIndex
(Direction.Axis p_197749_1_, double p_197749_2_) protected int
VoxelShapeCube.findIndex
(Direction.Axis p_197749_1_, double p_197749_2_) int
BitSetVoxelShapePart.firstFull
(Direction.Axis p_199623_1_) int
PartSplitVoxelShape.firstFull
(Direction.Axis p_199623_1_) abstract int
VoxelShapePart.firstFull
(Direction.Axis p_199623_1_) protected double
VoxelShape.get
(Direction.Axis p_197759_1_, int p_197759_2_) protected it.unimi.dsi.fastutil.doubles.DoubleList
SplitVoxelShape.getCoords
(Direction.Axis p_197757_1_) protected abstract it.unimi.dsi.fastutil.doubles.DoubleList
VoxelShape.getCoords
(Direction.Axis p_197757_1_) protected it.unimi.dsi.fastutil.doubles.DoubleList
VoxelShapeArray.getCoords
(Direction.Axis p_197757_1_) protected it.unimi.dsi.fastutil.doubles.DoubleList
VoxelShapeCube.getCoords
(Direction.Axis p_197757_1_) int
VoxelShapePart.getSize
(Direction.Axis p_197819_1_) int
BitSetVoxelShapePart.lastFull
(Direction.Axis p_199624_1_) int
PartSplitVoxelShape.lastFull
(Direction.Axis p_199624_1_) abstract int
VoxelShapePart.lastFull
(Direction.Axis p_199624_1_) int
VoxelShapePart.lastFull
(Direction.Axis p_197836_1_, int p_197836_2_, int p_197836_3_) private static VoxelShapePart
SplitVoxelShape.makeSlice
(VoxelShapePart p_197775_0_, Direction.Axis p_197775_1_, int p_197775_2_) double
VoxelShape.max
(Direction.Axis p_197758_1_) double
VoxelShape.max
(Direction.Axis p_197760_1_, double p_197760_2_, double p_197760_4_) double
VoxelShape.min
(Direction.Axis p_197762_1_) ModifierConstructorDescriptionSplitVoxelShape
(VoxelShape p_i47682_1_, Direction.Axis p_i47682_2_, int p_i47682_3_) -
Uses of Direction.Axis in net.minecraft.util.math.vector
Modifier and TypeMethodDescriptiondouble
Vector3d.get
(Direction.Axis p_216370_1_) int
Vector3i.get
(Direction.Axis p_243648_1_) boolean
Orientation.inverts
(Direction.Axis p_235529_1_) -
Uses of Direction.Axis in net.minecraft.world
Modifier and TypeMethodDescriptionTeleporter.createPortal
(BlockPos p_242956_1_, Direction.Axis p_242956_2_) -
Uses of Direction.Axis in net.minecraft.world.gen.feature.template
ModifierConstructorDescriptionAxisAlignedLinearPosTest
(float p_i232114_1_, float p_i232114_2_, int p_i232114_3_, int p_i232114_4_, Direction.Axis p_i232114_5_) -
Uses of Direction.Axis in net.minecraft.world.gen.trunkplacer
Modifier and TypeMethodDescriptionprivate Direction.Axis
FancyTrunkPlacer.getLogAxis
(BlockPos p_236889_1_, BlockPos p_236889_2_) -
Uses of Direction.Axis in net.minecraftforge.client.model.generators
Modifier and TypeFieldDescriptionprivate Direction.Axis
ModelBuilder.ElementBuilder.RotationBuilder.axis
Modifier and TypeMethodDescriptionModelBuilder.ElementBuilder.RotationBuilder.axis
(Direction.Axis axis)