Immersive Intelligence

Immersive Intelligence

2M Downloads

[BUG] Penetration damage stored by position, not block

Mushguys opened this issue ยท 1 comments

commented

Describe the bug
Penetration damage is stored by position, not by block.
If you break a damaged block, then replace it, the new block will be damaged.
If you move a damaged block with a piston, the block will stop being damaged (but the piston head will be damaged).

To Reproduce
Steps to reproduce the behavior:

  1. Damage a block (I used the machinegun)
  2. Break the block.
  3. Replace the block.
  4. The block is damaged.

Expected behavior
If you break a block, the penetration damage should be removed from that position.
If you move a block, the penetration damage should move with it.
Or, the penetration damage could be stored on the block somehow.

Screenshots or GIFs
2020-07-11_13 43 58
2020-07-11_13 44 03
2020-07-11_13 44 05
2020-07-11_13 52 38
2020-07-11_13 52 45

Environment

  • OS: Linux Debian 10
  • Minecraft version: 1.12.2
  • Forge version: 14.23.5.2847
  • Immersive Intelligence version: 0.1.1
  • Immersive Engineering version: 0.12-89
commented

Now penetration should react to block changes and on client side keeps only 16 of them, for rendering performance.