Record Class BedrockWorldActorAppearance.Draw
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockWorldActorAppearance.Draw
- Enclosing class:
BedrockWorldActorAppearance
public static record BedrockWorldActorAppearance.Draw(BedrockPlayerControllers.Surface surface, org.cube.converter.model.impl.bedrock.BedrockGeometryModel geometry, List<BufferedImage> images, BedrockActorMaterialDefinitions.Material material, Set<String> bones, BedrockActorTint tint)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDraw(BedrockPlayerControllers.Surface surface, org.cube.converter.model.impl.bedrock.BedrockGeometryModel geometry, List<BufferedImage> images, BedrockActorMaterialDefinitions.Material material, Set<String> bones, BedrockActorTint tint) Creates an instance of aDrawrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbones()Returns the value of thebonesrecord component.final booleanIndicates whether some other object is "equal to" this one.org.cube.converter.model.impl.bedrock.BedrockGeometryModelgeometry()Returns the value of thegeometryrecord component.final inthashCode()Returns a hash code value for this object.images()Returns the value of theimagesrecord component.material()Returns the value of thematerialrecord component.surface()Returns the value of thesurfacerecord component.tint()Returns the value of thetintrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Draw
public Draw(BedrockPlayerControllers.Surface surface, org.cube.converter.model.impl.bedrock.BedrockGeometryModel geometry, List<BufferedImage> images, BedrockActorMaterialDefinitions.Material material, Set<String> bones, BedrockActorTint tint) Creates an instance of aDrawrecord class.- Parameters:
surface- the value for thesurfacerecord componentgeometry- the value for thegeometryrecord componentimages- the value for theimagesrecord componentmaterial- the value for thematerialrecord componentbones- the value for thebonesrecord componenttint- the value for thetintrecord 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). -
surface
Returns the value of thesurfacerecord component.- Returns:
- the value of the
surfacerecord component
-
geometry
public org.cube.converter.model.impl.bedrock.BedrockGeometryModel geometry()Returns the value of thegeometryrecord component.- Returns:
- the value of the
geometryrecord component
-
images
Returns the value of theimagesrecord component.- Returns:
- the value of the
imagesrecord component
-
material
Returns the value of thematerialrecord component.- Returns:
- the value of the
materialrecord component
-
bones
-
tint
Returns the value of thetintrecord component.- Returns:
- the value of the
tintrecord component
-