public class VillageDoorInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
insideDirectionX |
int |
insideDirectionZ |
boolean |
isDetachedFromVillageFlag |
int |
lastActivityTimestamp |
int |
posX |
int |
posY |
int |
posZ |
Constructor and Description |
---|
VillageDoorInfo(int par1,
int par2,
int par3,
int par4,
int par5,
int par6) |
Modifier and Type | Method and Description |
---|---|
int |
getDistanceSquared(int par1,
int par2,
int par3)
Returns the squared distance between this door and the given coordinate.
|
int |
getDoorOpeningRestrictionCounter() |
int |
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 |
getInsidePosX() |
int |
getInsidePosY() |
int |
getInsidePosZ() |
void |
incrementDoorOpeningRestrictionCounter() |
boolean |
isInside(int par1,
int par2) |
void |
resetDoorOpeningRestrictionCounter() |
public final int posX
public final int posY
public final int posZ
public final int insideDirectionX
public final int insideDirectionZ
public int lastActivityTimestamp
public boolean isDetachedFromVillageFlag
public VillageDoorInfo(int par1, int par2, int par3, int par4, int par5, int par6)
public int getDistanceSquared(int par1, int par2, int par3)
public int getInsideDistanceSquare(int par1, int par2, int par3)
public int getInsidePosX()
public int getInsidePosY()
public int getInsidePosZ()
public boolean isInside(int par1, int par2)
public void resetDoorOpeningRestrictionCounter()
public void incrementDoorOpeningRestrictionCounter()
public int getDoorOpeningRestrictionCounter()