Record Class BedrockClassicModel
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockClassicModel
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBedrockClassicModel(String geometry, String identifier) Creates an instance of aBedrockClassicModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.geometry()Returns the value of thegeometryrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.static BedrockClassicModelstatic BedrockClassicModelread(String data, String identifier, BedrockClassicModel.ModelSource source) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BedrockClassicModel
-
-
Method Details
-
read
- Throws:
IOException
-
read
public static BedrockClassicModel read(String data, String identifier, BedrockClassicModel.ModelSource source) throws IOException - Throws:
IOException
-
resourcePatch
-
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). -
geometry
Returns the value of thegeometryrecord component.- Returns:
- the value of the
geometryrecord component
-
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-