ReplicationConnectorReturnInventory

class ReplicationConnectorReturnInventory(listener: Runnable) : GenericStackInv(source)

Constructors

Link copied to clipboard
constructor(listener: Runnable)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val availableStacks: KeyCounter?
Link copied to clipboard
open var description: Component?
Link copied to clipboard
@get:Nullable
open var filter: @Nullable AEKeySlotFilter?
Link copied to clipboard
open val isEmpty: Boolean
Link copied to clipboard
open val mode: GenericStackInv.Mode?

Functions

Link copied to clipboard
fun addDrops(level: Level, pos: BlockPos, drops: MutableList<ItemStack>)
Link copied to clipboard
open fun beginBatch()
Link copied to clipboard
open override fun canExtract(): Boolean
Link copied to clipboard
open fun canInsert(): Boolean
Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun createMenuWrapper(): ConfigMenuInventory?
Link copied to clipboard
open fun endBatch()
Link copied to clipboard
Link copied to clipboard
open fun extract(slot: Int, what: AEKey?, amount: Long, mode: Actionable?): Long
open fun extract(what: AEKey?, amount: Long, mode: Actionable?, source: IActionSource?): Long
Link copied to clipboard
open fun getAmount(slot: Int): Long
Link copied to clipboard
open fun getAvailableStacks(out: KeyCounter?)
Link copied to clipboard
open fun getCapacity(space: AEKeyType?): Long
Link copied to clipboard
@Nullable
open fun getKey(slot: Int): @Nullable AEKey?
Link copied to clipboard
open override fun getMaxAmount(key: AEKey?): Long
Link copied to clipboard
@Nullable
open fun getStack(slot: Int): @Nullable GenericStack?
Link copied to clipboard
open fun insert(slot: Int, what: AEKey?, amount: Long, mode: Actionable?): Long
open fun insert(what: AEKey?, amount: Long, mode: Actionable?, source: IActionSource?): Long
Link copied to clipboard
open fun isAllowedIn(slot: Int, what: AEKey?): Boolean
Link copied to clipboard
open fun isPreferredStorageFor(what: AEKey?, source: IActionSource?): Boolean
Link copied to clipboard
open fun isSupportedType(what: AEKey?): Boolean
open fun isSupportedType(type: AEKeyType?): Boolean
Link copied to clipboard
fun onChange()
Link copied to clipboard
open fun readFromChildTag(tag: CompoundTag?, name: String?, registries: HolderLookup.Provider?)
Link copied to clipboard
open fun readFromList(stacks: List<@Nullable GenericStack?>?)
Link copied to clipboard
open fun readFromTag(tag: ListTag?, registries: HolderLookup.Provider?)
Link copied to clipboard
fun returnIntoStorage(storage: MEStorage, source: IActionSource): Boolean
Link copied to clipboard
open fun setCapacity(space: AEKeyType?, capacity: Long)
Link copied to clipboard
open fun setStack(slot: Int, @Nullable stack: @Nullable GenericStack?)
Link copied to clipboard
open fun size(): Int
Link copied to clipboard
open fun toList(): List<@Nullable GenericStack?>?
Link copied to clipboard
Link copied to clipboard
open fun writeToChildTag(tag: CompoundTag?, name: String?, registries: HolderLookup.Provider?)
Link copied to clipboard
open fun writeToTag(registries: HolderLookup.Provider?): ListTag?