Class PlayerMainInvWrapper

java.lang.Object
dev.latvian.mods.kubejs.item.RangedWrapper
dev.latvian.mods.kubejs.item.PlayerMainInvWrapper
All Implemented Interfaces:
InventoryKJS

public class PlayerMainInvWrapper extends RangedWrapper
  • Constructor Details

    • PlayerMainInvWrapper

      public PlayerMainInvWrapper(net.minecraft.world.entity.player.Inventory inv)
  • Method Details

    • kjs$insertItem

      @NotNull public @NotNull net.minecraft.world.item.ItemStack kjs$insertItem(int slot, @NotNull @NotNull net.minecraft.world.item.ItemStack stack, boolean simulate)
      Specified by:
      kjs$insertItem in interface InventoryKJS
      Overrides:
      kjs$insertItem in class RangedWrapper
    • getInventoryPlayer

      public net.minecraft.world.entity.player.Inventory getInventoryPlayer()