Class RendererGroup

java.lang.Object
kr.toxicity.model.api.data.renderer.RendererGroup

public final class RendererGroup extends Object
A group of models.
  • Constructor Details

  • Method Details

    • flatten

      @NotNull public @NotNull Stream<RendererGroup> flatten()
    • name

      @NotNull public @NotNull BoneName name()
      Gets name
      Returns:
      name
    • uuid

      @NotNull public @NotNull UUID uuid()
      Gets uuid
      Returns:
      uuid
    • create

      @NotNull public @NotNull RenderedBone create(@NotNull @NotNull RenderSource<?> source)
      Creates entity.
      Parameters:
      source - source
      Returns:
      entity
    • getItemStack

      @NotNull public @NotNull TransformedItemStack getItemStack()
      Gets display item.
      Returns:
      item
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object