Class TerminalStorageIngredientItemStackCraftingGridClear

java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.integratedterminals.network.packet.TerminalStorageIngredientItemStackCraftingGridClear

public class TerminalStorageIngredientItemStackCraftingGridClear extends org.cyclops.cyclopscore.network.PacketCodec
Packet for telling the server that the crafting grid must be cleared.
  • Constructor Details

    • TerminalStorageIngredientItemStackCraftingGridClear

      public TerminalStorageIngredientItemStackCraftingGridClear()
    • TerminalStorageIngredientItemStackCraftingGridClear

      public TerminalStorageIngredientItemStackCraftingGridClear(String tabId, int channel, boolean toStorage)
  • Method Details

    • isAsync

      public boolean isAsync()
      Specified by:
      isAsync in class org.cyclops.cyclopscore.network.PacketBase
    • actionClient

      public void actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
      Specified by:
      actionClient in class org.cyclops.cyclopscore.network.PacketBase
    • actionServer

      public void actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      actionServer in class org.cyclops.cyclopscore.network.PacketBase
    • clearGrid

      public static void clearGrid(TerminalStorageTabIngredientComponentItemStackCraftingCommon tabCommon, TerminalStorageTabIngredientComponentServer<net.minecraft.world.item.ItemStack,Integer> tabServer, int channel, boolean toStorage, net.minecraft.world.entity.player.Player player)