Package net.minecraft.recipe.display
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 Summary
Modifier and TypeFieldDescriptionprivate final List
<CuttingRecipeDisplay.GroupEntry<T>> The field for theentries
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
PacketCodec<RegistryByteBuf, CuttingRecipeDisplay.Grouping<T>> codec()
boolean
static <T extends Recipe<?>>
CuttingRecipeDisplay.Grouping<T> empty()
entries()
Returns the value of theentries
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
isEmpty()
int
size()
final String
toString()
Returns a string representation of this record class.
-
Field Details
-
entries
The field for theentries
record component.
-
-
Constructor Details
-
Grouping
-
-
Method Details
-
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
- 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
- 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
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
entries
Returns the value of theentries
record component.- Returns:
- the value of the
entries
record component
-