Interface PlayerInventoryCompatWrapper
- All Superinterfaces:
CompatWrapper
- All Known Implementing Classes:
PlayerInventoryCompatWrapper_Minecraft_1_21_5
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getArmor(net.minecraft.world.entity.player.Inventory playerInventory) net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getMain(net.minecraft.world.entity.player.Inventory playerInventory) net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getOffHand(net.minecraft.world.entity.player.Inventory playerInventory) voidsetArmor(net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks) voidsetMain(net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks) voidsetOffHand(net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks) Methods inherited from interface CompatWrapper
onServerStartedModifier and TypeMethodDescriptiondefault voidonServerStarted(net.minecraft.server.MinecraftServer server)
-
Method Details
-
getArmor
net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getArmor(net.minecraft.world.entity.player.Inventory playerInventory) -
setArmor
void setArmor(net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks) -
getMain
net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getMain(net.minecraft.world.entity.player.Inventory playerInventory) -
setMain
void setMain(net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks) -
getOffHand
net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getOffHand(net.minecraft.world.entity.player.Inventory playerInventory) -
setOffHand
void setOffHand(net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemStacks)
-