Record Class BlockModelDefinition.MultiPartDefinition
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.block.model.BlockModelDefinition.MultiPartDefinition
- Enclosing class:
BlockModelDefinition
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockModelDefinition.MultiPartDefinition> The field for theselectorsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionMultiPartDefinition(List<Selector> selectors) Creates an instance of aMultiPartDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.instantiate(StateDefinition<Block, BlockState> stateDefinition) Returns the value of theselectorsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
selectors
-
CODEC
-
-
Constructor Details
-
MultiPartDefinition
-
-
Method Details
-
instantiate
-
toString
-
hashCode
-
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). -
selectors
-