Package net.minecraft

Record Class class_10301

java.lang.Object
java.lang.Record
net.minecraft.class_10301
Record Components:
ingredients -
result -
craftingStation -
All Implemented Interfaces:
class_10295

public record class_10301(List<class_10302> ingredients, class_10302 result, class_10302 craftingStation) extends Record implements class_10295
Mappings:
Namespace Name
named net/minecraft/class_10301
intermediary net/minecraft/class_10301
official ddh
named ingredients
intermediary comp_3271
official f
named result
intermediary comp_3258
official g
named craftingStation
intermediary comp_3259
official h
  • Field Details

    • ingredients

      private final List<class_10302> ingredients
      The field for the ingredients record component.
    • result

      private final class_10302 result
      The field for the result record component.
    • craftingStation

      private final class_10302 craftingStation
      The field for the craftingStation record component.
    • field_54668

      public static final com.mojang.serialization.MapCodec<class_10301> field_54668
      Mappings:
      Namespace Name Mixin selector
      named field_54668 Lnet/minecraft/class_10301;field_54668:Lcom/mojang/serialization/MapCodec;
      intermediary field_54668 Lnet/minecraft/class_10301;field_54668:Lcom/mojang/serialization/MapCodec;
      official a Lddh;a:Lcom/mojang/serialization/MapCodec;
    • field_54669

      public static final PacketCodec<RegistryByteBuf,class_10301> field_54669
      Mappings:
      Namespace Name Mixin selector
      named field_54669 Lnet/minecraft/class_10301;field_54669:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54669 Lnet/minecraft/class_10301;field_54669:Lnet/minecraft/class_9139;
      official b Lddh;b:Lzt;
    • field_54670

      public static final class_10295.class_10296<class_10301> field_54670
      Mappings:
      Namespace Name Mixin selector
      named field_54670 Lnet/minecraft/class_10301;field_54670:Lnet/minecraft/class_10295$class_10296;
      intermediary field_54670 Lnet/minecraft/class_10301;field_54670:Lnet/minecraft/class_10295$class_10296;
      official c Lddh;c:Lddc$a;
  • Constructor Details

  • Method Details

    • method_64726

      public class_10295.class_10296<class_10301> method_64726()
      Specified by:
      method_64726 in interface class_10295
      Mappings:
      Namespace Name Mixin selector
      named method_64726 Lnet/minecraft/class_10295;method_64726()Lnet/minecraft/class_10295$class_10296;
      intermediary method_64726 Lnet/minecraft/class_10295;method_64726()Lnet/minecraft/class_10295$class_10296;
      official a Lddc;a()Lddc$a;
    • method_64728

      public boolean method_64728(FeatureSet featureSet)
      Specified by:
      method_64728 in interface class_10295
      Mappings:
      Namespace Name Mixin selector
      named method_64728 Lnet/minecraft/class_10295;method_64728(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
      intermediary method_64728 Lnet/minecraft/class_10295;method_64728(Lnet/minecraft/class_7699;)Z
      official a Lddc;a(Lcso;)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.
    • ingredients

      public List<class_10302> ingredients()
      Returns the value of the ingredients record component.
      Returns:
      the value of the ingredients record component
    • result

      public class_10302 result()
      Returns the value of the result record component.
      Specified by:
      result in interface class_10295
      Returns:
      the value of the result record component
    • craftingStation

      public class_10302 craftingStation()
      Returns the value of the craftingStation record component.
      Specified by:
      craftingStation in interface class_10295
      Returns:
      the value of the craftingStation record component