Package forestry.api.core.multiblock
Interface IMultiblockInventoryProbe
@Internal
public interface IMultiblockInventoryProbe
Used for testing the new multiblock engine without coupling tests to either the old BigReactors implementation
or this new Forestry-specific implementation. Exposes the inventory contents of a multiblock to allow checking
for data loss/duplication.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<net.minecraft.world.item.ItemStack> snapshotContainer(net.minecraft.world.Container container) Deep-copies inventory contents into a list.List<net.minecraft.world.item.ItemStack>
-
Method Details
-
snapshotContainer
static List<net.minecraft.world.item.ItemStack> snapshotContainer(net.minecraft.world.Container container) Deep-copies inventory contents into a list.