Class SendBackInventory
java.lang.Object
com.beansgalaxy.backpacks.network.clientbound.SendBackInventory
- All Implemented Interfaces:
Packet2C
-
Constructor Summary
ConstructorsConstructorDescriptionSendBackInventory(BackpackInventory backpackInventory, int container) SendBackInventory(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(net.minecraft.network.FriendlyByteBuf buf) voidhandle()static voidstatic voidsend(BackpackMenu menu) static voidsend(net.minecraft.server.level.ServerPlayer owner)
-
Constructor Details
-
SendBackInventory
-
SendBackInventory
public SendBackInventory(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
send
public static void send(net.minecraft.server.level.ServerPlayer owner) -
send
-
getNetwork
- Specified by:
getNetworkin interfacePacket2C
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buf) -
handle
public void handle() -
indexInventories
public static void indexInventories()
-