Repository: MinecraftForge/MinecraftForge (language: java)

Issue:
[1.21.0] TntBlock explode method wrongly deprecated
**Minecraft Version:** 1.21.0

**Forge Version:** 51.0.8

**Description of issue:**

Explode method in TntBlock class is marked with Deprecated attribute:

```
    @Deprecated //Forge: Prefer using IForgeBlock#catchFire
    public static void explode(Level pLevel, BlockPos pPos) {
        explode(pLevel, pPos, null);
    }

```

However, catchFire method on IForgeBlock does not exist.



Discussion / hints:
The correct function is onCaughtFire, not sure when it changed, but thats the correct one now.
@LexManos  Isn't that callback when the block has already caught fire?

I am trying to ignite TntBlock to explode - not to react once it is already burning.
@LexManos  Nvm, I checked onCaughtFire implementation in TntBlock class, it calls explode internally so I guess it will work.

Still, issue with the comment on the attribute. :)

Thanks!

Fix patch:
diff --git a/patches/minecraft/net/minecraft/world/level/block/TntBlock.java.patch b/patches/minecraft/net/minecraft/world/level/block/TntBlock.java.patch
index 695e350a2e8..407ebf6fdeb 100644
--- a/patches/minecraft/net/minecraft/world/level/block/TntBlock.java.patch
+++ b/patches/minecraft/net/minecraft/world/level/block/TntBlock.java.patch
@@ -31,12 +31,12 @@
          p_368198_.addFreshEntity(primedtnt);
      }
  
-+    @Deprecated //Forge: Prefer using IForgeBlock#catchFire
++    @Deprecated //Forge: Prefer using IForgeBlock#onCaughtFire
      public static void explode(Level p_57434_, BlockPos p_57435_) {
          explode(p_57434_, p_57435_, null);
      }
  
-+    @Deprecated //Forge: Prefer using IForgeBlock#catchFire
++    @Deprecated //Forge: Prefer using IForgeBlock#onCaughtFire
      private static void explode(Level p_57437_, BlockPos p_57438_, @Nullable LivingEntity p_57439_) {
          if (!p_57437_.isClientSide) {
              PrimedTnt primedtnt = new PrimedTnt(


Test patch: