public class CraftingOptionGuiData<T,M,L>
extends java.lang.Object
| Constructor and Description |
|---|
CraftingOptionGuiData(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> component,
java.lang.String tabName,
int channel,
HandlerWrappedTerminalCraftingOption<T> craftingOption,
int amount,
HandlerWrappedTerminalCraftingPlan craftingPlan,
ITerminalStorageLocation<L> location,
L locationInstance) |
| Modifier and Type | Method and Description |
|---|---|
CraftingOptionGuiData<T,M,L> |
copyWithAmount(int amount) |
int |
getAmount() |
int |
getChannel() |
org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> |
getComponent() |
HandlerWrappedTerminalCraftingOption<T> |
getCraftingOption() |
HandlerWrappedTerminalCraftingPlan |
getCraftingPlan() |
ITerminalStorageLocation<L> |
getLocation() |
L |
getLocationInstance() |
java.lang.String |
getTabName() |
static CraftingOptionGuiData |
readFromPacketBuffer(net.minecraft.network.PacketBuffer packetBuffer) |
void |
writeToPacketBuffer(net.minecraft.network.PacketBuffer packetBuffer) |
public CraftingOptionGuiData(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> component, java.lang.String tabName, int channel, @Nullable HandlerWrappedTerminalCraftingOption<T> craftingOption, int amount, HandlerWrappedTerminalCraftingPlan craftingPlan, ITerminalStorageLocation<L> location, L locationInstance)
public org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,M> getComponent()
public java.lang.String getTabName()
public int getChannel()
@Nullable public HandlerWrappedTerminalCraftingOption<T> getCraftingOption()
public int getAmount()
@Nullable public HandlerWrappedTerminalCraftingPlan getCraftingPlan()
public ITerminalStorageLocation<L> getLocation()
public L getLocationInstance()
public CraftingOptionGuiData<T,M,L> copyWithAmount(int amount)
public void writeToPacketBuffer(net.minecraft.network.PacketBuffer packetBuffer)
public static CraftingOptionGuiData readFromPacketBuffer(net.minecraft.network.PacketBuffer packetBuffer)