Package mindustry.world.meta
Class Attribute
java.lang.Object
mindustry.world.meta.Attribute
-
Field Summary
Modifier and TypeFieldDescriptionstatic Attribute[]
static final Attribute
Heat content.final int
static final Attribute
Heat content.final String
static final Attribute
Heat content.static final Attribute
Heat content.static final Attribute
Heat content.static final Attribute
Heat content.static final Attribute
Heat content. -
Method Summary
-
Field Details
-
all
-
map
-
heat
Heat content. Used for thermal generator yield. -
spores
Heat content. Used for thermal generator yield. -
water
Heat content. Used for thermal generator yield. -
oil
Heat content. Used for thermal generator yield. -
light
Heat content. Used for thermal generator yield. -
sand
Heat content. Used for thermal generator yield. -
steam
Heat content. Used for thermal generator yield. -
id
public final int id -
name
-
-
Method Details
-
env
public float env()- Returns:
- the environmental value for this attribute.
-
toString
-
get
Never returns null, may throw an exception if not found. -
exists
- Returns:
- Whether an attribute exists.
-
add
Automatically registers this attribute for use. Do not call after mod init.
-