Slimefun

Slimefun

3M Downloads

Wither-proof glass is not blast resistant.

SecretarySami opened this issue · 7 comments

commented

❗ Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

📍 Description

When spawning a wither in a box made of wither-proof glass the wither explosion still destroys the surrounding blocks outside of the box.

📑 Reproduction Steps

  1. make a box using wither proof glass with the dimensions 4 wide , 5 blocks in length and 5 blocks tall, leaving the center empty for you to spawn the wither in.
  2. spawn wither inside of the box
  3. wait for the wither's health bar to generate and for it to explode.

💡 Expected Behavior

My thinking was that if the glass is wither-proof it's supposed to prevent the wither from being able to destroy the blocks on the outside of the box.

📷 Screenshots / Videos

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

📜 Server Log

No response

📂 /error-reports/ folder

No response

💻 Server Software

Purpur

🎮 Minecraft Version

1.16.x

⭐ Slimefun version

https://i.imgur.com/IAW5Nsk.png
https://i.imgur.com/6ur2Hda.png

🧭 Other plugins

No response

commented

Unfortunately this is a Minecraft mechanics.

commented

But isnt the wither-proof glass supposed to be , wither-proof ?

commented

But isnt the wither-proof glass supposed to be , wither-proof ?

the glass it self is wither proof.

commented

Ah so its not meant to protect the outside blocks from being damaged, im assuming only the wither proof obsidian does that?

commented

im assuming only the wither proof obsidian does that?

it doesnt work with witherproof obsidian either.

commented

To make it easier to understand: an explosion destroys a number of blocks in the radius. Before each block is destroyed in the world, we check if the block is witherproof and prevent the destruction of that specific block. To also prevent the destruction of any blocks "shielded" by (hidden behind) witherproof blocks would require nonnegligible math and a performance hit.

commented

Okay thank you for the explanation, sorry I was struggling to understand a bit.