Class Energy
java.lang.Object
fr.robie.machineengine.api.resource.Energy
MachineEngine's energy,
machineengine:energy: one category holding one resource type, shared
by every addon and definition (D29). Its unit and scale are set in config.yml
(resources.energy) and read when it is built.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ResourceCategorycategory()The categorymachineengine:energy, with the configured unit and scale.static @NotNull ResourcePredicateis()Matches energy.static @NotNull ResourceTypetype()The resource typemachineengine:energy.
-
Field Details
-
KEY
public static final net.kyori.adventure.key.Key KEY -
UNIT
-
SCALE
-
-
Method Details
-
category
The categorymachineengine:energy, with the configured unit and scale. -
type
The resource typemachineengine:energy. -
is
Matches energy.
-