Solved

Started by Mr. Sandiwch on Fri, 04/17/2015 - 12:29
Last seen on 14:35, 23. Apr 2018
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Solved
Thu, 04/23/2015 - 14:39 (edited)

[Custom Code/Guide Request]

Hey, Please choose option 1 or 2, if you know how to create both so please write the answer for both of them.

 

Option 1 : I want to create an armor that when you wear it and press P a basic GUI will open

 

Option 2:  I want to create an armor and an item and when you wear the armor and right click with the item a basic GUI will open.

 

(I prefer option 1 if option 1 is not possible then option 2)

Edited by Mr. Sandiwch on Thu, 04/23/2015 - 14:39
Last seen on 14:35, 23. Apr 2018
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
someone?
Fri, 04/17/2015 - 23:35

someone?

Last seen on 10:48, 8. Aug 2018
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
option 1
Sat, 04/18/2015 - 01:04

option 1
create armor
create key bind
make the key p
either make it a check for item command and choose the chestplate or another part of the armor and add an event then make it an "open basic GUI" event
or
add an event and make it an "open basic GUI" event , then choose the GUI & make happen with "hasPlayerInInventory[item/block]" and choose the chestplate or some part of the armor
option 2
create your armor.
create the item.
add an event to the item "when right clicked on block" or "when right clicked in air"
make it an "open basic GUI" event , then choose the GUI & make happen with "hasPlayerInInventory[item/block]" and choose the chestplate or some part of the armor

hope this helps

Last seen on 14:35, 23. Apr 2018
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:option 1
Sat, 04/18/2015 - 15:11

@#2 Your answer is not good because "hasPlayerInInventory[item/block]" checks the player's inventory not if he wears it and key binds are bugged, pylo said that it will be fixed in 1.8.

Last seen on 10:48, 8. Aug 2018
Joined Dec 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:option 1
Sun, 04/19/2015 - 03:45

@#2.1 my answer IS good the MCreator code is what is not good.

Last seen on 14:35, 23. Apr 2018
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Option 1 - here is a tutorial
Thu, 04/23/2015 - 14:38

@#3 thanks

Last seen on 14:35, 23. Apr 2018
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Option 1 - here is a tutorial
Thu, 04/23/2015 - 21:00

@#3 How do I use modded armor

Last seen on 14:26, 10. May 2015
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
instead of Items.diamond
Fri, 04/24/2015 - 07:29

instead of Items.diamond_chestplate you would add the armor item you created it would be something like mcreator_.body