public class EntityMinecartTNT extends EntityMinecart
canBePushed, canUseRail, defaultDragAir, defaultMaxSpeedAirLateral, defaultMaxSpeedAirVertical, dragAir, entityName, field_82344_g, isInReverse, matrix, maxSpeedAirLateral, maxSpeedAirVertical, minecartPitch, minecartX, minecartY, minecartYaw, minecartZ, turnProgress, velocityX, velocityY, velocityZ
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 |
---|
EntityMinecartTNT(World par1World) |
EntityMinecartTNT(World par1World,
double par2,
double par4,
double par6) |
Modifier and Type | Method and Description |
---|---|
protected void |
explodeCart(double par1)
Makes the minecart explode.
|
protected void |
fall(float par1)
Called when the mob is falling.
|
int |
func_94104_d() |
float |
getBlockExplosionResistance(Explosion par1Explosion,
World par2World,
int par3,
int par4,
int par5,
Block par6Block)
Gets a block's resistance to this entity's explosion.
|
Block |
getDefaultDisplayTile() |
int |
getMinecartType() |
void |
handleHealthUpdate(byte par1) |
void |
ignite()
Ignites this TNT cart.
|
boolean |
isIgnited()
Returns true if the TNT minecart is ignited.
|
void |
killMinecart(DamageSource par1DamageSource) |
void |
onActivatorRailPass(int par1,
int par2,
int par3,
boolean par4)
Called every tick the minecart is on an activator rail.
|
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.
|
boolean |
shouldExplodeBlock(Explosion par1Explosion,
World par2World,
int par3,
int par4,
int par5,
int par6,
float par7) |
protected void |
writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
(abstract) Protected helper method to write subclass entity data to NBT.
|
applyDrag, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canBeRidden, canTriggerWalking, canUseRail, createMinecart, entityInit, func_70489_a, func_70495_a, func_94088_b, func_95999_t, getBoundingBox, getCartItem, getCollisionBox, getCollisionHandler, getCurrentCartSpeedCapOnRail, getDamage, getDefaultDisplayTileData, getDefaultDisplayTileOffset, getDisplayTile, getDisplayTileData, getDisplayTileOffset, getDragAir, getEntityName, getMaxCartSpeedOnRail, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMountedYOffset, getRollingAmplitude, getRollingDirection, getShadowSize, getSlopeAdjustment, hasDisplayTile, isInvNameLocalized, isPoweredCart, moveMinecartOnRail, performHurtAnimation, setCanUseRail, setCollisionHandler, setCurrentCartSpeedCapOnRail, setDamage, setDead, setDisplayTile, setDisplayTileData, setDisplayTileOffset, setDragAir, setHasDisplayTile, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setMinecartName, setPositionAndRotation2, setRollingAmplitude, setRollingDirection, setVelocity, shouldDoRailFunctions, updateOnTrack
addEntityCrashInfo, addToPlayerScore, addVelocity, canAttackWithItem, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBrightness, getBrightnessForRender, getCollisionBorderSize, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getTeleportDirection, getTranslatedEntityName, getUniqueID, getYOffset, 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, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setEating, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public EntityMinecartTNT(World par1World)
public EntityMinecartTNT(World par1World, double par2, double par4, double par6)
public int getMinecartType()
getMinecartType
in class EntityMinecart
public Block getDefaultDisplayTile()
getDefaultDisplayTile
in class EntityMinecart
public void onUpdate()
onUpdate
in class EntityMinecart
public void killMinecart(DamageSource par1DamageSource)
killMinecart
in class EntityMinecart
protected void explodeCart(double par1)
protected void fall(float par1)
public void onActivatorRailPass(int par1, int par2, int par3, boolean par4)
onActivatorRailPass
in class EntityMinecart
public void handleHealthUpdate(byte par1)
handleHealthUpdate
in class Entity
public void ignite()
public int func_94104_d()
public boolean isIgnited()
public float getBlockExplosionResistance(Explosion par1Explosion, World par2World, int par3, int par4, int par5, Block par6Block)
getBlockExplosionResistance
in class Entity
public boolean shouldExplodeBlock(Explosion par1Explosion, World par2World, int par3, int par4, int par5, int par6, float par7)
shouldExplodeBlock
in class Entity
protected void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
readEntityFromNBT
in class EntityMinecart
protected void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
writeEntityToNBT
in class EntityMinecart