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$GroupKeyintermediary net/minecraft/class_10099$class_10100official hnd$anamed equalityGroupintermediary comp_3064official anamed coloringValuesintermediary comp_3065official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thecoloringValuesrecord component.private final ObjectThe field for theequalityGrouprecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier 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, BlockStateModel.UnbakedGrouped model, List<Property<?>> properties) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
equalityGroup
The field for theequalityGrouprecord component. -
coloringValues
The field for thecoloringValuesrecord component.
-
-
Constructor Details
-
GroupKey
-
-
Method Details
-
of
public static ModelGrouper.GroupKey of(BlockState state, BlockStateModel.UnbakedGrouped model, List<Property<?>> properties) - Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/client/render/model/ModelGrouper$GroupKey;of(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/render/model/BlockStateModel$UnbakedGrouped;Ljava/util/List;)Lnet/minecraft/client/render/model/ModelGrouper$GroupKey;intermediary method_62651Lnet/minecraft/class_10099$class_10100;method_62651(Lnet/minecraft/class_2680;Lnet/minecraft/class_1087$class_9979;Ljava/util/List;)Lnet/minecraft/class_10099$class_10100;official aLhnd$a;a(Lebq;Lgta$c;Ljava/util/List;)Lhnd$a;
-
getColoringValues
- Mappings:
Namespace Name Mixin selector named getColoringValuesLnet/minecraft/client/render/model/ModelGrouper$GroupKey;getColoringValues(Lnet/minecraft/block/BlockState;Ljava/util/List;)Ljava/util/List;intermediary method_62652Lnet/minecraft/class_10099$class_10100;method_62652(Lnet/minecraft/class_2680;Ljava/util/List;)Ljava/util/List;official aLhnd$a;a(Lebq;Ljava/util/List;)Ljava/util/List;
-
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). -
equalityGroup
Returns the value of theequalityGrouprecord component.- Returns:
- the value of the
equalityGrouprecord component
-
coloringValues
Returns the value of thecoloringValuesrecord component.- Returns:
- the value of the
coloringValuesrecord component
-