public abstract class EntityHanging extends Entity
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
int |
field_146062_d |
int |
field_146063_b |
int |
field_146064_c |
int |
hangingDirection |
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, 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 |
---|
EntityHanging(World par1World) |
EntityHanging(World par1World,
int par2,
int par3,
int par4,
int par5) |
Modifier and Type | Method and Description |
---|---|
void |
addVelocity(double par1,
double par3,
double par5) |
boolean |
attackEntityFrom(DamageSource par1DamageSource,
float par2) |
boolean |
canBeCollidedWith() |
protected void |
entityInit() |
void |
func_145781_i(int p_145781_1_) |
abstract int |
getHeightPixels() |
abstract int |
getWidthPixels() |
boolean |
hitByEntity(Entity par1Entity) |
void |
moveEntity(double par1,
double par3,
double par5) |
abstract void |
onBroken(Entity var1) |
void |
onUpdate() |
boolean |
onValidSurface() |
void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound) |
void |
setDirection(int par1) |
protected boolean |
shouldSetPosAfterLoading() |
void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound) |
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, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, 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, writeToNBTOptional
public int hangingDirection
public int field_146063_b
public int field_146064_c
public int field_146062_d
public EntityHanging(World par1World)
public EntityHanging(World par1World, int par2, int par3, int par4, int par5)
protected void entityInit()
entityInit
in class Entity
public void setDirection(int par1)
public boolean onValidSurface()
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public boolean hitByEntity(Entity par1Entity)
hitByEntity
in class Entity
public void func_145781_i(int p_145781_1_)
func_145781_i
in class Entity
public boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
attackEntityFrom
in class Entity
public void moveEntity(double par1, double par3, double par5)
moveEntity
in class Entity
public void addVelocity(double par1, double par3, double par5)
addVelocity
in class Entity
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class Entity
public abstract int getWidthPixels()
public abstract int getHeightPixels()
public abstract void onBroken(Entity var1)
protected boolean shouldSetPosAfterLoading()
shouldSetPosAfterLoading
in class Entity