net.minecraft.util.math

public record ChebyshevDirection

implements Offset

net.minecraft.core.CompositeDirection
net.minecraft.class_1_1039
net.minecraft.util.math.ChebyshevDirection

Field summary

Modifier and TypeField
private final Set<Direction>
directions
comp_1_902
directions
private final Vec3i
step
comp_1_903
step
public static final ChebyshevDirection
NORTH
field_1_7259
NORTH
public static final ChebyshevDirection
EAST
field_1_7256
EAST
public static final ChebyshevDirection
SOUTH
field_1_7268
SOUTH
public static final ChebyshevDirection
WEST
field_1_7278
WEST
public static final ChebyshevDirection
NORTH_EAST
field_1_7261
NORTH_EAST
public static final ChebyshevDirection
SOUTH_EAST
field_1_7270
SOUTH_EAST
public static final ChebyshevDirection
SOUTH_WEST
field_1_7274
SOUTH_WEST
public static final ChebyshevDirection
NORTH_WEST
field_1_7265
NORTH_WEST
public static final ChebyshevDirection
UP
field_1_7277
UP
public static final ChebyshevDirection
NORTH_UP
field_1_7264
UP_NORTH
public static final ChebyshevDirection
EAST_UP
field_1_7258
UP_EAST
public static final ChebyshevDirection
SOUTH_UP
field_1_7273
UP_SOUTH
public static final ChebyshevDirection
WEST_UP
field_1_7280
UP_WEST
public static final ChebyshevDirection
NORTH_EAST_UP
field_1_7263
UP_NORTH_EAST
public static final ChebyshevDirection
SOUTH_EAST_UP
field_1_7272
UP_SOUTH_EAST
public static final ChebyshevDirection
SOUTH_WEST_UP
field_1_7276
UP_SOUTH_WEST
public static final ChebyshevDirection
NORTH_WEST_UP
field_1_7267
UP_NORTH_WEST
public static final ChebyshevDirection
DOWN
field_1_7255
DOWN
public static final ChebyshevDirection
NORTH_DOWN
field_1_7260
DOWN_NORTH
public static final ChebyshevDirection
EAST_DOWN
field_1_7257
DOWN_EAST
public static final ChebyshevDirection
SOUTH_DOWN
field_1_7269
DOWN_SOUTH
public static final ChebyshevDirection
WEST_DOWN
field_1_7279
DOWN_WEST
public static final ChebyshevDirection
NORTH_EAST_DOWN
field_1_7262
DOWN_NORTH_EAST
public static final ChebyshevDirection
SOUTH_EAST_DOWN
field_1_7271
DOWN_SOUTH_EAST
public static final ChebyshevDirection
SOUTH_WEST_DOWN
field_1_7275
DOWN_SOUTH_WEST
public static final ChebyshevDirection
NORTH_WEST_DOWN
field_1_7266
DOWN_NORTH_WEST

Constructor summary

ModifierConstructor
public (Set<Direction> direction, Vec3i step)
(Direction... directions)

Method summary

Modifier and TypeMethod
public ChebyshevDirection
compose(CompositeDirection other)
method_1_6465(class_1_1039 arg0)
combine(ChebyshevDirection other)
public int
getStepX()
method_10148()
getOffsetX()
public int
getStepY()
method_10164()
getOffsetY()
public int
getStepZ()
method_10165()
getOffsetZ()
public Vec3i
getStep()
method_1_6429()
getOffset()
public Set<Direction>
directions()
comp_1_902()
directions()
public Vec3i
step()
comp_1_903()
step()