Interface KeyWithCType<T extends mindustry.ctype.MappableContent>

Type Parameters:
T - the content type

@Immutable public interface KeyWithCType<T extends mindustry.ctype.MappableContent>
Typesafe ContentType providing the concrete class of a content type.
  • Field Details

    • BLOCK

      static final KeyWithCType<mindustry.world.Block> BLOCK
    • UNIT

      static final KeyWithCType<mindustry.type.UnitType> UNIT
    • ITEM

      static final KeyWithCType<mindustry.type.Item> ITEM
    • LIQUID

      static final KeyWithCType<mindustry.type.Liquid> LIQUID
    • WEATHER

      static final KeyWithCType<mindustry.type.Weather> WEATHER
    • STATUS

      static final KeyWithCType<mindustry.type.StatusEffect> STATUS
    • PLANET

      static final KeyWithCType<mindustry.type.Planet> PLANET
    • ALL

      static final List<KeyWithCType<?>> ALL
  • Method Details

    • getKey

      Key<T> getKey()
    • getContentType

      mindustry.ctype.ContentType getContentType()