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 dbs$b
named entries
intermediary comp_3255
official a
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • empty Link icon

      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 Ldbs$b;a()Ldbs$b;
    • codec Link icon

      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 Ldbs$b;b()Lyn;
    • contains Link icon

      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 Ldbs$b;a(Lcwq;)Z
    • filter Link icon

      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 Ldbs$b;b(Lcwq;)Ldbs$b;
    • isEmpty Link icon

      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 Ldbs$b;c()Z
    • size Link icon

      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 Ldbs$b;d()I
    • toString Link icon

      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 Link icon

      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 Link icon

      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 Link icon

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