net.minecraft.world.level.block

public class TntBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dey
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_()
public void
b(djh arg0, ctp arg1, hx arg2, djh 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)
public void
a(djh arg0, ctp arg1, hx arg2, cwq arg3, hx 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(ctp arg0, hx arg1, djh arg2, cfi 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(ctp arg0, hx arg1, cth 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(ctp arg0, hx 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(ctp arg0, hx arg1, bml 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_)
public InteractionResult
a(djh arg0, ctp arg1, hx arg2, cfi arg3, bka arg4, elp arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_57451_, C_1596_ p_57452_, C_4675_ p_57453_, C_1141_ p_57454_, C_470_ p_57455_, C_3041_ arg5)
public void
a(ctp arg0, djh arg1, elp arg2, cga 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(cth arg0)
dropFromExplosion(Explosion arg0)
method_9533(class_1927 arg0)
shouldDropItemsOnExplosion(Explosion arg0)
m_6903_(C_1578_ arg0)
protected void
a(dji$a<cwq, djh> 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)