net.minecraft.world.level.redstone

public class Orientation

eui
net.minecraft.world.level.redstone.Orientation
net.minecraft.class_9904
net.minecraft.world.block.WireOrientation
net.minecraft.world.level.redstone.Orientation

Field summary

Modifier and TypeField
public static final StreamCodec<io.netty.buffer.ByteBuf, Orientation>
a
STREAM_CODEC
field_52668
PACKET_CODEC
private static final Orientation[]
b
ORIENTATIONS
field_52669
VALUES
private final Direction
c
up
field_52670
up
private final Direction
d
front
field_52671
front
private final Direction
e
side
field_52672
right
private final Orientation$SideBias
f
sideBias
field_52673
sideBias
private final int
g
index
field_52674
ordinal
private final List<Direction>
h
neighbors
field_52675
directionsByPriority
private final List<Direction>
i
horizontalNeighbors
field_52676
horizontalDirections
private final List<Direction>
j
verticalNeighbors
field_52677
verticalDirections
private final Map<Direction, Orientation>
k
withFront
field_52678
siblingsByFront
private final Map<Direction, Orientation>
l
withUp
field_52679
siblingsByUp
private final Map<Orientation$SideBias, Orientation>
m
withSideBias
field_52680
siblingsBySideBias

Constructor summary

ModifierConstructor
private (Direction up, Direction front, Orientation$SideBias sideBias)

Method summary

Modifier and TypeMethod
public static Orientation
a(jn arg0, jn arg1, eui$a arg2)
of(Direction arg0, Direction arg1, Orientation$SideBias arg2)
method_61848(class_2350 arg0, class_2350 arg1, class_9904$class_9905 arg2)
of(Direction up, Direction front, WireOrientation$SideBias sideBias)
public Orientation
a(jn arg0)
withUp(Direction arg0)
method_61847(class_2350 arg0)
withUp(Direction direction)
public Orientation
b(jn arg0)
withFront(Direction arg0)
method_61850(class_2350 arg0)
withFront(Direction direction)
public Orientation
c(jn arg0)
withFrontPreserveUp(Direction arg0)
method_62875(class_2350 arg0)
withFrontIfNotUp(Direction direction)
public Orientation
d(jn arg0)
withFrontAdjustSideBias(Direction arg0)
method_61853(class_2350 arg0)
withFrontAndSideBias(Direction direction)
public Orientation
a(eui$a arg0)
withSideBias(Orientation$SideBias arg0)
method_61845(class_9904$class_9905 arg0)
withSideBias(WireOrientation$SideBias sideBias)
public Orientation
a()
withMirror()
method_61842()
withOppositeSideBias()
public Direction
b()
getFront()
method_61849()
getFront()
public Direction
c()
getUp()
method_61852()
getUp()
public Direction
d()
getSide()
method_61854()
getRight()
public Orientation$SideBias
e()
getSideBias()
method_61856()
getSideBias()
public List<Direction>
f()
getDirections()
method_61858()
getDirectionsByPriority()
public List<Direction>
g()
getHorizontalDirections()
method_61859()
getHorizontalDirections()
public List<Direction>
h()
getVerticalDirections()
method_61860()
getVerticalDirections()
public int
i()
getIndex()
method_61861()
ordinal()
public static Orientation
a(int arg0)
fromIndex(int arg0)
method_61843(int arg0)
fromOrdinal(int ordinal)
public static Orientation
a(azh arg0)
random(RandomSource arg0)
method_61844(class_5819 arg0)
random(Random random)
private static Orientation
a(eui arg0, eui[] arg1)
generateContext(Orientation arg0, Orientation[] arg1)
method_61846(class_9904 arg0, class_9904[] arg1)
initializeValuesArray(WireOrientation prime, WireOrientation[] valuesOut)
protected static int
b(jn arg0, jn arg1, eui$a arg2)
generateIndex(Direction arg0, Direction arg1, Orientation$SideBias arg2)
method_61851(class_2350 arg0, class_2350 arg1, class_9904$class_9905 arg2)
ordinalFromComponents(Direction up, Direction front, WireOrientation$SideBias sideBias)