Package net.minecraft

Record Class class_10314

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

public record class_10314(class_10302 result, class_10302 craftingStation) extends Record implements class_10295
Mappings:
Namespace Name
named net/minecraft/class_10314
intermediary net/minecraft/class_10314
official ddk
named result
intermediary comp_3258
official f
named craftingStation
intermediary comp_3259
official g
  • Field Details

    • 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_54699

      public static final com.mojang.serialization.MapCodec<class_10314> field_54699
      Mappings:
      Namespace Name Mixin selector
      named field_54699 Lnet/minecraft/class_10314;field_54699:Lcom/mojang/serialization/MapCodec;
      intermediary field_54699 Lnet/minecraft/class_10314;field_54699:Lcom/mojang/serialization/MapCodec;
      official a Lddk;a:Lcom/mojang/serialization/MapCodec;
    • field_54700

      public static final PacketCodec<RegistryByteBuf,class_10314> field_54700
      Mappings:
      Namespace Name Mixin selector
      named field_54700 Lnet/minecraft/class_10314;field_54700:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54700 Lnet/minecraft/class_10314;field_54700:Lnet/minecraft/class_9139;
      official b Lddk;b:Lzt;
    • field_54701

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

  • Method Details

    • method_64726

      public class_10295.class_10296<class_10314> 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;
    • 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.
    • 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