Bug Closed · Resolved

CustomBlocks can be easily broken with wind charge and other sources of explosion

#6614 opened by Unknown 11 months ago

Unknownreported this bug

Environment: Paper 1.21.8 MythicMobs Latest up to (12/09/2025) MythicCrucible Latest up to (12/09/2025)

Actually it's need to setup the breaking instrument but it's so easy to break it with any light explosition, even wind charge.

Code of block:

CrateBox:
  Id: BARREL
  Display: '<color:#ffffff>Crate Box'
  Generation: block/decorations/crate_box
  Model: 40
  ItemUpdater:
    Version: 1
  Recipes:
    1:
      Type: SHAPED
      Amount: 1
      Ingredients:
        - OAK_PLANKS | OAK_PLANKS | OAK_PLANKS
        - OAK_PLANKS | BARREL | OAK_PLANKS
        - OAK_PLANKS | OAK_PLANKS | OAK_PLANKS
  Type: BLOCK
  CustomBlock:
    Type: MUSHROOM_BLOCK
    Id: 40
    Texture: block/decorations/crate_box
    Hardness: 1
    Tools:
      - wooden_axe 1
    Drops:
      - CrateBox 1
  CustomBlockSkills:
    - sound{s=block.oak_log.place} @self ~onBlockPlace
    - sound{s=block.oak_log.break} @self ~onBlockBreak

Here is screenshot of testing the issue: [Legacy attachment omitted]

Unknowncommented

To give a custom block explosion resistance you need to use CustomBlock.BlastResistance

Sign in to join the discussion.