Minecraft Maps / Redstone Device

100 Subscribers Special | Commands+ | Command Block Creation

  • 2,227 views, 1 today
  • 3
  • 3
  • 5
Code202's Avatar Code202
Level 71 : Legendary Engineer
302
Hello! Today I've made something a little bit advanced, but will improve the way you code commands forever!

Click here for the command!

Tutorial:
There are many different event sequences that you can use to customise your items! But first lets learn
how to create an event sequence!

Main Structure:
/give @p itemname 1 0 {triggerName:{event:eventName}}
This structure is given to all items and event sequences.
For example, we can create rocket boots by simply typing the following:
/give @p iron_boots 1 0 {playerEquipped{event:AllowFlight},Particle:flame}
The particle string is added at the end to make the item give off flame particles when worn.

Trigger Names:
onRightClick - will trigger an event when the player right clicks the item.
playerEquipped - will trigger an event when the player is wearing the item.
playerHolding - will trigger an event when the player is holding the item.

String Names:
Particle - will run particles when the player is holding or wearing the item.

Event Names:
AllowFlight - will allow flight.
killAll - will kill all entities apart from players.
killNearest - will kill the nearest entity.
listPlayers - will list all players currently online.
findEntityData - will send you a list of all entities currently in your world.
JumpHeight - will give the player jump boost.
Speed - will give the player speed.
Resistance - will give the player resistance.

onRightClick:
Usage: {onRightClick:{event:eventName}}
List of all possible events:
AllowFlight
killAll
killNearest
listPlayers
findEntityData

playerEquipped:
Usage: {playerEquipped:{event:eventName}}
List of all possible events:
AllowFlight
JumpHeight
Speed
Resistance

playerHolding:
Usage: {playerHolding:{event:eventName}}
List of all possible events:
AllowFlight
JumpHeight
Speed
Resistance

Particle:
Usage: {Particle:particleName}
List of all possible particle effects:
flame
happyVillager
angryVillager
drip
magic

Examples:
Rocket Boots - /give @p iron_boots 1 0 {display:{Name:"Rocket Boots"},playerEquipped:{event:AllowFlight},Particle:flame}
Jetpack - /give @p iron_chestplate 1 0 {display:{Name:"Jetpack"},playerEquipped:{event:AllowFlight},Particle:flame}
Wand of Death - /give @p blaze_rod 1 0 {display:{Name:"Wand of Death"},onRightClick:{event:killNearest}}
List Players - /give @p compass 1 0 {display:{Name:"List Players"},onRightClick:{event:listPlayers}}
Find Entity Data - /give @p book 1 0 {display:{Name:"Find Entity Data"},onRightClick:{event:findEntityDatat}}
Clear Lag - /give @p barrier 1 0 {display:{Name:"Clear Lag"},onRightClick:{event:killAll}}
Gun - /give @p iron_horse_armor 1 0 {display:{Name:"Gun"},onRightClick:{event:killNearest}}

Credits:
By Code202

Notes:
For 1.11.2
Progress100% complete
Tags

1 Update Logs

Used the Wrong Link : by Code202 06/05/2017 8:31:13 amJun 5th, 2017

Used the wrong link, so sorry!

Create an account or sign in to comment.

CelebornArt
04/25/2017 3:58 pm
Level 46 : Master Mage
CelebornArt's Avatar
sry the link doesnt work anyhow...
1
Code202
04/26/2017 2:51 am
Level 71 : Legendary Engineer
Code202's Avatar
The link definitely works.
1
FreedEnder
06/05/2017 5:03 am
Level 1 : New Miner
FreedEnder's Avatar
no the link doesn't work.
this is what i get:
gyazo.com/8c5bf4ac992e9d895c11619d6192b77f
1
Code202
06/05/2017 8:30 am
Level 71 : Legendary Engineer
Code202's Avatar
I have just realised that I have used the wrong file...
1
Herobrine3847293
04/25/2017 11:13 am
Level 2 : Apprentice Network
Herobrine3847293's Avatar
woah nice
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome