net.minecraft.world.entity.vehicle

public class MinecartTNT

extends AbstractMinecart

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder

csk
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 float
d
DEFAULT_EXPLOSION_POWER_BASE
field_52525
DEFAULT_EXPLOSION_POWER
private int
h
fuse
field_7751
fuseTicks
private float
i
explosionPowerBase
field_52526
explosionPower

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(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)
public void
a(ash arg0, bua 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
dJ()
getPickResult()
method_31480()
getPickBlockStack()
protected void
h(double arg0)
explode(double arg0)
method_47305(double arg0)
explode(double power)
protected void
a(bua 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, bua 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
B()
isPrimed()
method_7578()
isPrimed()
public float
a(dha arg0, dgn arg1, jh arg2, dxv arg3, etx 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(dha arg0, dgn arg1, jh arg2, dxv 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(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
boolean
a(bua arg0)
shouldSourceDestroy(DamageSource arg0)
method_55056(class_1282 arg0)
shouldAlwaysKill(DamageSource arg0)
private static boolean
e(bua arg0)
damageSourceIgnitesTnt(DamageSource arg0)
method_55057(class_1282 arg0)
shouldDetonate(DamageSource source)