public class EntityMinecartTNT extends EntityMinecart
EntityMinecart.Type
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, world
COLLISIONS, DEFAULT_AIR_DRAG, DEFAULT_MAX_SPEED_AIR_LATERAL, DEFAULT_MAX_SPEED_AIR_VERTICAL
Constructor and Description |
---|
EntityMinecartTNT(World worldIn) |
EntityMinecartTNT(World worldIn,
double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
boolean |
attackEntityFrom(DamageSource source,
float amount) |
boolean |
canExplosionDestroyBlock(Explosion explosionIn,
IBlockReader worldIn,
BlockPos pos,
IBlockState blockStateIn,
float p_174816_5_) |
protected void |
explodeCart(double p_94103_1_) |
void |
fall(float distance,
float damageMultiplier) |
IBlockState |
getDefaultDisplayTile() |
float |
getExplosionResistance(Explosion explosionIn,
IBlockReader worldIn,
BlockPos pos,
IBlockState blockStateIn,
IFluidState p_180428_5_,
float p_180428_6_) |
int |
getFuseTicks() |
EntityMinecart.Type |
getMinecartType() |
void |
handleStatusUpdate(byte id) |
void |
ignite() |
boolean |
isIgnited() |
void |
killMinecart(DamageSource source) |
void |
onActivatorRailPass(int x,
int y,
int z,
boolean receivingPower) |
protected void |
readAdditional(NBTTagCompound compound) |
void |
tick() |
protected void |
writeAdditional(NBTTagCompound compound) |
applyDrag, applyEntityCollision, canBeCollidedWith, canBePushed, canTriggerWalking, canUseRail, create, getAdjustedHorizontalFacing, getCollisionBox, getCurrentCartSpeedCapOnRail, getDamage, getDefaultDisplayTileOffset, getDisplayTile, getDisplayTileOffset, getDragAir, getMaximumSpeed, getMaxSpeed, getMaxSpeedAirLateral, getMaxSpeedAirVertical, getMountedYOffset, getPos, getPosOffset, getRenderBoundingBox, getRollingAmplitude, getRollingDirection, hasDisplayTile, moveAlongTrack, moveDerailedMinecart, performHurtAnimation, registerData, setCanUseRail, setCurrentCartSpeedCapOnRail, setDamage, setDisplayTile, setDisplayTileOffset, setDragAir, setHasDisplayTile, setMaxSpeedAirLateral, setMaxSpeedAirVertical, setPosition, setPositionAndRotationDirect, setRollingAmplitude, setRollingDirection, setVelocity
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, awardKillScore, baseTick, canBeAttackedWithItem, canBeRidden, canBeRiddenInWater, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, func_212321_a, getAir, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getEyeHeight, getEyePosition, getFireImmuneTicks, getFlag, getForward, getHeldEquipment, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getName, getParts, getPassengers, getPermissionLevel, getPitch, getPitchYaw, getPortalCooldown, getPosition, getPositionVector, getPushReaction, getRecursivePassengers, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getRotationYawHead, getScoreboardName, getServer, getSoundCategory, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, getYaw, getYOffset, handleFluidAcceleration, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, ignoreItemEntityData, isAddedToWorld, isAlive, isBeingRidden, isBurning, isCustomNameVisible, isEntityEqual, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isPassenger, isPassenger, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isSwimming, isWet, lookAt, makeFlySound, markVelocityChanged, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, notifyDataManagerChange, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillCommand, onKillEntity, onRemovedFromWorld, onStruckByLightning, outOfWorld, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, rayTrace, read, remove, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, replaceItemInInventory, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setDropItemsWhenDead, setEntityId, setFire, setFlag, setGlowing, setHeadRotation, setInvisible, setInvulnerable, setInWeb, setItemStackToSlot, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRenderYawOffset, setRotation, setRotationYawHead, setSilent, setSize, setSneaking, setSprinting, setSwimming, setUniqueId, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, stopRiding, toString, updateFallState, updatePassenger, updateRidden, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCustomName, getDisplayName, getName, hasCustomName
canBeRidden, getCartItem, getCollisionHandler, getComparatorLevel, getCurrentRailPosition, getMaxCartSpeedOnRail, getMinecart, getSlopeAdjustment, isPoweredCart, moveMinecartOnRail, shouldDoRailFunctions
canBeRiddenInWater, canRiderInteract, deserializeNBT, getEntity, getPickedResult, isCreatureType, serializeNBT, shouldRenderInPass, shouldRiderSit
getCapability, getCapability
public EntityMinecartTNT(World worldIn)
public EntityMinecartTNT(World worldIn, double x, double y, double z)
public EntityMinecart.Type getMinecartType()
getMinecartType
in class EntityMinecart
public IBlockState getDefaultDisplayTile()
getDefaultDisplayTile
in class EntityMinecart
public void tick()
tick
in class EntityMinecart
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom
in class EntityMinecart
public void killMinecart(DamageSource source)
killMinecart
in class EntityMinecart
protected void explodeCart(double p_94103_1_)
public void onActivatorRailPass(int x, int y, int z, boolean receivingPower)
onActivatorRailPass
in class EntityMinecart
public void handleStatusUpdate(byte id)
handleStatusUpdate
in class Entity
public void ignite()
public int getFuseTicks()
public boolean isIgnited()
public float getExplosionResistance(Explosion explosionIn, IBlockReader worldIn, BlockPos pos, IBlockState blockStateIn, IFluidState p_180428_5_, float p_180428_6_)
getExplosionResistance
in class Entity
public boolean canExplosionDestroyBlock(Explosion explosionIn, IBlockReader worldIn, BlockPos pos, IBlockState blockStateIn, float p_174816_5_)
canExplosionDestroyBlock
in class Entity
protected void readAdditional(NBTTagCompound compound)
readAdditional
in class EntityMinecart
protected void writeAdditional(NBTTagCompound compound)
writeAdditional
in class EntityMinecart