Record Class ClientPart
java.lang.Object
java.lang.Record
appeng.client.api.model.parts.ClientPart
Describes the rendering of an AE2 part.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordAdditional render properties for the cable part model. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientPart(PartModel.Unbaked model, ClientPart.Properties properties) Creates an instance of aClientPartrecord 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.model()Returns the value of themodelrecord component.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CODEC
-
-
Constructor Details
-
ClientPart
Creates an instance of aClientPartrecord class.- Parameters:
model- the value for themodelrecord componentproperties- the value for thepropertiesrecord 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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-