Skip to content

TNT destroying chest behind custom blocs #5228

@IceeeLG

Description

@IceeeLG

Terms

  • I'm using the very latest version of ItemsAdder and its dependencies.
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I've looked for already existing issues on the Issue Tracker and haven't found any.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I searched the #itemsadder-forum channel on Discord for similar issues.
  • I tested that this issue persists on a bare-minimum Server as described in #4187.

Discord Username (optional)

iceouuu

What happened?

https://www.youtube.com/watch?v=UbxMHbjCHR0

To summarize, we got new obsidian with blast resistance but the problem is that TNT explosion passes through the bloc so the chest is getting destroyed while there's a bloc protecting the chest.

Any ideas ? Here an example of the config of a new obsidian bloc : https://media.discordapp.net/attachments/533408828922920960/1475939690350641388/image.png?ex=69a1f273&is=69a0a0f3&hm=e9d92f7b65c9180488f9658fca2591f4c424a6cde1ba977cbff8afa4e5662f16&=&format=webp&quality=lossless&width=834&height=542

Steps to reproduce the issue

  1. Place a wall of custom obsidian as REAL & material -> obsidian
  2. Place a chest on a side of the wall
  3. Place and ignite a TNT on the other side of the wall
  4. The wall is not affected cause it's obsidian, but the chest behind it is destroyed (kinda problematic in faction server)

Server version

1.21.8 to 1.20.4

ItemsAdder Version

ItemsAdder version 4.0.15

ProtocolLib Version

ProtocolLib version 5.4.0

Full Server Log

https://mclo.gs/1abioLH

Error (optional)

Problematic items yml configuration file (optional)

obsidienne_abyssal:
    display_name: "<b><gradient:#2fe7f5:#00bfed>Obsidienne abyssale"
    lore:
      - ""
      - "<color:#dbdbdb>Bloc craftable avec de l'<color:#4b3b8c>obsidienne <color:#dbdbdb>et"
      - "<color:#dbdbdb>du <gradient:#D04EFC:#D181E7>mithril<color:#dbdbdb>, possédant <color:#ff0011>8 de durabilité"
      - "<color:#dbdbdb>face aux explosions !"
      - ""
      - "<white>家 <color:#8c90ff>Bloc de protection"
      - ""
      - "<white>汇"
    resource:
      generate: true
      material: OBSIDIAN
      textures:
        - factions/obsidienne_abyssal.png
    specific_properties:
      block:
        placed_model:
          type: REAL
          break_particles: ITEM
        cancel_drop: false
        hardness: 100
        blast_resistance: 400000
        no_explosion: false

Other files, you can drag and drop them here to upload. (optional)

Here a simple & quick version of the bug : https://youtu.be/s5GnyAyR55A

Screenshots/Videos (you can drag and drop files or paste links)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    Status

    Seen

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions