public class EntityLeashKnot extends EntityHanging
Entity.EnumEntitySize
field_146062_d, field_146063_b, field_146064_c, hangingDirection
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, 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, yOffset, ySize
Constructor and Description |
---|
EntityLeashKnot(World par1World) |
EntityLeashKnot(World par1World,
int par2,
int par3,
int par4) |
Modifier and Type | Method and Description |
---|---|
protected void |
entityInit() |
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)
Checks if the entity is in range to render by using the past in distance and comparing it to its average edge
length * 64 * renderDistanceWeight Args: distance
|
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, func_145781_i, hitByEntity, moveEntity, onUpdate, shouldSetPosAfterLoading
addEntityCrashInfo, addToPlayerScore, applyEntityCollision, canAttackWithItem, canBePushed, canRenderOnFire, canRiderInteract, canTriggerWalking, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, fall, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT
public EntityLeashKnot(World par1World)
public EntityLeashKnot(World par1World, int par2, int par3, int par4)
protected void entityInit()
entityInit
in class EntityHanging
public void setDirection(int par1)
setDirection
in class EntityHanging
public int getWidthPixels()
getWidthPixels
in class EntityHanging
public int getHeightPixels()
getHeightPixels
in class EntityHanging
public boolean isInRangeToRenderDist(double par1)
isInRangeToRenderDist
in class Entity
public void onBroken(Entity par1Entity)
onBroken
in class EntityHanging
public boolean writeToNBTOptional(NBTTagCompound par1NBTTagCompound)
writeToNBTOptional
in class Entity
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityHanging
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityHanging
public boolean interactFirst(EntityPlayer par1EntityPlayer)
interactFirst
in class Entity
public boolean onValidSurface()
onValidSurface
in class EntityHanging
public 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)