YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.village.VillageDoorInfo Class Reference

Public Member Functions

 VillageDoorInfo (int par1, int par2, int par3, int par4, int par5, int par6)
 
int getDistanceSquared (int par1, int par2, int par3)
 
int getInsideDistanceSquare (int par1, int par2, int par3)
 
int getInsidePosX ()
 
int getInsidePosY ()
 
int getInsidePosZ ()
 
boolean isInside (int par1, int par2)
 
void resetDoorOpeningRestrictionCounter ()
 
void incrementDoorOpeningRestrictionCounter ()
 
int getDoorOpeningRestrictionCounter ()
 

Public Attributes

final int posX
 
final int posY
 
final int posZ
 
final int insideDirectionX
 
final int insideDirectionZ
 
int lastActivityTimestamp
 
boolean isDetachedFromVillageFlag = false
 

Constructor & Destructor Documentation

net.minecraft.village.VillageDoorInfo.VillageDoorInfo ( int  par1,
int  par2,
int  par3,
int  par4,
int  par5,
int  par6 
)

Member Function Documentation

int net.minecraft.village.VillageDoorInfo.getDistanceSquared ( int  par1,
int  par2,
int  par3 
)

Returns the squared distance between this door and the given coordinate.

int net.minecraft.village.VillageDoorInfo.getDoorOpeningRestrictionCounter ( )
int net.minecraft.village.VillageDoorInfo.getInsideDistanceSquare ( int  par1,
int  par2,
int  par3 
)

Get the square of the distance from a location 2 blocks away from the door considered 'inside' and the given arguments

int net.minecraft.village.VillageDoorInfo.getInsidePosX ( )
int net.minecraft.village.VillageDoorInfo.getInsidePosY ( )
int net.minecraft.village.VillageDoorInfo.getInsidePosZ ( )
void net.minecraft.village.VillageDoorInfo.incrementDoorOpeningRestrictionCounter ( )
boolean net.minecraft.village.VillageDoorInfo.isInside ( int  par1,
int  par2 
)
void net.minecraft.village.VillageDoorInfo.resetDoorOpeningRestrictionCounter ( )

Member Data Documentation

final int net.minecraft.village.VillageDoorInfo.insideDirectionX
final int net.minecraft.village.VillageDoorInfo.insideDirectionZ
boolean net.minecraft.village.VillageDoorInfo.isDetachedFromVillageFlag = false
int net.minecraft.village.VillageDoorInfo.lastActivityTimestamp
final int net.minecraft.village.VillageDoorInfo.posX
final int net.minecraft.village.VillageDoorInfo.posY
final int net.minecraft.village.VillageDoorInfo.posZ

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