Record Class CompositeBlockModel.GeometryKey
java.lang.Object
java.lang.Record
net.neoforged.neoforge.client.model.block.CompositeBlockModel.GeometryKey
- Enclosing class:
CompositeBlockModel
private static record CompositeBlockModel.GeometryKey(List<Object> subKeys, CompositeBlockModel composite)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CompositeBlockModelThe field for thecompositerecord component.The field for thesubKeysrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateGeometryKey(List<Object> subKeys, CompositeBlockModel composite) Creates an instance of aGeometryKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompositerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.subKeys()Returns the value of thesubKeysrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
subKeys
-
composite
The field for thecompositerecord component.
-
-
Constructor Details
-
GeometryKey
Creates an instance of aGeometryKeyrecord class.- Parameters:
subKeys- the value for thesubKeysrecord componentcomposite- the value for thecompositerecord component
-
-
Method Details
-
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). -
subKeys
-
composite
Returns the value of thecompositerecord component.- Returns:
- the value of the
compositerecord component
-