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$Groupingintermediary net/minecraft/class_10291$class_10293official dbs$bnamed entriesintermediary comp_3255official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<CuttingRecipeDisplay.GroupEntry<T>> The field for theentriesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
PacketCodec<RegistryByteBuf, CuttingRecipeDisplay.Grouping<T>> codec()booleanstatic <T extends Recipe<?>>
CuttingRecipeDisplay.Grouping<T> empty()entries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisEmpty()intsize()final StringtoString()Returns a string representation of this record class.
-
Field Details
-
entries
The field for theentriesrecord component.
-
-
Constructor Details
-
Grouping
-
-
Method Details
-
empty
- Mappings:
Namespace Name Mixin selector named emptyLnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;empty()Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;intermediary method_64710Lnet/minecraft/class_10291$class_10293;method_64710()Lnet/minecraft/class_10291$class_10293;official aLdbs$b;a()Ldbs$b;
-
codec
public static <T extends Recipe<?>> PacketCodec<RegistryByteBuf,CuttingRecipeDisplay.Grouping<T>> codec()- Mappings:
Namespace Name Mixin selector named codecLnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;codec()Lnet/minecraft/network/codec/PacketCodec;intermediary method_64713Lnet/minecraft/class_10291$class_10293;method_64713()Lnet/minecraft/class_9139;official bLdbs$b;b()Lyn;
-
contains
- Mappings:
Namespace Name Mixin selector named containsLnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;contains(Lnet/minecraft/item/ItemStack;)Zintermediary method_64711Lnet/minecraft/class_10291$class_10293;method_64711(Lnet/minecraft/class_1799;)Zofficial aLdbs$b;a(Lcwq;)Z
-
filter
- Mappings:
Namespace Name Mixin selector named filterLnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;filter(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;intermediary method_64714Lnet/minecraft/class_10291$class_10293;method_64714(Lnet/minecraft/class_1799;)Lnet/minecraft/class_10291$class_10293;official bLdbs$b;b(Lcwq;)Ldbs$b;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;isEmpty()Zintermediary method_64716Lnet/minecraft/class_10291$class_10293;method_64716()Zofficial cLdbs$b;c()Z
-
size
public int size()- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/recipe/display/CuttingRecipeDisplay$Grouping;size()Iintermediary method_64717Lnet/minecraft/class_10291$class_10293;method_64717()Iofficial dLdbs$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 theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-