public class EntityLeashKnot extends EntityHanging
hangingDirection, xPosition, yPosition, zPositionaddedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityLeashKnot(World par1World) |
EntityLeashKnot(World par1World,
int par2,
int par3,
int par4) |
| Modifier and Type | Method and Description |
|---|---|
static EntityLeashKnot |
func_110129_a(World par0World,
int par1,
int par2,
int par3) |
int |
getHeightPixels() |
static EntityLeashKnot |
getKnotForBlock(World par0World,
int par1,
int par2,
int par3) |
int |
getWidthPixels() |
boolean |
interactFirst(EntityPlayer par1EntityPlayer)
First layer of player interaction
|
boolean |
isInRangeToRenderDist(double par1) |
void |
onBroken(Entity par1Entity)
Called when this entity is broken.
|
boolean |
onValidSurface()
checks to make sure painting can be placed there
|
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT.
|
void |
setDirection(int par1) |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT.
|
boolean |
writeToNBTOptional(NBTTagCompound par1NBTTagCompound)
Either write this entity to the NBT tag given and return true, or return false without doing anything.
|
addVelocity, attackEntityFrom, canBeCollidedWith, hitByEntity, moveEntity, onUpdateaddEntityCrashInfo, addToPlayerScore, applyEntityCollision, canAttackWithItem, canBePushed, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBlockExplosionResistance, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityName, getExtendedProperties, getEyeHeight, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getTeleportDirection, getTranslatedEntityName, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, mountEntity, moveFlying, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setCurrentItemOrArmor, setDead, setEating, setFire, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotationYawHead, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldExplodeBlock, shouldRenderInPass, shouldRiderSit, toString, travelToDimension, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBTpublic EntityLeashKnot(World par1World)
public EntityLeashKnot(World par1World, int par2, int par3, int par4)
public void setDirection(int par1)
setDirection in class EntityHangingpublic int getWidthPixels()
getWidthPixels in class EntityHangingpublic int getHeightPixels()
getHeightPixels in class EntityHangingpublic boolean isInRangeToRenderDist(double par1)
isInRangeToRenderDist in class Entitypublic void onBroken(Entity par1Entity)
onBroken in class EntityHangingpublic boolean writeToNBTOptional(NBTTagCompound par1NBTTagCompound)
writeToNBTOptional in class Entitypublic void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT in class EntityHangingpublic void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT in class EntityHangingpublic boolean interactFirst(EntityPlayer par1EntityPlayer)
interactFirst in class Entitypublic boolean onValidSurface()
onValidSurface in class EntityHangingpublic static EntityLeashKnot func_110129_a(World par0World, int par1, int par2, int par3)
public static EntityLeashKnot getKnotForBlock(World par0World, int par1, int par2, int par3)