public interface ISpatialStorageCell
Item
Modifier and Type | Method and Description |
---|---|
TransitionResult |
doSpatialTransition(net.minecraft.item.ItemStack is,
net.minecraft.world.World w,
WorldCoord min,
WorldCoord max,
boolean doTransition)
Perform a spatial swap with the contents of the cell, and the world.
|
WorldCoord |
getMax(net.minecraft.item.ItemStack is)
Maximum coordinates in its world for the storage cell.
|
int |
getMaxStoredDim(net.minecraft.item.ItemStack is) |
WorldCoord |
getMin(net.minecraft.item.ItemStack is)
Minimum coordinates in its world for the storage cell.
|
WorldCoord |
getStoredSize(net.minecraft.item.ItemStack is)
get the currently stored size.
|
net.minecraft.world.World |
getWorld(net.minecraft.item.ItemStack is) |
boolean |
isSpatialStorage(net.minecraft.item.ItemStack is) |
boolean isSpatialStorage(net.minecraft.item.ItemStack is)
is
- spatial storage cellint getMaxStoredDim(net.minecraft.item.ItemStack is)
is
- spatial storage cellnet.minecraft.world.World getWorld(net.minecraft.item.ItemStack is)
is
- spatial storage cellWorldCoord getStoredSize(net.minecraft.item.ItemStack is)
is
- spatial storage cellWorldCoord getMin(net.minecraft.item.ItemStack is)
is
- spatial storage cellWorldCoord getMax(net.minecraft.item.ItemStack is)
is
- spatial storage cellTransitionResult doSpatialTransition(net.minecraft.item.ItemStack is, net.minecraft.world.World w, WorldCoord min, WorldCoord max, boolean doTransition)
is
- spatial storage cellw
- world of spatialmin
- min coordmax
- max coorddoTransition
- transition