net.minecraft.world.level.block

public class TntBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dsb
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(dwy arg0, dgj arg1, ji arg2, dwy 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(dwy arg0, dgj arg1, ji arg2, djn arg3, eui 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(dgj arg0, ji arg1, dwy arg2, coy 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(ard arg0, ji arg1, dgb 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(dgj arg0, ji arg1)
explode(Level arg0, BlockPos arg1)
method_10738(class_1937 arg0, class_2338 arg1)
primeTnt(World world, BlockPos pos)
private static void
a(dgj arg0, ji arg1, bvi 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(cwq arg0, dwy arg1, dgj arg2, ji arg3, coy arg4, bsk arg5, fax 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(dgj arg0, dwy arg1, fax arg2, cpr 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(dgb arg0)
dropFromExplosion(Explosion arg0)
method_9533(class_1927 arg0)
shouldDropItemsOnExplosion(Explosion arg0)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)