Package net.minecraft

Record Class class_8957

java.lang.Object
java.lang.Record
net.minecraft.class_8957
Record Components:
width -
height -
ingredients -
data -

public record class_8957(int width, int height, DefaultedList<Ingredient> ingredients, Optional<class_8957.class_8958> data) extends Record
Mappings:
Namespace Name
official cpt
intermediary net/minecraft/class_8957
named net/minecraft/class_8957
official b
intermediary comp_2081
named width
official c
intermediary comp_2082
named height
official d
intermediary comp_2083
named ingredients
official e
intermediary comp_2084
named data
  • Field Details

    • width

      private final int width
      The field for the width record component.
    • height

      private final int height
      The field for the height record component.
    • ingredients

      private final DefaultedList<Ingredient> ingredients
      The field for the ingredients record component.
    • data

      private final Optional<class_8957.class_8958> data
      The field for the data record component.
    • field_47322

      private static final int field_47322
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lcpt;f:I
      intermediary field_47322 Lnet/minecraft/class_8957;field_47322:I
      named field_47322 Lnet/minecraft/class_8957;field_47322:I
    • field_47321

      public static final com.mojang.serialization.MapCodec<class_8957> field_47321
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_47321 Lnet/minecraft/class_8957;field_47321:Lcom/mojang/serialization/MapCodec;
      named field_47321 Lnet/minecraft/class_8957;field_47321:Lcom/mojang/serialization/MapCodec;
  • Constructor Details

  • Method Details

    • method_55086

      public static class_8957 method_55086(Map<Character,Ingredient> map, String[] string)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Ljava/util/Map;[Ljava/lang/String;)Lcpt;
      intermediary method_55086 Lnet/minecraft/class_8957;method_55086(Ljava/util/Map;[Ljava/lang/String;)Lnet/minecraft/class_8957;
      named method_55086 Lnet/minecraft/class_8957;method_55086(Ljava/util/Map;[Ljava/lang/String;)Lnet/minecraft/class_8957;
    • method_55085

      public static class_8957 method_55085(Map<Character,Ingredient> map, List<String> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Ljava/util/Map;Ljava/util/List;)Lcpt;
      intermediary method_55085 Lnet/minecraft/class_8957;method_55085(Ljava/util/Map;Ljava/util/List;)Lnet/minecraft/class_8957;
      named method_55085 Lnet/minecraft/class_8957;method_55085(Ljava/util/Map;Ljava/util/List;)Lnet/minecraft/class_8957;
    • method_55080

      private static com.mojang.serialization.DataResult<class_8957> method_55080(class_8957.class_8958 class_8958)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Lcpt$a;)Lcom/mojang/serialization/DataResult;
      intermediary method_55080 Lnet/minecraft/class_8957;method_55080(Lnet/minecraft/class_8957$class_8958;)Lcom/mojang/serialization/DataResult;
      named method_55080 Lnet/minecraft/class_8957;method_55080(Lnet/minecraft/class_8957$class_8958;)Lcom/mojang/serialization/DataResult;
    • method_55084

      static String[] method_55084(List<String> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Ljava/util/List;)[Ljava/lang/String;
      intermediary method_55084 Lnet/minecraft/class_8957;method_55084(Ljava/util/List;)[Ljava/lang/String;
      named method_55084 Lnet/minecraft/class_8957;method_55084(Ljava/util/List;)[Ljava/lang/String;
    • method_55083

      private static int method_55083(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Ljava/lang/String;)I
      intermediary method_55083 Lnet/minecraft/class_8957;method_55083(Ljava/lang/String;)I
      named method_55083 Lnet/minecraft/class_8957;method_55083(Ljava/lang/String;)I
    • method_55089

      private static int method_55089(String string)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpt;b(Ljava/lang/String;)I
      intermediary method_55089 Lnet/minecraft/class_8957;method_55089(Ljava/lang/String;)I
      named method_55089 Lnet/minecraft/class_8957;method_55089(Ljava/lang/String;)I
    • method_55078

      public boolean method_55078(RecipeInputInventory recipeInputInventory)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Lcia;)Z
      intermediary method_55078 Lnet/minecraft/class_8957;method_55078(Lnet/minecraft/class_8566;)Z
      named method_55078 Lnet/minecraft/class_8957;method_55078(Lnet/minecraft/inventory/RecipeInputInventory;)Z
    • method_55079

      private boolean method_55079(RecipeInputInventory recipeInputInventory, int int2, int int3, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Lcia;IIZ)Z
      intermediary method_55079 Lnet/minecraft/class_8957;method_55079(Lnet/minecraft/class_8566;IIZ)Z
      named method_55079 Lnet/minecraft/class_8957;method_55079(Lnet/minecraft/inventory/RecipeInputInventory;IIZ)Z
    • method_55087

      public void method_55087(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lcpt;a(Lue;)V
      intermediary method_55087 Lnet/minecraft/class_8957;method_55087(Lnet/minecraft/class_2540;)V
      named method_55087 Lnet/minecraft/class_8957;method_55087(Lnet/minecraft/network/PacketByteBuf;)V
    • method_55090

      public static class_8957 method_55090(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpt;b(Lue;)Lcpt;
      intermediary method_55090 Lnet/minecraft/class_8957;method_55090(Lnet/minecraft/class_2540;)Lnet/minecraft/class_8957;
      named method_55090 Lnet/minecraft/class_8957;method_55090(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/class_8957;
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • width

      public int width()
      Returns the value of the width record component.
      Returns:
      the value of the width record component
    • height

      public int height()
      Returns the value of the height record component.
      Returns:
      the value of the height record component
    • ingredients

      public DefaultedList<Ingredient> ingredients()
      Returns the value of the ingredients record component.
      Returns:
      the value of the ingredients record component
    • data

      Returns the value of the data record component.
      Returns:
      the value of the data record component