Thread: How to equip items with no equip option

Results 1 to 3 of 3
  1. #1 How to equip items with no equip option 
    Registered Member
    Join Date
    Dec 2014
    Posts
    33
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Solomon items like Pactbreaker can appear in your inventory, but there is no option to wield them. I want to know a simple method of wielding them by a command. I don't particularly care if it's an "override" or not. Thanks.

    What I know: The Item/Model ID's + It has something to do with Appearance.java.
    Reply With Quote  
     

  2. #2  
    Extreme Donator

    Skrew's Avatar
    Join Date
    Jul 2011
    Posts
    879
    Thanks given
    161
    Thanks received
    117
    Rep Power
    124
    Code:
    player.getEquipment().getItems().set(Equipment.SLOT_TYPE HERE, new Item(ID HERE));
    And this to refresh;
    Code:
    player.getEquipment().refresh();
    player.getAppearence().generateAppearenceData();
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2014
    Posts
    33
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    Thanks!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. how to add bank all inventory/equipment rep++
    By shlomi84 in forum Requests
    Replies: 7
    Last Post: 01-10-2014, 01:16 AM
  2. Dementhium 639 how to make items donor equip
    By Hiken jr in forum Requests
    Replies: 5
    Last Post: 07-29-2013, 03:58 PM
  3. [PI] How to change price with items
    By GasMask in forum Help
    Replies: 2
    Last Post: 02-01-2011, 04:00 PM
  4. [z508] Hmm - equipping items with commands?
    By ShadyStyl3 in forum Help
    Replies: 3
    Last Post: 04-09-2010, 06:21 PM
  5. 508 how to add item with your npc dialogue
    By noi172 in forum Tutorials
    Replies: 8
    Last Post: 03-01-2009, 05:21 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •