Method: CraftBook::NBT::IntTag#stringify

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

#stringifyString

Returns the NBT tag as an SNBT string.

Returns:

  • (String)

    the NBT tag as an SNBT string.



44
45
46
# File 'lib/craftbook/nbt/int_tag.rb', line 44

def stringify
  "#{snbt_prefix}#{@value}"
end