Record Class ModelGrouper.GroupKey
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.ModelGrouper.GroupKey
- Record Components:
- equalityGroup-
- coloringValues-
- Enclosing class:
- ModelGrouper
@Environment(CLIENT)
private static record ModelGrouper.GroupKey(Object equalityGroup, List<Object> coloringValues)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/model/ModelGrouper$GroupKey- intermediary - net/minecraft/class_10099$class_10100- official - hhg$a- named - equalityGroup- intermediary - comp_3064- official - a- named - coloringValues- intermediary - comp_3065- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe field for thecoloringValuesrecord component.private final ObjectThe field for theequalityGrouprecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thecoloringValuesrecord component.Returns the value of theequalityGrouprecord component.final booleanIndicates whether some other object is "equal to" this one.getColoringValues(BlockState state, List<Property<?>> properties) final inthashCode()Returns a hash code value for this object.static ModelGrouper.GroupKeyof(BlockState state, GroupableModel model, List<Property<?>> properties) final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
equalityGroupThe field for theequalityGrouprecord component.
- 
coloringValuesThe field for thecoloringValuesrecord component.
 
- 
- 
Constructor Details- 
GroupKey
 
- 
- 
Method Details- 
ofpublic static ModelGrouper.GroupKey of(BlockState state, GroupableModel model, List<Property<?>> properties) - Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/client/render/model/ModelGrouper$GroupKey;of(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/render/model/GroupableModel;Ljava/util/List;)Lnet/minecraft/client/render/model/ModelGrouper$GroupKey;- intermediary - method_62651- Lnet/minecraft/class_10099$class_10100;method_62651(Lnet/minecraft/class_2680;Lnet/minecraft/class_9979;Ljava/util/List;)Lnet/minecraft/class_10099$class_10100;- official - a- Lhhg$a;a(Ldwy;Lgnt;Ljava/util/List;)Lhhg$a;
 
- 
getColoringValues- Mappings:
- Namespace - Name - Mixin selector - named - getColoringValues- Lnet/minecraft/client/render/model/ModelGrouper$GroupKey;getColoringValues(Lnet/minecraft/block/BlockState;Ljava/util/List;)Ljava/util/List;- intermediary - method_62652- Lnet/minecraft/class_10099$class_10100;method_62652(Lnet/minecraft/class_2680;Ljava/util/List;)Ljava/util/List;- official - a- Lhhg$a;a(Ldwy;Ljava/util/List;)Ljava/util/List;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
equalityGroupReturns the value of theequalityGrouprecord component.- Returns:
- the value of the equalityGrouprecord component
 
- 
coloringValuesReturns the value of thecoloringValuesrecord component.- Returns:
- the value of the coloringValuesrecord component
 
 
-