Class ForgeConfigSpec.BuilderContext

java.lang.Object
net.minecraftforge.common.ForgeConfigSpec.BuilderContext
Enclosing class:
ForgeConfigSpec

private static class ForgeConfigSpec.BuilderContext extends Object
  • Field Details

  • Constructor Details

    • BuilderContext

      private BuilderContext()
  • Method Details

    • addComment

      public void addComment(String value)
    • clearComment

      public void clearComment()
    • hasComment

      public boolean hasComment()
    • buildComment

      public String buildComment()
    • buildComment

      public String buildComment(List<String> path)
    • setTranslationKey

      public void setTranslationKey(String value)
    • getTranslationKey

      public String getTranslationKey()
    • setRange

      public <V extends Comparable<? super V>> void setRange(ForgeConfigSpec.Range<V> value)
    • getRange

      public <V extends Comparable<? super V>> ForgeConfigSpec.Range<V> getRange()
    • worldRestart

      public void worldRestart()
    • needsWorldRestart

      public boolean needsWorldRestart()
    • setClazz

      public void setClazz(Class<?> clazz)
    • getClazz

      public Class<?> getClazz()
    • ensureEmpty

      public void ensureEmpty()
    • validate

      private void validate(Object value, String message)
    • validate

      private void validate(boolean value, String message)