net.minecraft.world.entity.item

public class PrimedTnt

extends Entity implements TraceableEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

cle
net.minecraft.world.entity.item.PrimedTnt
net.minecraft.class_1541
net.minecraft.entity.TntEntity
net.minecraft.world.entity.item.EntityTNTPrimed

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Integer>
b
DATA_FUSE_ID
field_7197
FUSE
private static final EntityDataAccessor<BlockState>
c
DATA_BLOCK_STATE_ID
field_46777
BLOCK_STATE
private static final int
d
DEFAULT_FUSE_TIME
field_30459
DEFAULT_FUSE
private static final float
e
DEFAULT_EXPLOSION_POWER
field_52494
DEFAULT_EXPLOSION_POWER
private static final String
f
TAG_BLOCK_STATE
field_46778
BLOCK_STATE_NBT_KEY
public static final String
a
TAG_FUSE
field_46776
FUSE_NBT_KEY
private static final String
g
TAG_EXPLOSION_POWER
field_52495
EXPLOSION_POWER_NBT_KEY
private static final ExplosionDamageCalculator
h
USED_PORTAL_DAMAGE_CALCULATOR
field_52317
TELEPORTED_EXPLOSION_BEHAVIOR
private LivingEntity
i
owner
field_7198
causingEntity
private boolean
j
usedPortal
field_52318
teleported
private float
k
explosionPower
field_52496
explosionPower

Constructor summary

ModifierConstructor
public (EntityType<? extends PrimedTnt> arg0, Level arg1)
public (Level world, double x, double y, double z, LivingEntity igniter)

Method summary

Modifier and TypeMethod
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
protected Entity$MovementEmission
bg()
getMovementEmission()
method_33570()
getMoveEffect()
public boolean
bH()
isPickable()
method_5863()
canHit()
protected double
bd()
getDefaultGravity()
method_7490()
getGravity()
public void
h()
tick()
method_5773()
tick()
private void
t()
explode()
method_6971()
explode()
protected void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public LivingEntity
l()
getOwner()
method_6970()
getOwner()
public void
x(bum arg0)
restoreFrom(Entity arg0)
method_5878(class_1297 arg0)
copyFrom(Entity arg0)
public void
b(int arg0)
setFuse(int arg0)
method_6967(int arg0)
setFuse(int fuse)
public int
m()
getFuse()
method_6969()
getFuse()
public void
c(dwy arg0)
setBlockState(BlockState arg0)
method_54455(class_2680 arg0)
setBlockState(BlockState state)
public BlockState
s()
getBlockState()
method_54456()
getBlockState()
private void
a(boolean arg0)
setUsedPortal(boolean arg0)
method_61174(boolean arg0)
setTeleported(boolean teleported)
public Entity
b(eua arg0)
teleport(TeleportTransition arg0)
method_5731(class_5454 arg0)
teleportTo(TeleportTarget arg0)
public final boolean
a(ard arg0, btc arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)