Class TerminalStorageLocationItem
java.lang.Object
org.cyclops.integratedterminals.core.terminalstorage.location.TerminalStorageLocationItem
- All Implemented Interfaces:
ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
public class TerminalStorageLocationItem
extends Object
implements ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetName()<T,M> void openContainerCraftingOptionAmount(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) <T,M> void openContainerCraftingPlan(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) <T,M> void openContainerFromClient(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData) <T,M> void openContainerFromServer(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> readFromPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer) voidwriteToPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer> location)
-
Constructor Details
-
TerminalStorageLocationItem
public TerminalStorageLocationItem()
-
-
Method Details
-
getName
public net.minecraft.resources.ResourceLocation getName()- Specified by:
getNamein interfaceITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-
openContainerFromClient
public <T,M> void openContainerFromClient(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData) - Specified by:
openContainerFromClientin interfaceITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-
openContainerFromServer
public <T,M> void openContainerFromServer(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) - Specified by:
openContainerFromServerin interfaceITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-
openContainerCraftingPlan
public <T,M> void openContainerCraftingPlan(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) - Specified by:
openContainerCraftingPlanin interfaceITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-
openContainerCraftingOptionAmount
public <T,M> void openContainerCraftingOptionAmount(CraftingOptionGuiData<T, M, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player) - Specified by:
openContainerCraftingOptionAmountin interfaceITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-
writeToPacketBuffer
public void writeToPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand, Integer> location) - Specified by:
writeToPacketBufferin interfaceITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-
readFromPacketBuffer
public org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> readFromPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer) - Specified by:
readFromPacketBufferin interfaceITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
-