forked from CraftTweaker/CraftTweaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ILiquidStack.java
53 lines (38 loc) · 1.07 KB
/
ILiquidStack.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package crafttweaker.api.liquid;
import crafttweaker.annotations.ZenRegister;
import crafttweaker.api.data.IData;
import crafttweaker.api.item.IIngredient;
import stanhebben.zenscript.annotations.*;
/**
* @author Stanneke
*/
@ZenClass("crafttweaker.liquid.ILiquidStack")
@ZenRegister
public interface ILiquidStack extends IIngredient {
@ZenGetter("definition")
ILiquidDefinition getDefinition();
@ZenGetter("name")
String getName();
@ZenGetter("displayName")
String getDisplayName();
@ZenGetter("amount")
int getAmount();
@ZenGetter("luminosity")
int getLuminosity();
@ZenGetter("density")
int getDensity();
@ZenGetter("temperature")
int getTemperature();
@ZenGetter("viscosity")
int getViscosity();
@ZenGetter("gaseous")
boolean isGaseous();
@ZenGetter("tag")
IData getTag();
@ZenMethod
ILiquidStack withTag(IData data);
@ZenOperator(OperatorType.MUL)
@ZenMethod
ILiquidStack withAmount(int amount);
Object getInternal();
}