Class SyncBackSlot

java.lang.Object
com.beansgalaxy.backpacks.network.clientbound.SyncBackSlot
All Implemented Interfaces:
Packet2C

public class SyncBackSlot extends Object implements Packet2C
  • Constructor Summary

    Constructors
    Constructor
    Description
    SyncBackSlot(UUID uuid, net.minecraft.world.item.ItemStack stack)
     
    SyncBackSlot(net.minecraft.network.FriendlyByteBuf buf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encode(net.minecraft.network.FriendlyByteBuf buf)
     
    void
     
    static void
    send(net.minecraft.world.entity.player.Player owner)
     
    static void
    send(net.minecraft.world.entity.player.Player owner, net.minecraft.server.level.ServerPlayer sender)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SyncBackSlot

      public SyncBackSlot(UUID uuid, net.minecraft.world.item.ItemStack stack)
    • SyncBackSlot

      public SyncBackSlot(net.minecraft.network.FriendlyByteBuf buf)
  • Method Details

    • send

      public static void send(net.minecraft.world.entity.player.Player owner, net.minecraft.server.level.ServerPlayer sender)
    • send

      public static void send(net.minecraft.world.entity.player.Player owner)
    • encode

      public void encode(net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      encode in interface Packet2C
    • handle

      public void handle()
      Specified by:
      handle in interface Packet2C