Package net.minecraft.entity
Class TntEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.TntEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
public class TntEntity extends Entity
- Mappings:
Namespace Name official bel
intermediary net/minecraft/class_1541
named net/minecraft/entity/TntEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private LivingEntity
causingEntity
private static TrackedData<Integer>
FUSE
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description TntEntity(EntityType<? extends TntEntity> type, World world)
TntEntity(World world, double x, double y, double z, LivingEntity igniter)
-
Method Summary
Modifier and Type Method Description boolean
collides()
Packet<?>
createSpawnPacket()
private void
explode()
LivingEntity
getCausingEntity()
protected float
getEyeHeight(EntityPose pose, EntityDimensions dimensions)
int
getFuse()
protected void
initDataTracker()
protected Entity.class_5799
method_33570()
protected void
readCustomDataFromTag(CompoundTag tag)
void
setFuse(int fuse)
void
tick()
protected void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, animateDamage, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeRiddenInWater, canBeSpectated, canExplosionDestroyBlock, canFly, canFreeze, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, damage, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, fall, fromTag, getAir, getArmorItems, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeadYaw, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getItemsHand, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getX, getY, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushable, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lookAt, method_29241, method_29919, method_30330, method_30633, method_30951, method_31744, method_32318, method_32877, method_33332, method_33567, method_33568, method_33569, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, stopRiding, streamPassengers, streamPassengersRecursively, teleport, tickInVoid, tickNetherPortal, tickNetherPortalCooldown, tickRiding, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
FUSE
- Mappings:
Namespace Name Mixin selector official b
Lbel;b:Lvk;
intermediary field_7197
Lnet/minecraft/class_1541;field_7197:Lnet/minecraft/class_2940;
named FUSE
Lnet/minecraft/entity/TntEntity;FUSE:Lnet/minecraft/entity/data/TrackedData;
-
causingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbel;c:Lari;
intermediary field_7198
Lnet/minecraft/class_1541;field_7198:Lnet/minecraft/class_1309;
named causingEntity
Lnet/minecraft/entity/TntEntity;causingEntity:Lnet/minecraft/entity/LivingEntity;
-
-
Constructor Details
-
TntEntity
- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
TntEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbel;<init>(Lbtv;DDDLari;)V
intermediary <init>
Lnet/minecraft/class_1541;<init>(Lnet/minecraft/class_1937;DDDLnet/minecraft/class_1309;)V
named <init>
Lnet/minecraft/entity/TntEntity;<init>(Lnet/minecraft/world/World;DDDLnet/minecraft/entity/LivingEntity;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Specified by:
initDataTracker
in classEntity
- Mappings:
Namespace Name Mixin selector official e
Laqv;e()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
method_33570
- Overrides:
method_33570
in classEntity
- Mappings:
Namespace Name Mixin selector official aE
Laqv;aE()Laqv$b;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
named method_33570
Lnet/minecraft/entity/Entity;method_33570()Lnet/minecraft/entity/Entity$class_5799;
-
collides
public boolean collides() -
tick
public void tick() -
explode
private void explode()- Mappings:
Namespace Name Mixin selector official i
Lbel;i()V
intermediary method_6971
Lnet/minecraft/class_1541;method_6971()V
named explode
Lnet/minecraft/entity/TntEntity;explode()V
-
writeCustomDataToTag
- Specified by:
writeCustomDataToTag
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Specified by:
readCustomDataFromTag
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
getCausingEntity
- Mappings:
Namespace Name Mixin selector official g
Lbel;g()Lari;
intermediary method_6970
Lnet/minecraft/class_1541;method_6970()Lnet/minecraft/class_1309;
named getCausingEntity
Lnet/minecraft/entity/TntEntity;getCausingEntity()Lnet/minecraft/entity/LivingEntity;
-
getEyeHeight
- Overrides:
getEyeHeight
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lart;Laqw;)F
intermediary method_18378
Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getEyeHeight
Lnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
setFuse
public void setFuse(int fuse)- Mappings:
Namespace Name Mixin selector official a
Lbel;a(I)V
intermediary method_6967
Lnet/minecraft/class_1541;method_6967(I)V
named setFuse
Lnet/minecraft/entity/TntEntity;setFuse(I)V
-
getFuse
public int getFuse()- Mappings:
Namespace Name Mixin selector official h
Lbel;h()I
intermediary method_6969
Lnet/minecraft/class_1541;method_6969()I
named getFuse
Lnet/minecraft/entity/TntEntity;getFuse()I
-
createSpawnPacket
- Specified by:
createSpawnPacket
in classEntity
- Mappings:
Namespace Name Mixin selector official P
Laqv;P()Lpa;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-