Spatial Dimension Changes

This commit is contained in:
Sebastian Hartte
2020-06-13 12:28:56 +02:00
parent 94226f3219
commit 832d517e98
8 changed files with 72 additions and 199 deletions
@@ -26,6 +26,7 @@ package appeng.api.implementations.items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import appeng.api.implementations.TransitionResult;
@@ -54,16 +55,6 @@ public interface ISpatialStorageCell
*/
int getMaxStoredDim( ItemStack is );
/**
* get the currently stored size.
*
* @param is spatial storage cell
*
* @return size of spatial
*/
WorldCoord getStoredSize( ItemStack is );
/**
* get the currently stored Dimension id.
*
@@ -32,14 +32,12 @@ public interface ISpatialDimension
ServerWorld getWorld(DimensionType cellDim );
@Nullable
DimensionType createNewCellDimension(BlockPos contentSize, int playerId );
DimensionType createNewCellDimension(BlockPos contentSize);
void deleteCellDimension( DimensionType cellDim );
boolean isCellDimension( DimensionType cellDim );
int getCellDimensionOwner( DimensionType cellDim );
BlockPos getCellDimensionOrigin( DimensionType cellDim );
BlockPos getCellContentSize( DimensionType cellDim );