Package net.minecraft.entity
Class ExplodingTntEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.ExplodingTntEntity
- All Implemented Interfaces:
CommandSource
public class ExplodingTntEntity extends Entity
- Mappings:
Namespace Name official vjintermediary net/minecraft/class_1905named net/minecraft/entity/ExplodingTntEntity
-
Field Summary
Fields Modifier and Type Field Description intfuseTimerprivate LivingEntityigniterFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description ExplodingTntEntity(World world)ExplodingTntEntity(World world, double x, double y, double z, LivingEntity igniter) -
Method Summary
Modifier and Type Method Description protected booleancanClimb()booleancollides()protected voiddeserialize(CompoundTag tag)private voidexplode()floatgetEyeHeight()LivingEntitygetIgniter()protected voidinitDataTracker()protected voidserialize(CompoundTag tag)voidtick()Methods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, animateDamage, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, damage, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isPushable, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6985, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, openInventory, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setVelocityClient, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, updateTrackedPositionAndAngles, writePlayerData
-
Field Details
-
fuseTimer
public int fuseTimer- Mappings:
Namespace Name Mixin selector official aLvj;a:Iintermediary field_8178Lnet/minecraft/class_1905;field_8178:Inamed fuseTimerLnet/minecraft/entity/ExplodingTntEntity;fuseTimer:I
-
igniter
- Mappings:
Namespace Name Mixin selector official bLvj;b:Lpr;intermediary field_8179Lnet/minecraft/class_1905;field_8179:Lnet/minecraft/class_1752;named igniterLnet/minecraft/entity/ExplodingTntEntity;igniter:Lnet/minecraft/entity/LivingEntity;
-
-
Constructor Details
-
ExplodingTntEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ExplodingTntEntity
- Mappings:
Namespace Name Mixin selector official <init>Lvj;<init>(Ladm;DDDLpr;)Vintermediary <init>Lnet/minecraft/class_1905;<init>(Lnet/minecraft/class_99;DDDLnet/minecraft/class_1752;)Vnamed <init>Lnet/minecraft/entity/ExplodingTntEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/entity/LivingEntity;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
canClimb
protected boolean canClimb() -
collides
public boolean collides() -
tick
public void tick() -
explode
private void explode()- Mappings:
Namespace Name Mixin selector official lLvj;l()Vintermediary method_7817Lnet/minecraft/class_1905;method_7817()Vnamed explodeLnet/minecraft/entity/ExplodingTntEntity;explode()V
-
serialize
-
deserialize
- Specified by:
deserializein classEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
getIgniter
- Mappings:
Namespace Name Mixin selector official jLvj;j()Lpr;intermediary method_7816Lnet/minecraft/class_1905;method_7816()Lnet/minecraft/class_1752;named getIgniterLnet/minecraft/entity/ExplodingTntEntity;getIgniter()Lnet/minecraft/entity/LivingEntity;
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aSLpk;aS()Fintermediary method_6965Lnet/minecraft/class_1745;method_6965()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-