Class CraftingOptionGuiData<T,M,L>
java.lang.Object
org.cyclops.integratedterminals.core.client.gui.CraftingOptionGuiData<T,M,L>
-
Constructor Summary
ConstructorsConstructorDescriptionCraftingOptionGuiData(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T, M> component, String tabName, int channel, HandlerWrappedTerminalCraftingOption<T> craftingOption, int amount, HandlerWrappedTerminalCraftingPlan craftingPlan, ITerminalStorageLocation<L> location, L locationInstance) -
Method Summary
Modifier and TypeMethodDescriptioncopyWithAmount(int amount) intintstatic CraftingOptionGuiDatareadFromPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer) voidwriteToPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer)
-
Constructor Details
-
CraftingOptionGuiData
public CraftingOptionGuiData(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T, M> component, String tabName, int channel, @Nullable HandlerWrappedTerminalCraftingOption<T> craftingOption, int amount, HandlerWrappedTerminalCraftingPlan craftingPlan, ITerminalStorageLocation<L> location, L locationInstance)
-
-
Method Details
-
getComponent
-
getTabName
-
getChannel
public int getChannel() -
getCraftingOption
-
getAmount
public int getAmount() -
getCraftingPlan
-
getLocation
-
getLocationInstance
-
copyWithAmount
-
writeToPacketBuffer
public void writeToPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer) -
readFromPacketBuffer
public static CraftingOptionGuiData readFromPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer)
-