Interface GeometryComponent
public interface GeometryComponent
This class is used to store data for a geometry component.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for GeometryComponent -
Method Summary
Modifier and TypeMethodDescriptionGets the bone visibility of the geometry.static GeometryComponent.Builderbuilder()Creates a builder for GeometryComponent.@Nullable Stringculling()Gets the identifier of the block culling rules, defined in a resource pack'sblock_cullingfolder.@Nullable StringGets the culling layer, used by block culling rules with thesame_culling_layercondition.Gets the identifier of the geometry.
-
Method Details
-
identifier
String identifier()Gets the identifier of the geometry.- Returns:
- the identifier of the geometry
- Since:
- 2.2.0
-
boneVisibility
Gets the bone visibility of the geometry.- Returns:
- the bone visibility of the geometry
- Since:
- 2.2.0
-
culling
@Nullable String culling()Gets the identifier of the block culling rules, defined in a resource pack'sblock_cullingfolder.- Returns:
- the identifier of the block culling rules
- Since:
- 2.12.2
-
cullingLayer
@Nullable String cullingLayer()Gets the culling layer, used by block culling rules with thesame_culling_layercondition.- Returns:
- the culling layer
- Since:
- 2.12.2
-
builder
Creates a builder for GeometryComponent.- Returns:
- a builder for GeometryComponent
-