YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.gen.structure.StructureBoundingBox Class Reference

Public Member Functions

 StructureBoundingBox ()
 
 StructureBoundingBox (StructureBoundingBox par1StructureBoundingBox)
 
 StructureBoundingBox (int par1, int par2, int par3, int par4, int par5, int par6)
 
 StructureBoundingBox (int par1, int par2, int par3, int par4)
 
boolean intersectsWith (StructureBoundingBox par1StructureBoundingBox)
 
boolean intersectsWith (int par1, int par2, int par3, int par4)
 
void expandTo (StructureBoundingBox par1StructureBoundingBox)
 
void offset (int par1, int par2, int par3)
 
boolean isVecInside (int par1, int par2, int par3)
 
int getXSize ()
 
int getYSize ()
 
int getZSize ()
 
int getCenterX ()
 
int getCenterY ()
 
int getCenterZ ()
 
String toString ()
 

Static Public Member Functions

static StructureBoundingBox getNewBoundingBox ()
 
static StructureBoundingBox getComponentToAddBoundingBox (int par0, int par1, int par2, int par3, int par4, int par5, int par6, int par7, int par8, int par9)
 

Public Attributes

int minX
 
int minY
 
int minZ
 
int maxX
 
int maxY
 
int maxZ
 

Constructor & Destructor Documentation

net.minecraft.world.gen.structure.StructureBoundingBox.StructureBoundingBox ( )
net.minecraft.world.gen.structure.StructureBoundingBox.StructureBoundingBox ( StructureBoundingBox  par1StructureBoundingBox)
net.minecraft.world.gen.structure.StructureBoundingBox.StructureBoundingBox ( int  par1,
int  par2,
int  par3,
int  par4,
int  par5,
int  par6 
)
net.minecraft.world.gen.structure.StructureBoundingBox.StructureBoundingBox ( int  par1,
int  par2,
int  par3,
int  par4 
)

Member Function Documentation

void net.minecraft.world.gen.structure.StructureBoundingBox.expandTo ( StructureBoundingBox  par1StructureBoundingBox)

Expands a bounding box's dimensions to include the supplied bounding box.

int net.minecraft.world.gen.structure.StructureBoundingBox.getCenterX ( )
int net.minecraft.world.gen.structure.StructureBoundingBox.getCenterY ( )
int net.minecraft.world.gen.structure.StructureBoundingBox.getCenterZ ( )
static StructureBoundingBox net.minecraft.world.gen.structure.StructureBoundingBox.getComponentToAddBoundingBox ( int  par0,
int  par1,
int  par2,
int  par3,
int  par4,
int  par5,
int  par6,
int  par7,
int  par8,
int  par9 
)
static

used to project a possible new component Bounding Box - to check if it would cut anything already spawned

static StructureBoundingBox net.minecraft.world.gen.structure.StructureBoundingBox.getNewBoundingBox ( )
static

returns a new StructureBoundingBox with MAX values

int net.minecraft.world.gen.structure.StructureBoundingBox.getXSize ( )

Returns width of a bounding box

int net.minecraft.world.gen.structure.StructureBoundingBox.getYSize ( )

Returns height of a bounding box

int net.minecraft.world.gen.structure.StructureBoundingBox.getZSize ( )

Returns length of a bounding box

boolean net.minecraft.world.gen.structure.StructureBoundingBox.intersectsWith ( StructureBoundingBox  par1StructureBoundingBox)

Returns whether the given bounding box intersects with this one. Args: structureboundingbox

boolean net.minecraft.world.gen.structure.StructureBoundingBox.intersectsWith ( int  par1,
int  par2,
int  par3,
int  par4 
)

Discover if a coordinate is inside the bounding box area.

boolean net.minecraft.world.gen.structure.StructureBoundingBox.isVecInside ( int  par1,
int  par2,
int  par3 
)

Returns true if block is inside bounding box

void net.minecraft.world.gen.structure.StructureBoundingBox.offset ( int  par1,
int  par2,
int  par3 
)

Offsets the current bounding box by the specified coordinates. Args: x, y, z

String net.minecraft.world.gen.structure.StructureBoundingBox.toString ( )

Member Data Documentation

int net.minecraft.world.gen.structure.StructureBoundingBox.maxX

The second x coordinate of a bounding box.

int net.minecraft.world.gen.structure.StructureBoundingBox.maxY

The second y coordinate of a bounding box.

int net.minecraft.world.gen.structure.StructureBoundingBox.maxZ

The second z coordinate of a bounding box.

int net.minecraft.world.gen.structure.StructureBoundingBox.minX

The first x coordinate of a bounding box.

int net.minecraft.world.gen.structure.StructureBoundingBox.minY

The first y coordinate of a bounding box.

int net.minecraft.world.gen.structure.StructureBoundingBox.minZ

The first z coordinate of a bounding box.


The documentation for this class was generated from the following file: