Class ShaderManager.ShaderTag

java.lang.Object
kr.toxicity.hud.api.manager.ShaderManager.ShaderTag
Enclosing interface:
ShaderManager

public static class ShaderManager.ShaderTag extends Object
Shader tag.
  • Method Details

    • add

      @NotNull public @NotNull ShaderManager.ShaderTag add(@NotNull @NotNull String tag, @NotNull @NotNull List<String> line)
      Adds to tag newTag() .add("GenerateOtherMainMethod", Collections.emptyList()) .add("OtherYouWant", someList);
      Parameters:
      tag - tag name
      line - tag list
      Returns:
      self
    • plus

      @NotNull public @NotNull ShaderManager.ShaderTag plus(@NotNull @NotNull ShaderManager.ShaderTag tag)
      Sums two different tags to new one.
      Parameters:
      tag - another tag
      Returns:
      new merged tag
    • get

      @Internal @Nullable public @Nullable List<String> get(@NotNull @NotNull String tagName)
      Gets a list from name
      Parameters:
      tagName - name
      Returns:
      tag list or null