public class EntityLeashKnot extends EntityHanging
field_174860_b, hangingPosition
addedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj
Constructor and Description |
---|
EntityLeashKnot(World worldIn) |
EntityLeashKnot(World worldIn,
BlockPos p_i45851_2_) |
Modifier and Type | Method and Description |
---|---|
static EntityLeashKnot |
createKnot(World worldIn,
BlockPos fence) |
protected void |
entityInit() |
void |
func_174859_a(EnumFacing p_174859_1_) |
float |
getEyeHeight() |
int |
getHeightPixels() |
static EntityLeashKnot |
getKnotForPosition(World worldIn,
BlockPos pos) |
int |
getWidthPixels() |
boolean |
interactFirst(EntityPlayer playerIn) |
boolean |
isInRangeToRenderDist(double distance) |
void |
onBroken(Entity p_110128_1_) |
boolean |
onValidSurface() |
void |
readEntityFromNBT(NBTTagCompound tagCompund) |
void |
writeEntityToNBT(NBTTagCompound tagCompound) |
boolean |
writeToNBTOptional(NBTTagCompound tagCompund) |
addVelocity, attackEntityFrom, canBeCollidedWith, func_174857_n, getHorizontalFacing, hitByEntity, moveEntity, onUpdate, setPosition, shouldSetPosAfterLoading
addChatMessage, addEntityCrashInfo, addToPlayerScore, applyEntityCollision, canAttackWithItem, canBePushed, canRenderOnFire, canRiderInteract, canTriggerWalking, canUseCommand, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_145781_i, func_174807_aT, func_174815_a, func_174816_a, func_174817_o, func_174819_aU, func_174823_aP, func_174825_a, func_174827_a, func_174834_g, func_180426_a, func_180427_aV, func_180433_a, getAir, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getFlag, getInventory, getLook, getLookVec, getMaxFallHeight, getMaxInPortalTime, getMountedYOffset, getName, getParts, getPersistentID, getPickedResult, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getVectorForRotation, getYOffset, handleHealthUpdate, handleWaterMovement, hasCustomName, hashCode, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInLava, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, kill, mountEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillCommand, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, replaceItemInInventory, resetEntityId, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setBeenAttacked, setCommandStat, setCurrentItemOrArmor, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPositionAndRotation, setPositionAndUpdate, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, spawnRunningParticles, toString, travelToDimension, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT
public EntityLeashKnot(World worldIn)
protected void entityInit()
entityInit
in class EntityHanging
public void func_174859_a(EnumFacing p_174859_1_)
func_174859_a
in class EntityHanging
public int getWidthPixels()
getWidthPixels
in class EntityHanging
public int getHeightPixels()
getHeightPixels
in class EntityHanging
public float getEyeHeight()
getEyeHeight
in class Entity
public boolean isInRangeToRenderDist(double distance)
isInRangeToRenderDist
in class Entity
public void onBroken(Entity p_110128_1_)
onBroken
in class EntityHanging
public boolean writeToNBTOptional(NBTTagCompound tagCompund)
writeToNBTOptional
in class Entity
public void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT
in class EntityHanging
public void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT
in class EntityHanging
public boolean interactFirst(EntityPlayer playerIn)
interactFirst
in class Entity
public boolean onValidSurface()
onValidSurface
in class EntityHanging
public static EntityLeashKnot createKnot(World worldIn, BlockPos fence)
public static EntityLeashKnot getKnotForPosition(World worldIn, BlockPos pos)