java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.holder.ValueHolder
Direct Known Subclasses:
ArrayHolder, BooleanHolder, DoubleHolderBase, IntHolder, StringHolderBase

public abstract class ValueHolder extends Object
  • Field Details

    • LOG_VALUES

      protected static final boolean LOG_VALUES
      See Also:
    • LOGGER

      protected static final com.hypixel.hytale.logger.HytaleLogger LOGGER
    • valueType

      protected ValueType valueType
    • name

      protected String name
    • expression

      protected BuilderExpression expression
  • Constructor Details

    • ValueHolder

      protected ValueHolder(ValueType valueType)
  • Method Details

    • validate

      public abstract void validate(ExecutionContext var1)
    • readJSON

      protected void readJSON(@Nonnull com.google.gson.JsonElement requiredJsonElement, String name, @Nonnull BuilderParameters builderParameters)
    • readJSON

      protected void readJSON(@Nullable com.google.gson.JsonElement optionalJsonElement, @Nonnull Supplier<BuilderExpression> defaultValue, String name, @Nonnull BuilderParameters builderParameters)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isStatic

      public boolean isStatic()
    • getExpressionString

      public String getExpressionString()