Method: CraftBook::NBT::LongArrayTag#stringify

Defined in:
lib/craftbook/nbt/long_array_tag.rb

#stringifyString

Returns the NBT tag as an SNBT string.

Returns:

  • (String)

    the NBT tag as an SNBT string.



32
33
34
# File 'lib/craftbook/nbt/long_array_tag.rb', line 32

def stringify
  "#{snbt_prefix}[L;#{to_a.join(',')}]"
end