Package mindustry.type
Class LiquidStack
java.lang.Object
mindustry.type.LiquidStack
- All Implemented Interfaces:
Comparable<LiquidStack>
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
serialization onlyLiquidStack
(Liquid liquid, float amount) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(LiquidStack liquidStack) copy()
boolean
boolean
equals
(LiquidStack other) static Seq<LiquidStack>
static LiquidStack[]
mult
(LiquidStack[] stacks, float amount) toString()
static LiquidStack[]
-
Field Details
-
empty
-
liquid
-
amount
public float amount
-
-
Constructor Details
-
LiquidStack
-
LiquidStack
protected LiquidStack()serialization only
-
-
Method Details
-
set
-
copy
-
equals
-
mult
-
with
-
list
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LiquidStack>
-
equals
-
toString
-