Uses of Class
net.minecraft.util.Direction.Axis
-
-
Uses of Direction.Axis in net.minecraft.block
Fields in net.minecraft.block declared as Direction.Axis Modifier and Type Field Description private Direction.Axis
PortalSize. axis
Fields in net.minecraft.block with type parameters of type Direction.Axis Modifier and Type Field Description static EnumProperty<Direction.Axis>
NetherPortalBlock. AXIS
static EnumProperty<Direction.Axis>
RotatedPillarBlock. AXIS
Methods in net.minecraft.block with parameters of type Direction.Axis Modifier and Type Method Description static 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 java.util.Optional<PortalSize>
PortalSize. findEmptyPortalShape(IWorld p_242964_0_, BlockPos p_242964_1_, Direction.Axis p_242964_2_)
static java.util.Optional<PortalSize>
PortalSize. findPortalShape(IWorld p_242965_0_, BlockPos p_242965_1_, java.util.function.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_)
Constructors in net.minecraft.block with parameters of type Direction.Axis Constructor Description PortalSize(IWorld p_i48740_1_, BlockPos p_i48740_2_, Direction.Axis p_i48740_3_)
-
Uses of Direction.Axis in net.minecraft.client.renderer.model
Fields in net.minecraft.client.renderer.model declared as Direction.Axis Modifier and Type Field Description Direction.Axis
BlockPartRotation. axis
Methods in net.minecraft.client.renderer.model that return Direction.Axis Modifier and Type Method Description private Direction.Axis
BlockPart.Deserializer. getAxis(com.google.gson.JsonObject p_178252_1_)
Constructors in net.minecraft.client.renderer.model with parameters of type Direction.Axis Constructor Description BlockPartRotation(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
Methods in net.minecraft.command.arguments that return types with arguments of type Direction.Axis Modifier and Type Method Description static java.util.EnumSet<Direction.Axis>
SwizzleArgument. getSwizzle(com.mojang.brigadier.context.CommandContext<CommandSource> p_197291_0_, java.lang.String p_197291_1_)
java.util.EnumSet<Direction.Axis>
SwizzleArgument. parse(com.mojang.brigadier.StringReader p_parse_1_)
-
Uses of Direction.Axis in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type Direction.Axis Modifier and Type Method Description private 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
Methods in net.minecraft.entity.item with parameters of type Direction.Axis Modifier and Type Method Description protected Vector3d
BoatEntity. getRelativePortalPosition(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_)
-
Uses of Direction.Axis in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart with parameters of type Direction.Axis Modifier and Type Method Description protected Vector3d
AbstractMinecartEntity. getRelativePortalPosition(Direction.Axis p_241839_1_, TeleportationRepositioner.Result p_241839_2_)
-
Uses of Direction.Axis in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Direction.Axis Modifier and Type Method Description private void
ShulkerBulletEntity. selectNextMoveDirection(Direction.Axis p_184569_1_)
Constructors in net.minecraft.entity.projectile with parameters of type Direction.Axis Constructor Description ShulkerBulletEntity(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
Fields in net.minecraft.state.properties with type parameters of type Direction.Axis Modifier and Type Field Description static EnumProperty<Direction.Axis>
BlockStateProperties. AXIS
static EnumProperty<Direction.Axis>
BlockStateProperties. HORIZONTAL_AXIS
-
Uses of Direction.Axis in net.minecraft.util
Fields in net.minecraft.util declared as Direction.Axis Modifier and Type Field Description private Direction.Axis
Direction. axis
private Direction.Axis[]
Direction.Plane. axis
static Direction.Axis[]
AxisRotation. AXIS_VALUES
private static Direction.Axis[]
Direction.Axis. VALUES
Fields in net.minecraft.util with type parameters of type Direction.Axis Modifier and Type Field Description private static java.util.Map<java.lang.String,Direction.Axis>
Direction.Axis. BY_NAME
static com.mojang.serialization.Codec<Direction.Axis>
Direction.Axis. CODEC
Methods in net.minecraft.util that return Direction.Axis Modifier and Type Method Description static Direction.Axis
Direction.Axis. byName(java.lang.String p_176717_0_)
abstract Direction.Axis
AxisRotation. cycle(Direction.Axis p_197513_1_)
Direction.Axis
Direction. getAxis()
static Direction.Axis
Direction.Axis. getRandom(java.util.Random p_239634_0_)
Direction.Axis
Direction.Plane. getRandomAxis(java.util.Random p_244803_1_)
static Direction.Axis
Direction.Axis. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Direction.Axis[]
Direction.Axis. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.util with parameters of type Direction.Axis Modifier and Type Method Description static 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_)
static TeleportationRepositioner.Result
TeleportationRepositioner. getLargestRectangleAround(BlockPos p_243676_0_, Direction.Axis p_243676_1_, int p_243676_2_, Direction.Axis p_243676_3_, int p_243676_4_, java.util.function.Predicate<BlockPos> p_243676_5_)
Constructors in net.minecraft.util with parameters of type Direction.Axis Constructor Description Direction(int p_i46016_3_, int p_i46016_4_, int p_i46016_5_, java.lang.String p_i46016_6_, Direction.AxisDirection p_i46016_7_, Direction.Axis p_i46016_8_, Vector3i p_i46016_9_)
Plane(Direction[] p_i49393_3_, Direction.Axis[] p_i49393_4_)
-
Uses of Direction.Axis in net.minecraft.util.math
Methods in net.minecraft.util.math with parameters of type Direction.Axis Modifier and Type Method Description BlockPos.Mutable
BlockPos.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
BlockPos.Mutable. relative(Direction.Axis p_241872_1_, int p_241872_2_)
BlockPos
BlockPos. relative(Direction.Axis p_241872_1_, int p_241872_2_)
-
Uses of Direction.Axis in net.minecraft.util.math.shapes
Fields in net.minecraft.util.math.shapes declared as Direction.Axis Modifier and Type Field Description private Direction.Axis
SplitVoxelShape. axis
private static Direction.Axis[]
VoxelShapePart. AXIS_VALUES
Methods in net.minecraft.util.math.shapes with parameters of type Direction.Axis Modifier and Type Method Description double
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_, java.util.stream.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_, java.util.stream.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_)
Constructors in net.minecraft.util.math.shapes with parameters of type Direction.Axis Constructor Description SplitVoxelShape(VoxelShape p_i47682_1_, Direction.Axis p_i47682_2_, int p_i47682_3_)
-
Uses of Direction.Axis in net.minecraft.util.math.vector
Methods in net.minecraft.util.math.vector with parameters of type Direction.Axis Modifier and Type Method Description double
Vector3d. get(Direction.Axis p_216370_1_)
int
Vector3i. get(Direction.Axis p_243648_1_)
boolean
Orientation. inverts(Direction.Axis p_235529_1_)
Method parameters in net.minecraft.util.math.vector with type arguments of type Direction.Axis Modifier and Type Method Description Vector3d
Vector3d. align(java.util.EnumSet<Direction.Axis> p_197746_1_)
-
Uses of Direction.Axis in net.minecraft.world
Methods in net.minecraft.world with parameters of type Direction.Axis Modifier and Type Method Description java.util.Optional<TeleportationRepositioner.Result>
Teleporter. createPortal(BlockPos p_242956_1_, Direction.Axis p_242956_2_)
-
Uses of Direction.Axis in net.minecraft.world.gen.feature.template
Fields in net.minecraft.world.gen.feature.template declared as Direction.Axis Modifier and Type Field Description private Direction.Axis
AxisAlignedLinearPosTest. axis
Constructors in net.minecraft.world.gen.feature.template with parameters of type Direction.Axis Constructor Description AxisAlignedLinearPosTest(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
Methods in net.minecraft.world.gen.trunkplacer that return Direction.Axis Modifier and Type Method Description private Direction.Axis
FancyTrunkPlacer. getLogAxis(BlockPos p_236889_1_, BlockPos p_236889_2_)
-
Uses of Direction.Axis in net.minecraftforge.client.model.generators
Fields in net.minecraftforge.client.model.generators declared as Direction.Axis Modifier and Type Field Description private Direction.Axis
ModelBuilder.ElementBuilder.RotationBuilder. axis
Methods in net.minecraftforge.client.model.generators with parameters of type Direction.Axis Modifier and Type Method Description ModelBuilder.ElementBuilder.RotationBuilder
ModelBuilder.ElementBuilder.RotationBuilder. axis(Direction.Axis axis)
-