Class MountedItemStorageWrapperMixin
java.lang.Object
net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage<net.fabricmc.fabric.api.transfer.v1.item.ItemVariant,com.simibubi.create.api.contraption.storage.item.MountedItemStorage>
net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedSlottedStorage<net.fabricmc.fabric.api.transfer.v1.item.ItemVariant,com.simibubi.create.api.contraption.storage.item.MountedItemStorage>
com.simibubi.create.foundation.item.CombinedSlottedStackStorage<com.simibubi.create.api.contraption.storage.item.MountedItemStorage>
ch.voidlee.repair.mixin.optimization.mounted_storage.MountedItemStorageWrapperMixin
- All Implemented Interfaces:
RepairedMountedItemStorageWrapper,io.github.fabricators_of_create.porting_lib.transfer.item.SlottedStackStorage,Iterable<net.fabricmc.fabric.api.transfer.v1.storage.StorageView<net.fabricmc.fabric.api.transfer.v1.item.ItemVariant>>,net.fabricmc.fabric.api.transfer.v1.storage.SlottedStorage<net.fabricmc.fabric.api.transfer.v1.item.ItemVariant>,net.fabricmc.fabric.api.transfer.v1.storage.Storage<net.fabricmc.fabric.api.transfer.v1.item.ItemVariant>
public class MountedItemStorageWrapperMixin
extends com.simibubi.create.foundation.item.CombinedSlottedStackStorage<com.simibubi.create.api.contraption.storage.item.MountedItemStorage>
implements RepairedMountedItemStorageWrapper
-
Field Summary
Fields inherited from class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
parts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]int[]voidinitOptimization(com.google.common.collect.ImmutableMap<net.minecraft.core.BlockPos, com.simibubi.create.api.contraption.storage.item.MountedItemStorage> storages, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) Methods inherited from class com.simibubi.create.foundation.item.CombinedSlottedStackStorage
extractSlot, getSlotLimit, getStackInSlot, insertSlot, isItemValid, setStackInSlotMethods inherited from class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedSlottedStorage
getSlot, getSlotCount, toStringMethods inherited from class net.fabricmc.fabric.api.transfer.v1.storage.base.CombinedStorage
extract, insert, iterator, supportsExtraction, supportsInsertionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface ch.voidlee.repair.implementation.RepairedMountedItemStorageWrapper
create_repair$getIndexForSlot, create_repair$getSlotFromIndexMethods inherited from interface io.github.fabricators_of_create.porting_lib.transfer.item.SlottedStackStorage
isItemValid, iteratorMethods inherited from interface net.fabricmc.fabric.api.transfer.v1.storage.SlottedStorage
getSlot, getSlotCount, getSlotsMethods inherited from interface net.fabricmc.fabric.api.transfer.v1.storage.Storage
exactView, extract, getVersion, insert, nonEmptyIterator, nonEmptyViews, simulateExtract, simulateInsert, supportsExtraction, supportsInsertion
-
Constructor Details
-
MountedItemStorageWrapperMixin
public MountedItemStorageWrapperMixin()
-
-
Method Details
-
initOptimization
public void initOptimization(com.google.common.collect.ImmutableMap<net.minecraft.core.BlockPos, com.simibubi.create.api.contraption.storage.item.MountedItemStorage> storages, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
create_repair$slotToStorage
public int[] create_repair$slotToStorage()- Specified by:
create_repair$slotToStoragein interfaceRepairedMountedItemStorageWrapper
-
create_repair$slotOffsets
public int[] create_repair$slotOffsets()- Specified by:
create_repair$slotOffsetsin interfaceRepairedMountedItemStorageWrapper
-