Skip to content
Gregor Steiner edited this page May 6, 2014 · 1 revision

Shared

AddByte(Number index, [ Number default ])

  • Return value: nil
  • Adds a byte to the datawatcher that will be networked to all players

AddFloat(Number index, [ Number default ])

  • Return value: nil
  • Adds a float to the datawatcher that will be networked to all players

AddInt(Number index, [ Number default ])

  • Return value: nil
  • Adds an integer to the datawatcher that will be networked to all players

AddItemStack(Number index, ItemStack default)

  • Return value: nil
  • Adds an ItemStack to the datawatcher that will be networked to all players

AddShort(Number index, [ Number default ])

  • Return value: nil
  • Adds a short to the datawatcher that will be networked to all players

AddString(Number index, [ String default ])

  • Return value: nil
  • Adds a string to the datawatcher that will be networked to all players

GetByte()

  • Return value: Number
  • Returns a byte that is networked to all players

GetFloat()

  • Return value: Number
  • Returns a float that is networked to all players

GetInt()

  • Return value: Number
  • Returns an integer that is networked to all players

GetItemStack()

  • Return value: ItemStack
  • Returns an ItemStack that is networked to all players

GetShort()

  • Return value: Number
  • Returns a short that is networked to all players

GetString()

  • Return value: String
  • Returns a string that is networked to all players

SetByte(Number index, Number value)

  • Return value: nil
  • Updates a byte that will be networked to all players

SetFloat(Number index, Number value)

  • Return value: nil
  • Updates an float that will be networked to all players

SetInt(Number index, Number value)

  • Return value: nil
  • Updates an integer that will be networked to all players

SetItemStack(Number index, ItemStack value)

  • Return value: nil
  • Updates an ItemStack that will be networked to all players

SetShort(Number index, Number value)

  • Return value: nil
  • Updates a short that will be networked to all players

SetString(Number index, String value)

  • Return value: nil
  • Updates a string that will be networked to all players