mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
27 lines
614 B
Java
27 lines
614 B
Java
package appeng.api.me.items;
|
|
|
|
import appeng.api.WorldCoord;
|
|
import appeng.api.me.util.TransitionResult;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.world.World;
|
|
|
|
public interface ISpatialStorage {
|
|
|
|
boolean isSpatialStorage( ItemStack is );
|
|
|
|
int getMaxStoredDim( ItemStack is );
|
|
|
|
World getWorld( ItemStack is );
|
|
|
|
WorldCoord getStoredSize( ItemStack is );
|
|
|
|
WorldCoord getMin( ItemStack is );
|
|
|
|
WorldCoord getMax( ItemStack is );
|
|
|
|
TransitionResult doSpatialTransition( ItemStack is, World w, WorldCoord min, WorldCoord max, boolean doTransition );
|
|
|
|
World createNewWorld(ItemStack is);
|
|
|
|
}
|