net.minecraft.world.level.block

public class TntBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

doi
net.minecraft.world.level.block.TntBlock
net.minecraft.class_2530
net.minecraft.block.TntBlock
net.minecraft.src.C_1940_
net.minecraft.world.level.block.BlockTNT

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TntBlock>
a
CODEC
field_46474
CODEC
f_303576_
public static final BooleanProperty
b
UNSTABLE
field_11621
UNSTABLE
f_57419_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TntBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected void
b(dtc arg0, dcw arg1, jd arg2, dtc arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_57467_, C_1596_ p_57468_, C_4675_ p_57469_, C_2064_ p_57470_, boolean arg4)
protected void
a(dtc arg0, dcw arg1, jd arg2, dfy arg3, jd arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_57458_, C_1596_ p_57459_, C_4675_ p_57460_, C_1706_ p_57461_, C_4675_ p_57462_, boolean arg5)
public BlockState
a(dcw arg0, jd arg1, dtc arg2, cmx arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
m_5707_(C_1596_ p_57446_, C_4675_ p_57447_, C_2064_ p_57448_, C_1141_ arg3)
public void
a(dcw arg0, jd arg1, dco arg2)
wasExploded(Level arg0, BlockPos arg1, Explosion arg2)
method_9586(class_1937 arg0, class_2338 arg1, class_1927 arg2)
onDestroyedByExplosion(World arg0, BlockPos arg1, Explosion arg2)
m_7592_(C_1596_ p_57442_, C_4675_ p_57443_, C_1578_ arg2)
public static void
a(dcw arg0, jd arg1)
explode(Level arg0, BlockPos arg1)
method_10738(class_1937 arg0, class_2338 arg1)
primeTnt(World world, BlockPos pos)
m_57433_(C_1596_ p_57434_, C_4675_ p_57435_)
private static void
a(dcw arg0, jd arg1, btn arg2)
explode(Level arg0, BlockPos arg1, LivingEntity arg2)
method_10737(class_1937 arg0, class_2338 arg1, class_1309 arg2)
primeTnt(World world, BlockPos pos, LivingEntity igniter)
m_57436_(C_1596_ p_57437_, C_4675_ p_57438_, C_524_ p_57439_)
protected ItemInteractionResult
a(cuq arg0, dtc arg1, dcw arg2, jd arg3, cmx arg4, bqq arg5, ewy arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_331413_, C_2064_ p_329038_, C_1596_ p_333168_, C_4675_ p_335932_, C_1141_ p_331663_, C_470_ p_330020_, C_3041_ arg6)
protected void
a(dcw arg0, dtc arg1, ewy arg2, cnp arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
m_5581_(C_1596_ p_57430_, C_2064_ p_57431_, C_3041_ p_57432_, C_1167_ arg3)
public boolean
a(dco arg0)
dropFromExplosion(Explosion arg0)
method_9533(class_1927 arg0)
shouldDropItemsOnExplosion(Explosion arg0)
m_6903_(C_1578_ arg0)
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)