Class WireOrientation

java.lang.Object
net.minecraft.world.block.WireOrientation

public class WireOrientation extends Object
Mappings:
Namespace Name
named net/minecraft/world/block/WireOrientation
intermediary net/minecraft/class_9904
official eve
  • Field Details

    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,WireOrientation> 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

      private static final WireOrientation[] 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

      private final Direction 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

      private final Direction 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;
    • sideBias

      private final WireOrientation.SideBias 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

      private final List<Direction> 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

      private final List<Direction> 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

      private final List<Direction> 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

      private final Map<Direction,WireOrientation> 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

      private final Map<Direction,WireOrientation> 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

      private final Map<WireOrientation.SideBias,WireOrientation> 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

      private WireOrientation(Direction up, Direction front, WireOrientation.SideBias sideBias)
      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

      public static WireOrientation of(Direction up, Direction front, WireOrientation.SideBias sideBias)
      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

      public WireOrientation withUp(Direction direction)
      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

      public WireOrientation withFront(Direction direction)
      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

      public WireOrientation withFrontIfNotUp(Direction direction)
      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

      public WireOrientation withFrontAndSideBias(Direction direction)
      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

      public WireOrientation withSideBias(WireOrientation.SideBias sideBias)
      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

      public WireOrientation 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

      public Direction 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

      public Direction 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

      public Direction 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

      public WireOrientation.SideBias 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

      public List<Direction> 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

      public List<Direction> 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

      public List<Direction> 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

      public String toString()
      Overrides:
      toString in class Object
    • 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

      public static WireOrientation fromOrdinal(int ordinal)
      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

      public static WireOrientation random(Random 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