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 hdy$a
named equalityGroup
intermediary comp_3064
official a
named coloringValues
intermediary comp_3065
official b
-
Field Summary
Modifier and TypeFieldDescriptionThe field for thecoloringValues
record component.private final Object
The field for theequalityGroup
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoloringValues
record component.Returns the value of theequalityGroup
record component.final boolean
Indicates whether some other object is "equal to" this one.getColoringValues
(BlockState state, List<Property<?>> properties) final int
hashCode()
Returns a hash code value for this object.static ModelGrouper.GroupKey
of
(BlockState state, UnbakedModel model, List<Property<?>> properties) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
equalityGroup
The field for theequalityGroup
record component. -
coloringValues
The field for thecoloringValues
record component.
-
-
Constructor Details
-
GroupKey
-
-
Method Details
-
of
public static ModelGrouper.GroupKey of(BlockState state, UnbakedModel 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/UnbakedModel;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_1100;Ljava/util/List;)Lnet/minecraft/class_10099$class_10100;
official a
Lhdy$a;a(Ldxu;Lhef;Ljava/util/List;)Lhdy$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
Lhdy$a;a(Ldxu;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 theequalityGroup
record component.- Returns:
- the value of the
equalityGroup
record component
-
coloringValues
Returns the value of thecoloringValues
record component.- Returns:
- the value of the
coloringValues
record component
-