net.minecraft.world.level.block

public class TntBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dsy
net.minecraft.world.level.block.TntBlock
net.minecraft.class_2530
net.minecraft.block.TntBlock
net.minecraft.world.level.block.BlockTNT

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TntBlock>
a()
codec()
method_53969()
getCodec()
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv 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)
protected void
a(dxv arg0, dhi arg1, jh arg2, dkm arg3, evf arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
public BlockState
a(dhi arg0, jh arg1, dxv arg2, cpx 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)
public void
a(ash arg0, jh arg1, dha arg2)
wasExploded(ServerLevel arg0, BlockPos arg1, Explosion arg2)
method_9586(class_3218 arg0, class_2338 arg1, class_1927 arg2)
onDestroyedByExplosion(ServerWorld arg0, BlockPos arg1, Explosion arg2)
public static void
a(dhi arg0, jh arg1)
explode(Level arg0, BlockPos arg1)
method_10738(class_1937 arg0, class_2338 arg1)
primeTnt(World world, BlockPos pos)
private static void
a(dhi arg0, jh arg1, bwg 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)
protected InteractionResult
a(cxp arg0, dxv arg1, dhi arg2, jh arg3, cpx arg4, bti arg5, fbu 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)
protected void
a(dhi arg0, dxv arg1, fbu arg2, cqq 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)
public boolean
a(dha arg0)
dropFromExplosion(Explosion arg0)
method_9533(class_1927 arg0)
shouldDropItemsOnExplosion(Explosion arg0)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)