java.lang.Object
com.blamejared.crafttweaker.annotation.processor.document.model.type.Type
com.blamejared.crafttweaker.annotation.processor.document.model.type.GenericType

public class GenericType extends Type
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<GenericType> CODEC
  • Constructor Details

    • GenericType

      public GenericType(String key, boolean nullable, Type type, Bound bound)
    • GenericType

      public GenericType(String key, String displayName, boolean nullable, Type type, Bound bound)
  • Method Details

    • genericType

      public Type genericType()
    • bound

      public Bound bound()
    • toString

      public String toString()
      Overrides:
      toString in class Type
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Type
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Type