net.minecraft.world.entity.vehicle

public class MinecartTNT

extends AbstractMinecart

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

crl
net.minecraft.world.entity.vehicle.MinecartTNT
net.minecraft.class_1701
net.minecraft.entity.vehicle.TntMinecartEntity
net.minecraft.world.entity.vehicle.EntityMinecartTNT

Field summary

Modifier and TypeField
private static final byte
b
EVENT_PRIME
field_30703
PRIME_TNT_STATUS
private static final String
c
TAG_EXPLOSION_POWER
field_52524
EXPLOSION_POWER_NBT_KEY
private static final String
d
TAG_EXPLOSION_SPEED_FACTOR
field_55020
EXPLOSION_SPEED_FACTOR_NBT_KEY
private static final String
h
TAG_FUSE
field_55021
FUSE_NBT_KEY
private static final float
i
DEFAULT_EXPLOSION_POWER_BASE
field_52525
DEFAULT_EXPLOSION_POWER
private static final float
j
DEFAULT_EXPLOSION_SPEED_FACTOR
field_55022
DEFAULT_EXPLOSION_SPEED_FACTOR
private int
k
fuse
field_7751
fuseTicks
private float
l
explosionPowerBase
field_52526
explosionPower
private float
m
explosionSpeedFactor
field_55023
explosionSpeedFactor

Constructor summary

ModifierConstructor
public (EntityType<? extends MinecartTNT> arg0, Level arg1)

Method summary

Modifier and TypeMethod
public BlockState
w()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
public void
h()
tick()
method_5773()
tick()
public 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)
public void
a(ard arg0, btc arg1)
destroy(ServerLevel arg0, DamageSource arg1)
method_7516(class_3218 arg0, class_1282 arg1)
killAndDropSelf(ServerWorld arg0, DamageSource arg1)
protected Item
u()
getDropItem()
method_7557()
asItem()
public ItemStack
dI()
getPickResult()
method_31480()
getPickBlockStack()
protected void
h(double arg0)
explode(double arg0)
method_47305(double arg0)
explode(double power)
protected void
a(btc arg0, double arg1)
explode(DamageSource arg0, double arg1)
method_7576(class_1282 arg0, double arg1)
explode(DamageSource damageSource, double power)
public boolean
a(float arg0, float arg1, btc arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
public void
a(int arg0, int arg1, int arg2, boolean arg3)
activateMinecart(int arg0, int arg1, int arg2, boolean arg3)
method_7506(int arg0, int arg1, int arg2, boolean arg3)
onActivatorRail(int arg0, int arg1, int arg2, boolean arg3)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
public void
v()
primeFuse()
method_7575()
prime()
public int
x()
getFuse()
method_7577()
getFuseTicks()
public boolean
D()
isPrimed()
method_7578()
isPrimed()
public float
a(dgb arg0, dfo arg1, ji arg2, dwy arg3, eta arg4, float arg5)
getBlockExplosionResistance(Explosion arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, FluidState arg4, float arg5)
method_5774(class_1927 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3610 arg4, float arg5)
getEffectiveExplosionResistance(Explosion arg0, BlockView arg1, BlockPos arg2, BlockState arg3, FluidState arg4, float arg5)
public boolean
a(dgb arg0, dfo arg1, ji arg2, dwy arg3, float arg4)
shouldBlockExplode(Explosion arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, float arg4)
method_5853(class_1927 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, float arg4)
canExplosionDestroyBlock(Explosion arg0, BlockView arg1, BlockPos arg2, BlockState arg3, float arg4)
protected void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
boolean
a(btc arg0)
shouldSourceDestroy(DamageSource arg0)
method_55056(class_1282 arg0)
shouldAlwaysKill(DamageSource arg0)
private static boolean
e(btc arg0)
damageSourceIgnitesTnt(DamageSource arg0)
method_55057(class_1282 arg0)
shouldDetonate(DamageSource source)