Method: CraftBook::NBT::FloatTag#stringify

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

#stringifyString

Returns the NBT tag as an SNBT string.

Returns:

  • (String)

    the NBT tag as an SNBT string.



30
31
32
# File 'lib/craftbook/nbt/float_tag.rb', line 30

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