Method: CraftBook::NBT::LongArrayTag#initialize

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

#initialize(name, *values) ⇒ LongArrayTag

Creates a new instance of the CraftBook::NBT::LongArrayTag class.

Parameters:

  • name (String, NilClass)

    The name of the tag, or nil when unnamed.

  • values (Array<Numeric>)

    Zero or more values to add during initialization.



14
15
16
# File 'lib/craftbook/nbt/long_array_tag.rb', line 14

def initialize(name, *values)
  super(TYPE_LONG_ARRAY, name, *values)
end