Skip to main content

nbt_tags_equal

Function nbt_tags_equal 

Source
pub fn nbt_tags_equal(left: &NbtTag, right: &NbtTag) -> bool
Expand description

Compares NBT values with Vanilla’s Tag.equals semantics.

Compounds are maps rather than ordered entry lists. Floating-point tags canonicalize NaNs while still distinguishing positive and negative zero.