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