net.minecraft.world.entity.vehicle

public class MinecartTNT

extends AbstractMinecart

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder

chm
net.minecraft.world.entity.vehicle.MinecartTNT
net.minecraft.class_1701
net.minecraft.entity.vehicle.TntMinecartEntity
net.minecraft.src.C_1218_
net.minecraft.world.entity.vehicle.EntityMinecartTNT

Field summary

Modifier and TypeField
private static final byte
c
EVENT_PRIME
field_30703
PRIME_TNT_STATUS
f_150345_
private int
d
fuse
field_7751
fuseTicks
f_38647_

Constructor summary

ModifierConstructor
public (EntityType<? extends MinecartTNT> p_38650_, Level arg1)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public AbstractMinecart$Type
w()
getMinecartType()
method_7518()
getMinecartType()
m_6064_()
public BlockState
y()
getDefaultDisplayBlockState()
method_7517()
getDefaultContainedBlock()
m_6390_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public boolean
a(bkt arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_38667_, float arg1)
public void
a(bkt arg0)
destroy(DamageSource arg0)
method_7516(class_1282 arg0)
killAndDropSelf(DamageSource arg0)
m_38227_(C_489_ arg0)
protected Item
ah_()
getDropItem()
method_7557()
asItem()
m_38369_()
protected void
h(double arg0)
explode(double arg0)
method_47305(double arg0)
explode(double power)
m_38688_(double arg0)
protected void
a(bkt arg0, double arg1)
explode(DamageSource arg0, double arg1)
method_7576(class_1282 arg0, double arg1)
explode(DamageSource damageSource, double power)
m_257440_(C_489_ p_260287_, double arg1)
public boolean
a(float arg0, float arg1, bkt arg2)
causeFallDamage(float arg0, float arg1, DamageSource arg2)
method_5747(float arg0, float arg1, class_1282 arg2)
handleFallDamage(float arg0, float arg1, DamageSource arg2)
m_142535_(float p_150348_, float p_150349_, C_489_ 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)
m_6025_(int p_38660_, int p_38661_, int p_38662_, boolean arg3)
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
C()
primeFuse()
method_7575()
prime()
m_38693_()
public int
D()
getFuse()
method_7577()
getFuseTicks()
m_38694_()
public boolean
E()
isPrimed()
method_7578()
isPrimed()
m_38695_()
public float
a(cth arg0, csv arg1, hx arg2, djh arg3, eer 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)
m_7077_(C_1578_ p_38676_, C_1559_ p_38677_, C_4675_ p_38678_, C_2064_ p_38679_, C_2691_ p_38680_, float arg5)
public boolean
a(cth arg0, csv arg1, hx arg2, djh 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)
m_7349_(C_1578_ p_38670_, C_1559_ p_38671_, C_4675_ p_38672_, C_2064_ p_38673_, float arg4)
protected void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
boolean
d(bkt arg0)
shouldSourceDestroy(DamageSource arg0)
method_55056(class_1282 arg0)
shouldAlwaysKill(DamageSource arg0)
m_304763_(C_489_ arg0)
private static boolean
e(bkt arg0)
damageSourceIgnitesTnt(DamageSource arg0)
method_55057(class_1282 arg0)
shouldDetonate(DamageSource source)
m_307426_(C_489_ p_311405_)