public static class BlockPortal.Size
extends java.lang.Object
Constructor and Description |
---|
Size(World worldIn,
BlockPos p_i45694_2_,
EnumFacing.Axis p_i45694_3_) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculatePortalHeight() |
protected int |
getDistanceUntilEdge(BlockPos p_180120_1_,
EnumFacing p_180120_2_) |
int |
getHeight() |
int |
getWidth() |
protected boolean |
isEmptyBlock(Block blockIn) |
boolean |
isValid() |
void |
placePortalBlocks() |
public Size(World worldIn, BlockPos p_i45694_2_, EnumFacing.Axis p_i45694_3_)
protected int getDistanceUntilEdge(BlockPos p_180120_1_, EnumFacing p_180120_2_)
public int getHeight()
public int getWidth()
protected int calculatePortalHeight()
protected boolean isEmptyBlock(Block blockIn)
public boolean isValid()
public void placePortalBlocks()