Record Class BedrockRenderController
java.lang.Object
java.lang.Record
org.cube.converter.data.bedrock.controller.BedrockRenderController
public record BedrockRenderController(String identifier, Map<String,String> materialsMap, String geometryExpression, List<String> textureExpressions, List<BedrockRenderController.Array> materials, List<BedrockRenderController.Array> textures, List<BedrockRenderController.Array> geometries)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBedrockRenderController(String identifier, Map<String, String> materialsMap, String geometryExpression, List<String> textureExpressions, List<BedrockRenderController.Array> materials, List<BedrockRenderController.Array> textures, List<BedrockRenderController.Array> geometries) Creates an instance of aBedrockRenderControllerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeometriesrecord component.Returns the value of thegeometryExpressionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.Returns the value of thematerialsrecord component.Returns the value of thematerialsMaprecord component.Returns the value of thetextureExpressionsrecord component.textures()Returns the value of thetexturesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BedrockRenderController
public BedrockRenderController(String identifier, Map<String, String> materialsMap, String geometryExpression, List<String> textureExpressions, List<BedrockRenderController.Array> materials, List<BedrockRenderController.Array> textures, List<BedrockRenderController.Array> geometries) Creates an instance of aBedrockRenderControllerrecord class.- Parameters:
identifier- the value for theidentifierrecord componentmaterialsMap- the value for thematerialsMaprecord componentgeometryExpression- the value for thegeometryExpressionrecord componenttextureExpressions- the value for thetextureExpressionsrecord componentmaterials- the value for thematerialsrecord componenttextures- the value for thetexturesrecord componentgeometries- the value for thegeometriesrecord component
-
-
Method Details
-
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). -
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
materialsMap
Returns the value of thematerialsMaprecord component.- Returns:
- the value of the
materialsMaprecord component
-
geometryExpression
Returns the value of thegeometryExpressionrecord component.- Returns:
- the value of the
geometryExpressionrecord component
-
textureExpressions
Returns the value of thetextureExpressionsrecord component.- Returns:
- the value of the
textureExpressionsrecord component
-
materials
Returns the value of thematerialsrecord component.- Returns:
- the value of the
materialsrecord component
-
textures
Returns the value of thetexturesrecord component.- Returns:
- the value of the
texturesrecord component
-
geometries
Returns the value of thegeometriesrecord component.- Returns:
- the value of the
geometriesrecord component
-