Class ItemHandlerUtils

java.lang.Object
dev.latvian.mods.kubejs.item.ItemHandlerUtils

public class ItemHandlerUtils extends Object
  • Constructor Details

    • ItemHandlerUtils

      public ItemHandlerUtils()
  • Method Details

    • giveItemToPlayer

      public static void giveItemToPlayer(net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.item.ItemStack stack, int preferredSlot)
    • insertItemStacked

      @NotNull public static @NotNull net.minecraft.world.item.ItemStack insertItemStacked(InventoryKJS inventory, @NotNull @NotNull net.minecraft.world.item.ItemStack stack, boolean simulate)
    • insertItem

      @NotNull public static @NotNull net.minecraft.world.item.ItemStack insertItem(InventoryKJS dest, @NotNull @NotNull net.minecraft.world.item.ItemStack stack, boolean simulate)