Class SendBackSlot
java.lang.Object
com.beansgalaxy.backpacks.network.clientbound.SendBackSlot
- All Implemented Interfaces:
Packet2C
-
Constructor Summary
ConstructorsConstructorDescriptionSendBackSlot(int entity, net.minecraft.world.item.ItemStack stack) SendBackSlot(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
-
Constructor Details
-
SendBackSlot
public SendBackSlot(int entity, net.minecraft.world.item.ItemStack stack) -
SendBackSlot
public SendBackSlot(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.server.level.ServerPlayer owner) -
getNetwork
- Specified by:
getNetworkin interfacePacket2C
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buf) -
handle
public void handle() -
indexHeldSlots
public static void indexHeldSlots()
-