Interface GeometryComponent


public interface GeometryComponent
This class is used to store data for a geometry component.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A builder for GeometryComponent
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Map<String,String>
    Gets the bone visibility of the geometry.
    Creates a builder for GeometryComponent.
    @Nullable String
    Gets the identifier of the block culling rules, defined in a resource pack's block_culling folder.
    @Nullable String
    Gets the culling layer, used by block culling rules with the same_culling_layer condition.
    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

      @Nullable Map<String,String> 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's block_culling folder.
      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 the same_culling_layer condition.
      Returns:
      the culling layer
      Since:
      2.12.2
    • builder

      static GeometryComponent.Builder builder()
      Creates a builder for GeometryComponent.
      Returns:
      a builder for GeometryComponent