Integrated Dynamics

Integrated Dynamics

63M Downloads

Equality and Deep Equality operators clarified . Raw equality for Blocks.

valipopescu opened this issue · 1 comments

commented

Issue type:

  • ➕ Feature request

Short description:

Deep equality should not be the default for == and instead this should be the operator for raw equality ignoring all NBT and other information on the variables being compared. The current deep equality should be called something like === for clarity and resemblance to the much more known Javascript language rather than the esoteric Haskell.

This would solve a problem where currently blocks have no raw equality meanwhile there's one for both items and fluids

NBT only equality should accept blocks and fluids too not just items

commented

Thanks for the suggestion!