Slimefun-Addon-Community/Galactifun

Attempting to place water in a cold environment can overwrite blocks

char3210 opened this issue · 2 comments

Description (Required)

When in a cold planet (such as Titan or Earth's orbit), placing water will turn the block into ice. This happens even if you try to waterlog a block, such as a slab or fence In this case, the block facing the blockface clicked will be turned to ice, even if it is not air. This causes block type erasure which is likely not intended.

Steps to reproduce the Issue (Required)

  1. go to a cold planet
  2. place down a slab on the ground
  3. place a (valuable) block above the slab
  4. try to waterlog the slab by clicking the top surface

or:

  1. go to a cold planet
  2. place down a non-full block (such as a slimefun machine)
  3. place a water in the space that the non-full block occupies

examples: https://imgur.com/a/3JjtOy3

Expected behavior (Required)

the ice does not overwrite the existing block

Server Log / Error Report

N/A

Environment (Required)

  • Minecraft Version: 1.18.1
  • Slimefun Version: DEV 994
  • Plugin Version: DEV 49

funnily enough, this also allows you to change blocks with blockstorage into ice, such as energy regulators or generators, since the block is not broken. then you can melt the ice by putting a light source next to it, then place a sponge near it, and now you have invisible machines! after this, certain interactions allow you to replace the block, such as extending a piston head into it or growing a tree inside of it which allows you to "retexture" your machines into other block types.

done here

updated with more accurate description; waterlogging is not necessary