Package net.minecraft.world.block
Class WireOrientation
java.lang.Object
net.minecraft.world.block.WireOrientation
- Mappings:
Namespace Name named net/minecraft/world/block/WireOrientation
intermediary net/minecraft/class_9904
official eve
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Direction
private final int
static final PacketCodec
<ByteBuf, WireOrientation> private final Direction
private final Map
<Direction, WireOrientation> private final Map
<WireOrientation.SideBias, WireOrientation> private final Map
<Direction, WireOrientation> private final WireOrientation.SideBias
private final Direction
private static final WireOrientation[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
WireOrientation
(Direction up, Direction front, WireOrientation.SideBias sideBias) -
Method Summary
Modifier and TypeMethodDescriptionstatic WireOrientation
fromOrdinal
(int ordinal) getFront()
getRight()
getUp()
private static WireOrientation
initializeValuesArray
(WireOrientation prime, WireOrientation[] valuesOut) static WireOrientation
of
(Direction up, Direction front, WireOrientation.SideBias sideBias) int
ordinal()
protected static int
ordinalFromComponents
(Direction up, Direction front, WireOrientation.SideBias sideBias) static WireOrientation
toString()
withFrontAndSideBias
(Direction direction) withFrontIfNotUp
(Direction direction) withSideBias
(WireOrientation.SideBias sideBias)
-
Field Details
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/world/block/WireOrientation;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_52668
Lnet/minecraft/class_9904;field_52668:Lnet/minecraft/class_9139;
official a
Leve;a:Lzt;
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUES
Lnet/minecraft/world/block/WireOrientation;VALUES:[Lnet/minecraft/world/block/WireOrientation;
intermediary field_52669
Lnet/minecraft/class_9904;field_52669:[Lnet/minecraft/class_9904;
official b
Leve;b:[Leve;
-
up
- Mappings:
Namespace Name Mixin selector named up
Lnet/minecraft/world/block/WireOrientation;up:Lnet/minecraft/util/math/Direction;
intermediary field_52670
Lnet/minecraft/class_9904;field_52670:Lnet/minecraft/class_2350;
official c
Leve;c:Ljm;
-
front
- Mappings:
Namespace Name Mixin selector named front
Lnet/minecraft/world/block/WireOrientation;front:Lnet/minecraft/util/math/Direction;
intermediary field_52671
Lnet/minecraft/class_9904;field_52671:Lnet/minecraft/class_2350;
official d
Leve;d:Ljm;
-
right
- Mappings:
Namespace Name Mixin selector named right
Lnet/minecraft/world/block/WireOrientation;right:Lnet/minecraft/util/math/Direction;
intermediary field_52672
Lnet/minecraft/class_9904;field_52672:Lnet/minecraft/class_2350;
official e
Leve;e:Ljm;
-
sideBias
- Mappings:
Namespace Name Mixin selector named sideBias
Lnet/minecraft/world/block/WireOrientation;sideBias:Lnet/minecraft/world/block/WireOrientation$SideBias;
intermediary field_52673
Lnet/minecraft/class_9904;field_52673:Lnet/minecraft/class_9904$class_9905;
official f
Leve;f:Leve$a;
-
ordinal
private final int ordinal- Mappings:
Namespace Name Mixin selector named ordinal
Lnet/minecraft/world/block/WireOrientation;ordinal:I
intermediary field_52674
Lnet/minecraft/class_9904;field_52674:I
official g
Leve;g:I
-
directionsByPriority
- Mappings:
Namespace Name Mixin selector named directionsByPriority
Lnet/minecraft/world/block/WireOrientation;directionsByPriority:Ljava/util/List;
intermediary field_52675
Lnet/minecraft/class_9904;field_52675:Ljava/util/List;
official h
Leve;h:Ljava/util/List;
-
horizontalDirections
- Mappings:
Namespace Name Mixin selector named horizontalDirections
Lnet/minecraft/world/block/WireOrientation;horizontalDirections:Ljava/util/List;
intermediary field_52676
Lnet/minecraft/class_9904;field_52676:Ljava/util/List;
official i
Leve;i:Ljava/util/List;
-
verticalDirections
- Mappings:
Namespace Name Mixin selector named verticalDirections
Lnet/minecraft/world/block/WireOrientation;verticalDirections:Ljava/util/List;
intermediary field_52677
Lnet/minecraft/class_9904;field_52677:Ljava/util/List;
official j
Leve;j:Ljava/util/List;
-
siblingsByFront
- Mappings:
Namespace Name Mixin selector named siblingsByFront
Lnet/minecraft/world/block/WireOrientation;siblingsByFront:Ljava/util/Map;
intermediary field_52678
Lnet/minecraft/class_9904;field_52678:Ljava/util/Map;
official k
Leve;k:Ljava/util/Map;
-
siblingsByUp
- Mappings:
Namespace Name Mixin selector named siblingsByUp
Lnet/minecraft/world/block/WireOrientation;siblingsByUp:Ljava/util/Map;
intermediary field_52679
Lnet/minecraft/class_9904;field_52679:Ljava/util/Map;
official l
Leve;l:Ljava/util/Map;
-
siblingsBySideBias
- Mappings:
Namespace Name Mixin selector named siblingsBySideBias
Lnet/minecraft/world/block/WireOrientation;siblingsBySideBias:Ljava/util/Map;
intermediary field_52680
Lnet/minecraft/class_9904;field_52680:Ljava/util/Map;
official m
Leve;m:Ljava/util/Map;
-
-
Constructor Details
-
WireOrientation
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/block/WireOrientation;<init>(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/block/WireOrientation$SideBias;)V
intermediary <init>
Lnet/minecraft/class_9904;<init>(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lnet/minecraft/class_9904$class_9905;)V
official <init>
Leve;<init>(Ljm;Ljm;Leve$a;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/world/block/WireOrientation;of(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/block/WireOrientation$SideBias;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61848
Lnet/minecraft/class_9904;method_61848(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lnet/minecraft/class_9904$class_9905;)Lnet/minecraft/class_9904;
official a
Leve;a(Ljm;Ljm;Leve$a;)Leve;
-
withUp
- Mappings:
Namespace Name Mixin selector named withUp
Lnet/minecraft/world/block/WireOrientation;withUp(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61847
Lnet/minecraft/class_9904;method_61847(Lnet/minecraft/class_2350;)Lnet/minecraft/class_9904;
official a
Leve;a(Ljm;)Leve;
-
withFront
- Mappings:
Namespace Name Mixin selector named withFront
Lnet/minecraft/world/block/WireOrientation;withFront(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61850
Lnet/minecraft/class_9904;method_61850(Lnet/minecraft/class_2350;)Lnet/minecraft/class_9904;
official b
Leve;b(Ljm;)Leve;
-
withFrontIfNotUp
- Mappings:
Namespace Name Mixin selector named withFrontIfNotUp
Lnet/minecraft/world/block/WireOrientation;withFrontIfNotUp(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_62875
Lnet/minecraft/class_9904;method_62875(Lnet/minecraft/class_2350;)Lnet/minecraft/class_9904;
official c
Leve;c(Ljm;)Leve;
-
withFrontAndSideBias
- Mappings:
Namespace Name Mixin selector named withFrontAndSideBias
Lnet/minecraft/world/block/WireOrientation;withFrontAndSideBias(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61853
Lnet/minecraft/class_9904;method_61853(Lnet/minecraft/class_2350;)Lnet/minecraft/class_9904;
official d
Leve;d(Ljm;)Leve;
-
withSideBias
- Mappings:
Namespace Name Mixin selector named withSideBias
Lnet/minecraft/world/block/WireOrientation;withSideBias(Lnet/minecraft/world/block/WireOrientation$SideBias;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61845
Lnet/minecraft/class_9904;method_61845(Lnet/minecraft/class_9904$class_9905;)Lnet/minecraft/class_9904;
official a
Leve;a(Leve$a;)Leve;
-
withOppositeSideBias
- Mappings:
Namespace Name Mixin selector named withOppositeSideBias
Lnet/minecraft/world/block/WireOrientation;withOppositeSideBias()Lnet/minecraft/world/block/WireOrientation;
intermediary method_61842
Lnet/minecraft/class_9904;method_61842()Lnet/minecraft/class_9904;
official a
Leve;a()Leve;
-
getFront
- Mappings:
Namespace Name Mixin selector named getFront
Lnet/minecraft/world/block/WireOrientation;getFront()Lnet/minecraft/util/math/Direction;
intermediary method_61849
Lnet/minecraft/class_9904;method_61849()Lnet/minecraft/class_2350;
official b
Leve;b()Ljm;
-
getUp
- Mappings:
Namespace Name Mixin selector named getUp
Lnet/minecraft/world/block/WireOrientation;getUp()Lnet/minecraft/util/math/Direction;
intermediary method_61852
Lnet/minecraft/class_9904;method_61852()Lnet/minecraft/class_2350;
official c
Leve;c()Ljm;
-
getRight
- Mappings:
Namespace Name Mixin selector named getRight
Lnet/minecraft/world/block/WireOrientation;getRight()Lnet/minecraft/util/math/Direction;
intermediary method_61854
Lnet/minecraft/class_9904;method_61854()Lnet/minecraft/class_2350;
official d
Leve;d()Ljm;
-
getSideBias
- Mappings:
Namespace Name Mixin selector named getSideBias
Lnet/minecraft/world/block/WireOrientation;getSideBias()Lnet/minecraft/world/block/WireOrientation$SideBias;
intermediary method_61856
Lnet/minecraft/class_9904;method_61856()Lnet/minecraft/class_9904$class_9905;
official e
Leve;e()Leve$a;
-
getDirectionsByPriority
- Mappings:
Namespace Name Mixin selector named getDirectionsByPriority
Lnet/minecraft/world/block/WireOrientation;getDirectionsByPriority()Ljava/util/List;
intermediary method_61858
Lnet/minecraft/class_9904;method_61858()Ljava/util/List;
official f
Leve;f()Ljava/util/List;
-
getHorizontalDirections
- Mappings:
Namespace Name Mixin selector named getHorizontalDirections
Lnet/minecraft/world/block/WireOrientation;getHorizontalDirections()Ljava/util/List;
intermediary method_61859
Lnet/minecraft/class_9904;method_61859()Ljava/util/List;
official g
Leve;g()Ljava/util/List;
-
getVerticalDirections
- Mappings:
Namespace Name Mixin selector named getVerticalDirections
Lnet/minecraft/world/block/WireOrientation;getVerticalDirections()Ljava/util/List;
intermediary method_61860
Lnet/minecraft/class_9904;method_61860()Ljava/util/List;
official h
Leve;h()Ljava/util/List;
-
toString
-
ordinal
public int ordinal()- Mappings:
Namespace Name Mixin selector named ordinal
Lnet/minecraft/world/block/WireOrientation;ordinal()I
intermediary method_61861
Lnet/minecraft/class_9904;method_61861()I
official i
Leve;i()I
-
fromOrdinal
- Mappings:
Namespace Name Mixin selector named fromOrdinal
Lnet/minecraft/world/block/WireOrientation;fromOrdinal(I)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61843
Lnet/minecraft/class_9904;method_61843(I)Lnet/minecraft/class_9904;
official a
Leve;a(I)Leve;
-
random
- Mappings:
Namespace Name Mixin selector named random
Lnet/minecraft/world/block/WireOrientation;random(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61844
Lnet/minecraft/class_9904;method_61844(Lnet/minecraft/class_5819;)Lnet/minecraft/class_9904;
official a
Leve;a(Lbam;)Leve;
-
initializeValuesArray
private static WireOrientation initializeValuesArray(WireOrientation prime, WireOrientation[] valuesOut) - Mappings:
Namespace Name Mixin selector named initializeValuesArray
Lnet/minecraft/world/block/WireOrientation;initializeValuesArray(Lnet/minecraft/world/block/WireOrientation;[Lnet/minecraft/world/block/WireOrientation;)Lnet/minecraft/world/block/WireOrientation;
intermediary method_61846
Lnet/minecraft/class_9904;method_61846(Lnet/minecraft/class_9904;[Lnet/minecraft/class_9904;)Lnet/minecraft/class_9904;
official a
Leve;a(Leve;[Leve;)Leve;
-
ordinalFromComponents
protected static int ordinalFromComponents(Direction up, Direction front, WireOrientation.SideBias sideBias) - Mappings:
Namespace Name Mixin selector named ordinalFromComponents
Lnet/minecraft/world/block/WireOrientation;ordinalFromComponents(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;Lnet/minecraft/world/block/WireOrientation$SideBias;)I
intermediary method_61851
Lnet/minecraft/class_9904;method_61851(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;Lnet/minecraft/class_9904$class_9905;)I
official b
Leve;b(Ljm;Ljm;Leve$a;)I
-