Class BaseType

java.lang.Object
net.mcreator.element.BaseType

public final class BaseType extends Object
  • Field Details

    • BLOCK

      public static final BaseType BLOCK
    • ENTITY

      public static final BaseType ENTITY
    • CONFIGUREDFEATURE

      public static final BaseType CONFIGUREDFEATURE
  • Method Details

    • of

      public static BaseType of(String name)
      Returns the base type with the given name, registering it if it does not exist yet. Instances are interned, so base types can be compared by identity.
    • values

      public static Collection<BaseType> values()
    • getName

      public String getName()
    • getPluralName

      public String getPluralName()
    • toString

      public String toString()
      Overrides:
      toString in class Object