Record Class CuttingRecipeDisplay.Grouping<T extends Recipe<?>>

java.lang.Object
java.lang.Record
net.minecraft.recipe.display.CuttingRecipeDisplay.Grouping<T>
Record Components:
entries -
Enclosing class:
CuttingRecipeDisplay<T extends Recipe<?>>

public static record CuttingRecipeDisplay.Grouping<T extends Recipe<?>>(List<CuttingRecipeDisplay.GroupEntry<T extends Recipe<?>>> entries) extends Record
Mappings:
Namespace Name
named net/minecraft/recipe/display/CuttingRecipeDisplay$Grouping
intermediary net/minecraft/class_10291$class_10293
official dcq$b
named entries
intermediary comp_3255
official a
  • Field Details

  • Constructor Details

  • Method Details

    • empty

      public static <T extends Recipe<?>> CuttingRecipeDisplay.Grouping<T> empty()
      Mappings:
      Namespace Name Mixin selector
      named empty Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;empty()Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;
      intermediary method_64710 Lnet/minecraft/class_10291$class_10293;method_64710()Lnet/minecraft/class_10291$class_10293;
      official a Ldcq$b;a()Ldcq$b;
    • codec

      public static <T extends Recipe<?>> PacketCodec<RegistryByteBuf,CuttingRecipeDisplay.Grouping<T>> codec()
      Mappings:
      Namespace Name Mixin selector
      named codec Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;codec()Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_64713 Lnet/minecraft/class_10291$class_10293;method_64713()Lnet/minecraft/class_9139;
      official b Ldcq$b;b()Lzt;
    • contains

      public boolean contains(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named contains Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;contains(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_64711 Lnet/minecraft/class_10291$class_10293;method_64711(Lnet/minecraft/class_1799;)Z
      official a Ldcq$b;a(Lcxo;)Z
    • filter

      public CuttingRecipeDisplay.Grouping<T> filter(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named filter Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;filter(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;
      intermediary method_64714 Lnet/minecraft/class_10291$class_10293;method_64714(Lnet/minecraft/class_1799;)Lnet/minecraft/class_10291$class_10293;
      official b Ldcq$b;b(Lcxo;)Ldcq$b;
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;isEmpty()Z
      intermediary method_64716 Lnet/minecraft/class_10291$class_10293;method_64716()Z
      official c Ldcq$b;c()Z
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;size()I
      intermediary method_64717 Lnet/minecraft/class_10291$class_10293;method_64717()I
      official d Ldcq$b;d()I
    • 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.
    • entries

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