codetaylor / pyrotech-1.12

An early game mod with new primitive devices, combustion machines, smelting mechanics, storage options, tools, torches, advancements, and absolutely zero GUIs -- with exception to the substantially complete, mostly illustrated, and charred guidebook.
https://pyrotech.readthedocs.io/en/latest/
Other
52 stars 20 forks source link

Block coordinate NBT data on broken containers #405

Closed Primitive-Human closed 1 year ago

Primitive-Human commented 1 year ago

Issue Description

I've been meaning to ask why some tile entities like the tanks and the barrel store their block coordinates in their NBT data when broken. What purpose does it serve?

What Happens

  1. Place a tank (or barrel, or any container that saves coordinate data in NBT).
  2. Fill said container with an applicable substance, like a fluid or solid.
  3. Break said container.
  4. Inspect the NBT data using a mod that allows its presentation (like JEI Integration).

What You Expect to Happen

I expect the coordinate data to not save to a broken block, as I don't understand what purpose it serves when I intend to move said broken container.

Script

Crash Log

Affected Versions

codetaylor commented 1 year ago

It's just some default info serialized by the vanilla TE superclass.