public class EntityFallingSand extends Entity
Modifier and Type | Field and Description |
---|---|
int |
blockID |
NBTTagCompound |
fallingBlockTileEntityData |
int |
fallTime
How long the block has been falling for.
|
int |
metadata |
boolean |
shouldDropItem |
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, 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 |
---|
EntityFallingSand(World par1World) |
EntityFallingSand(World par1World,
double par2,
double par4,
double par6,
int par8) |
EntityFallingSand(World par1World,
double par2,
double par4,
double par6,
int par8,
int par9) |
Modifier and Type | Method and Description |
---|---|
void |
addEntityCrashInfo(CrashReportCategory par1CrashReportCategory) |
boolean |
canBeCollidedWith()
Returns true if other Entities should be prevented from moving through this Entity.
|
boolean |
canRenderOnFire() |
protected boolean |
canTriggerWalking()
returns if this entity triggers Block.onEntityWalking on the blocks they walk on.
|
protected void |
entityInit() |
protected void |
fall(float par1)
Called when the mob is falling.
|
float |
getShadowSize() |
World |
getWorld() |
void |
onUpdate()
Called to update the entity's position/logic.
|
protected void |
readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to read subclass entity data from NBT.
|
void |
setIsAnvil(boolean par1) |
protected void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT.
|
addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBePushed, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBlockExplosionResistance, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityName, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getTeleportDirection, getTranslatedEntityName, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldExplodeBlock, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public int blockID
public int metadata
public int fallTime
public boolean shouldDropItem
public NBTTagCompound fallingBlockTileEntityData
public EntityFallingSand(World par1World)
public EntityFallingSand(World par1World, double par2, double par4, double par6, int par8)
public EntityFallingSand(World par1World, double par2, double par4, double par6, int par8, int par9)
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
protected void entityInit()
entityInit
in class Entity
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public void onUpdate()
protected void fall(float par1)
protected void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class Entity
protected void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class Entity
public void setIsAnvil(boolean par1)
public void addEntityCrashInfo(CrashReportCategory par1CrashReportCategory)
addEntityCrashInfo
in class Entity
public float getShadowSize()
getShadowSize
in class Entity
public World getWorld()
public boolean canRenderOnFire()
canRenderOnFire
in class Entity