mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-26 14:53:03 +00:00
62 lines
1.4 KiB
Java
62 lines
1.4 KiB
Java
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package minetweaker.api.liquid;
|
|
|
|
import minetweaker.api.data.IData;
|
|
import minetweaker.api.item.IIngredient;
|
|
import stanhebben.zenscript.annotations.OperatorType;
|
|
import stanhebben.zenscript.annotations.ZenClass;
|
|
import stanhebben.zenscript.annotations.ZenGetter;
|
|
import stanhebben.zenscript.annotations.ZenMethod;
|
|
import stanhebben.zenscript.annotations.ZenOperator;
|
|
|
|
/**
|
|
*
|
|
* @author Stanneke
|
|
*/
|
|
@ZenClass("minetweaker.liquid.ILiquidStack")
|
|
public interface ILiquidStack extends IIngredient {
|
|
@ZenGetter("definition")
|
|
public ILiquidDefinition getDefinition();
|
|
|
|
@ZenGetter("name")
|
|
public String getName();
|
|
|
|
@ZenGetter("displayName")
|
|
public String getDisplayName();
|
|
|
|
@ZenGetter("amount")
|
|
public int getAmount();
|
|
|
|
@ZenGetter("luminosity")
|
|
public int getLuminosity();
|
|
|
|
@ZenGetter("density")
|
|
public int getDensity();
|
|
|
|
@ZenGetter("temperature")
|
|
public int getTemperature();
|
|
|
|
@ZenGetter("viscosity")
|
|
public int getViscosity();
|
|
|
|
@ZenGetter("gaseous")
|
|
public boolean isGaseous();
|
|
|
|
@ZenGetter("tag")
|
|
public IData getTag();
|
|
|
|
@ZenMethod
|
|
public ILiquidStack withTag(IData data);
|
|
|
|
@ZenOperator(OperatorType.MUL)
|
|
@ZenMethod
|
|
public ILiquidStack withAmount(int amount);
|
|
|
|
public Object getInternal();
|
|
}
|