Record Class SlotDisplay.class_10362

java.lang.Object
java.lang.Record
net.minecraft.recipe.display.SlotDisplay.class_10362
Record Components:
input -
remainder -
All Implemented Interfaces:
SlotDisplay
Enclosing interface:
SlotDisplay

public static record SlotDisplay.class_10362(SlotDisplay input, SlotDisplay remainder) extends Record implements SlotDisplay
Mappings:
Namespace Name
named net/minecraft/recipe/display/SlotDisplay$class_10362
intermediary net/minecraft/class_10302$class_10362
official ddo$j
named input
intermediary comp_3300
official f
named remainder
intermediary comp_3301
official g
  • Field Details

    • input

      private final SlotDisplay input
      The field for the input record component.
    • remainder

      private final SlotDisplay remainder
      The field for the remainder record component.
    • field_54902

      public static final com.mojang.serialization.MapCodec<SlotDisplay.class_10362> field_54902
      Mappings:
      Namespace Name Mixin selector
      named field_54902 Lnet/minecraft/recipe/display/SlotDisplay$class_10362;field_54902:Lcom/mojang/serialization/MapCodec;
      intermediary field_54902 Lnet/minecraft/class_10302$class_10362;field_54902:Lcom/mojang/serialization/MapCodec;
      official c Lddo$j;c:Lcom/mojang/serialization/MapCodec;
    • field_54903

      public static final PacketCodec<RegistryByteBuf,SlotDisplay.class_10362> field_54903
      Mappings:
      Namespace Name Mixin selector
      named field_54903 Lnet/minecraft/recipe/display/SlotDisplay$class_10362;field_54903:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54903 Lnet/minecraft/class_10302$class_10362;field_54903:Lnet/minecraft/class_9139;
      official d Lddo$j;d:Lzt;
    • field_54904

      public static final SlotDisplay.Serializer<SlotDisplay.class_10362> field_54904
      Mappings:
      Namespace Name Mixin selector
      named field_54904 Lnet/minecraft/recipe/display/SlotDisplay$class_10362;field_54904:Lnet/minecraft/recipe/display/SlotDisplay$Serializer;
      intermediary field_54904 Lnet/minecraft/class_10302$class_10362;field_54904:Lnet/minecraft/class_10302$class_10312;
      official e Lddo$j;e:Lddo$i;
  • Constructor Details

  • Method Details

    • serializer

      Specified by:
      serializer in interface SlotDisplay
      Mappings:
      Namespace Name Mixin selector
      named serializer Lnet/minecraft/recipe/display/SlotDisplay;serializer()Lnet/minecraft/recipe/display/SlotDisplay$Serializer;
      intermediary method_64736 Lnet/minecraft/class_10302;method_64736()Lnet/minecraft/class_10302$class_10312;
      official a Lddo;a()Lddo$i;
    • appendStacks

      public <T> Stream<T> appendStacks(class_10352 class_10352, class_10358<T> class_10358)
      Specified by:
      appendStacks in interface SlotDisplay
      Mappings:
      Namespace Name Mixin selector
      named appendStacks Lnet/minecraft/recipe/display/SlotDisplay;appendStacks(Lnet/minecraft/class_10352;Lnet/minecraft/class_10358;)Ljava/util/stream/Stream;
      intermediary method_64739 Lnet/minecraft/class_10302;method_64739(Lnet/minecraft/class_10352;Lnet/minecraft/class_10358;)Ljava/util/stream/Stream;
      official a Lddo;a(Lbbp;Lddg;)Ljava/util/stream/Stream;
    • isEnabled

      public boolean isEnabled(FeatureSet features)
      Specified by:
      isEnabled in interface SlotDisplay
      Mappings:
      Namespace Name Mixin selector
      named isEnabled Lnet/minecraft/recipe/display/SlotDisplay;isEnabled(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
      intermediary method_64737 Lnet/minecraft/class_10302;method_64737(Lnet/minecraft/class_7699;)Z
      official a Lddo;a(Lcss;)Z
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • input

      public SlotDisplay input()
      Returns the value of the input record component.
      Returns:
      the value of the input record component
    • remainder

      public SlotDisplay remainder()
      Returns the value of the remainder record component.
      Returns:
      the value of the remainder record component