VoidingVirtualInventory
A VirtualInventory implementation that does not store any items, but voids them.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Nullable
@get:Nullable
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun callPostUpdateEvent(@Nullable p0: @Nullable UpdateReason?, p1: Int, @Nullable p2: @Nullable ItemStack?, @Nullable p3: @Nullable ItemStack?)
Link copied to clipboard
open fun callPreUpdateEvent(@Nullable p0: @Nullable UpdateReason?, p1: Int, @Nullable p2: @Nullable ItemStack?, @Nullable p3: @Nullable ItemStack?): ItemPreUpdateEvent
Link copied to clipboard
open fun collectSimilar(@Nullable p0: @Nullable UpdateReason?, @NotNull p1: @NotNull ItemStack): Int
open fun collectSimilar(@Nullable p0: @Nullable UpdateReason?, @NotNull p1: @NotNull ItemStack, p2: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun forceSetItem(@Nullable p0: @Nullable UpdateReason?, p1: Int, @Nullable p2: @Nullable ItemStack?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun modifyItem(@Nullable p0: @Nullable UpdateReason?, p1: Int, @NotNull p2: @NotNull Consumer<@Nullable ItemStack?>): Boolean
Link copied to clipboard
Link copied to clipboard
open fun removeFirst(@Nullable p0: @Nullable UpdateReason?, p1: Int, @NotNull p2: @NotNull Predicate<@NotNull ItemStack>): Int
Link copied to clipboard
open fun removeFirstSimilar(@Nullable p0: @Nullable UpdateReason?, p1: Int, @NotNull p2: @NotNull ItemStack): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun replaceItem(@Nullable p0: @Nullable UpdateReason?, p1: Int, @NotNull p2: @NotNull Function<@Nullable ItemStack?, @Nullable ItemStack?>): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun simulateAdd(@NotNull p0: @NotNull ItemStack, @NotNull vararg p1: @NotNull ItemStack): IntArray
Link copied to clipboard
Link copied to clipboard