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 ezi
  • Field Details Link icon

    • PACKET_CODEC Link icon

      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 Lezi;a:Lze;
    • VALUES Link icon

      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 Lezi;b:[Lezi;
    • up Link icon

      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 Lezi;c:Ljc;
    • front Link icon

      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 Lezi;d:Ljc;
    • sideBias Link icon

      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 Lezi;f:Lezi$a;
    • ordinal Link icon

      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 Lezi;g:I
    • directionsByPriority Link icon

      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 Lezi;h:Ljava/util/List;
    • horizontalDirections Link icon

      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 Lezi;i:Ljava/util/List;
    • verticalDirections Link icon

      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 Lezi;j:Ljava/util/List;
    • siblingsByFront Link icon

      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 Lezi;k:Ljava/util/Map;
    • siblingsByUp Link icon

      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 Lezi;l:Ljava/util/Map;
    • siblingsBySideBias Link icon

      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 Lezi;m:Ljava/util/Map;
  • Constructor Details Link icon

    • WireOrientation Link icon

      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> Lezi;<init>(Ljc;Ljc;Lezi$a;)V
  • Method Details Link icon

    • of Link icon

      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 Lezi;a(Ljc;Ljc;Lezi$a;)Lezi;
    • withUp Link icon

      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 Lezi;a(Ljc;)Lezi;
    • withFront Link icon

      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 Lezi;b(Ljc;)Lezi;
    • withFrontIfNotUp Link icon

      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 Lezi;c(Ljc;)Lezi;
    • withFrontAndSideBias Link icon

      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 Lezi;d(Ljc;)Lezi;
    • withSideBias Link icon

      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 Lezi;a(Lezi$a;)Lezi;
    • withOppositeSideBias Link icon

      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 Lezi;a()Lezi;
    • getFront Link icon

      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 Lezi;b()Ljc;
    • getUp Link icon

      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 Lezi;c()Ljc;
    • getRight Link icon

      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 Lezi;d()Ljc;
    • getSideBias Link icon

      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 Lezi;e()Lezi$a;
    • getDirectionsByPriority Link icon

      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 Lezi;f()Ljava/util/List;
    • getHorizontalDirections Link icon

      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 Lezi;g()Ljava/util/List;
    • getVerticalDirections Link icon

      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 Lezi;h()Ljava/util/List;
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • ordinal Link icon

      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 Lezi;i()I
    • fromOrdinal Link icon

      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 Lezi;a(I)Lezi;
    • random Link icon

      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 Lezi;a(Lbai;)Lezi;
    • initializeValuesArray Link icon

      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 Lezi;a(Lezi;[Lezi;)Lezi;
    • ordinalFromComponents Link icon

      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 Lezi;b(Ljc;Ljc;Lezi$a;)I