net.minecraft.world.entity.item

public class PrimedTnt

extends Entity implements TraceableEntity

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

cmc
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>
a
DATA_FUSE_ID
field_7197
FUSE
private static final EntityDataAccessor<BlockState>
b
DATA_BLOCK_STATE_ID
field_46777
BLOCK_STATE
private static final int
c
DEFAULT_FUSE_TIME
field_30459
DEFAULT_FUSE
private static final float
d
DEFAULT_EXPLOSION_POWER
field_52494
DEFAULT_EXPLOSION_POWER
private static final String
e
TAG_BLOCK_STATE
field_46778
BLOCK_STATE_NBT_KEY
private static final String
f
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(alg$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(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
protected void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public LivingEntity
l()
getOwner()
method_6970()
getOwner()
public void
x(bvk 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(dxv 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(eux arg0)
teleport(TeleportTransition arg0)
method_5731(class_5454 arg0)
teleportTo(TeleportTarget arg0)
public final boolean
a(ash arg0, bua 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)