▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Brittle Bedrock
Brittle Bedrock

Brittle Bedrock

Weaken bedrock with dense TNT explosions. Adds Dense TNT which weakens bedrock when placed against it.

359
3

Brittle Bedrock

Weaken bedrock with dense TNT explosions.

Content

  • Craft Dense TNT with 9 normal TNT.
    Crafting Recipe: 9 TNT in Crafting Table = 1 Dense TNT
  • Place Dense TNT on bedrock to weaken it.

Technical Concept

  • The advancement is triggered when a TNT item is placed on a bedrock block, but only if the TNT item has the custom data component added by the crafting recipe.
  • Then, the advancement triggers a raycast from the player's head to determine the position of the newly placed TNT block.
  • The TNT is replaced with primed TNT with a 0-tick fuse (instant explosion), and all neighboring bedrock blocks are replaced with obsidian.
  • The raycast extends up to 5 blocks (normal placement range) in 0.1 block increments, for a maximum of 50 steps.
  • There can be instances where the raycast does not find the TNT block. For example, this can happen when the cursor is at the very edge of the Bedrock block, and the 0.1-block steps are not fine-grained enough.
  • When custom TNT is placed (not against bedrock), broken, and picked up again, it reverts to normal TNT, losing the custom data component.

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:CC0-1.0
Опубликован:8 месяцев назад
Обновлён:7 месяцев назад
Главная