GT New Horizons

GT New Horizons

867k Downloads

Flowing Liquid Slime summons Blue Slime unexpectedly when it be removed

Ressed opened this issue ยท 0 comments

commented

Your GTNH Discord Username

Ressed#3182

Your Pack Version

2.7.1

Your Server

SP

Java Version

Java 17

Type of Server

Crucible

Your Expectation

https://github.com/GTNewHorizons/TinkersConstruct/blob/master/src/main/java/tconstruct/blocks/slime/SlimeFluid.java#L49
According to the code, blue slime should only spawned in source of liquid slime (metadata = 0).

The Reality

If you remove a flowing liquid slime (by removing the source, e.g.), blue slime can possibly be spawned from flowing liquid slime.

2024-12-27.23-35-11.mp4

The video shows a slime farm using the bug, modified from a slime island, inspired by this video: https://www.youtube.com/watch?v=CNWw2nf5CXc

Your Proposal

We guess its because when a flowing liquid slime is removed (or, replaced by air), world.getBlockMetadata(x, y, z) in updateTick returns the metadata of air, that is 0.
So, maybe add a check like world.getBlock(x, y, z) == this.

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.