GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

Lapotron crystal NBT Charge tag remains on discharged crystals, preventing use in engraver

fishsicles opened this issue ยท 1 comments

commented

GregTech CEu Version

v2.5.0

Modpack Used

Nomifactory 1.5

Addons Installed

No response

Environment

Singleplayer and Open to LAN

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

Empty lapotron crystals should stack with each other regardless of whether they have been charged previously, and should be recognised as the same item for recipes that need them.

Actual Behavior

Placing a lapotron crystal that has previously been charged into a laser engraver (or Gregicality Multiblocks large engraver) will not trigger a recipe, even if it has been drained of all power. Discharged lapotron crystals also do not stack with freshly crafted crystals.

/nbtedit shows that even after being discharged, the charge NBT tag remains present:

  • Freshly crafted: {id:"gregtech:meta_item_1",Count:1,Damage:742s}
  • Charged and discharged: {id:"gregtech:meta_item_1",Count:1,Damage:742s,tag:{Charge:0L}}

Steps to Reproduce

Craft a lapotron crystal, charge it and then discharge it using machines or battery buffers, and attempt to place it in a laser engraver with a blue lens. The engraver will not start the lapotron crystal chip recipe.

Alternately, craft two lapotron crystals. Charge and discharge one, and they will no longer stack.

Additional Information

No response

commented

In fact this is the case for all batteries