Skip to content

BulletHandler

pixelrider2000 edited this page Sep 15, 2021 · 3 revisions
  • getBulletOwner(String uuid)

    Explanation: Returns the owner of a bullet entity

    • uuid : UUID of the bullet / entity that might be a bullet
  • organizeAllAmmo(String playerName)

    Explanation: It will go through the given players inventory and combine many used magazines into less full magazines

    • playerName : name of the player whos ammo shall be organized
  • organizeAmmo(String playerName, int itemID)

    Explanation: It will go through the given players inventory and combine many used magazines with a given item id into less full magazines

    • playerName : name of the player whos ammo shall be organized
    • itemID : ID of the ammo
Clone this wiki locally