Class BoneTagRegistry

java.lang.Object
kr.toxicity.model.api.bone.BoneTagRegistry

public final class BoneTagRegistry extends Object
Bone tag registry
  • Method Details

    • addTag

      public static void addTag(@NotNull @NotNull BoneTag tag)
      Adds some tag to this registry
      Parameters:
      tag - tag
    • byTagName

      @NotNull public static @NotNull Optional<BoneTag> byTagName(@NotNull @NotNull String tag)
      Gets bone tag by tag name
      Parameters:
      tag - tag name
      Returns:
      optional tag
    • parse

      @NotNull public static @NotNull BoneName parse(@NotNull @NotNull String rawName)
      Parses bone name by raw group name
      Parameters:
      rawName - raw name
      Returns:
      bone name