public static class NetherPortalBlock.Size
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Direction.Axis |
axis |
private BlockPos |
bottomLeft |
private int |
height |
private Direction |
leftDir |
private int |
portalBlockCount |
private Direction |
rightDir |
private int |
width |
private IWorld |
world |
Constructor and Description |
---|
Size(IWorld worldIn,
BlockPos pos,
Direction.Axis axisIn) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculatePortalHeight() |
private boolean |
func_196899_f() |
protected boolean |
func_196900_a(BlockState pos) |
boolean |
func_208508_f() |
protected int |
getDistanceUntilEdge(BlockPos pos,
Direction directionIn) |
int |
getHeight() |
int |
getWidth() |
boolean |
isValid() |
void |
placePortalBlocks() |
private final IWorld world
private final Direction.Axis axis
private final Direction rightDir
private final Direction leftDir
private int portalBlockCount
@Nullable private BlockPos bottomLeft
private int height
private int width
public Size(IWorld worldIn, BlockPos pos, Direction.Axis axisIn)
public int getHeight()
public int getWidth()
protected int calculatePortalHeight()
protected boolean func_196900_a(BlockState pos)
public boolean isValid()
public void placePortalBlocks()
private boolean func_196899_f()
public boolean func_208508_f()