• 2

    posted a message on What is wrong with my command?

    Ops xD, It should not matter. UUID's have a very low chance of repeating ;)

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Flying Boots

    I think that the part that resets the sneak detection (/execute @a[score_sneaking_min=1] ~ ~ ~ /scoreboard players reset @p[r=0] sneaking) should go at the end of the machine... Otherwise the parts that do the flying magic will get the "resetted" output.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Custom Heads howto?

    The easy way is just to google "minecraft head generators" that do all the hard work for you.

    But if you wan't to know how it works...



    /give @p skull 1 3 {display:{Name:"Unlit Candle"},SkullOwner:{Id:"95e5e32c-f380-4764-a69d-26e8d812e39a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2FjYzYxNjY2YWRmMWU0Y2Q3Y2Y1N2FmM2UxZTE3YmExNzMxMGIyZmNkOGUzZWQyN2NmODhiN2QwZDg4NTE4In19fQ=="}]}}}


    This part is the name of the item inside your inventory.

    Id:"..." is the UUID of the owner of the head. The UUID stands for Universally Unique Identifier, and this allows mojang to change your name without losing all your stuff in your servers.

    The weird stuff inside value is just the location of the skin inside the mojang's servers, encoded in Base64. It looks like this when decoded:

    {"textures":{"SKIN":{"url":"http://textures.minecraft.net/texture/7acc61666adf1e4cd7cf57af3e1e17ba17310b2fcd8e3ed27cf88b7d0d88518"}}}

    You can find many Base64 encoders/decoders online.

    Also, this means that even is the head owner's changes its skin, your copy of the head will stay the same.

    Yet, If you want to make your own custom head, I suggest to follow what NovaProBGP said.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Encountered Multiple Top Tags Error (Only one command block creation)

    Here it is...

    /summon Zombie ~-1 ~ ~ {CustomName:"Lasaqna",CustomNameVisible:1,PersistenceRequired:1,Equipment:[id:"skull",Count:1,damage:3,tag:{SkullOwner:Lasaqna}],DropChances:[2.0F,0.0F,0.0F0.0F,0.0F],Attributes:[{Name:generic.movementSpeed,Base:0},{Name:generic.attackDamage,Base:0},{Name:generic.followRange,Base:0},{Name:generic.knockbackResistance,Base:99999}],Invulnerable:1,NoAI:1,Silent:1}


    What was wrong:


    /summon Zombie ~-1 ~ ~ {CustomName:"Lasaqna",CustomNameVisible:1,PersistenceRequired:1,{Equipment:[skull 1 3 {SkullOwner:Lasaqna}]}},Properties:{textures:[{Value:"PlayerTexture}]},DropChances:[2.0F,0.0F,0.0F0.0F,0.0F],Attributes:[{Name:generic.movementSpeed,Base:o},{Name:generic.attack.Damage,Base:0},{Name:generic.follow.Range,Base:0},{Name:generic.knockbackResistance,Base:99999}],Invulnerable:1,NoAI:1,Silent:1


    Equipment tag doesn't need those compound tags.

    Item format in NBT is not the same as you would do it on the command <give>. The proper structure can be found in the minecraft wiki.

    Those are not even supposed to be there, they should be with the {SkullOwner:Lasagna",Properties:{...}}, and also it was redundant.

    Never use "o" (the vowel), use 0 (cero, the number).

    Always close the root tag!

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on What is wrong with my command?

    You're missing a bracket, this is the working command:


    /summon Villager ~1 ~ ~ {Profession:2,CustomName:" ",CustomNameVisible:0,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,Silent:1,Invulnerable:1,Attributes:[{Name:"generic.knockbackResistance",Base:"1f"},{Name:"generic.movementSpeed",Base:"0f"}],Offers:{Recipes:[{buy:{id:"paper",Count:64},maxUses:9999999,sell:{id:"diamond_sword",Count:1,tag:{AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:10,Operation:0,UUIDLeast:230560,UUIDMost:49815}]}},rewardExp:false}]}}

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Testfor item in the armor stands' hand slots
    /testfor @e[type=ArmorStand,name=Detector1] {HandItems:[{id:dye}]}

    That is not working because you need to use the full id

    /testfor @e[type=ArmorStand,name=Detector1] {HandItems:[{id:"minecraft:dye"}]}

    What AboookhTheMaster said won't work either, if you're going to detect nbt, you can't shorten stuff:

    /scoreboard players tag @e[type=ArmorStand,name=Detector1] add Activated {HandItems:[{id:"minecraft:dye",Damage:2s,Count:1b,tag:{display:{Name:"Poison Dust"}}}]}
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command block question (dungeon map)

    You can't use tilde notation in selectors. You should do what KJumboMelonK said, or instead of using radius, place it at the lower north-west corner and use dx,dy,dz. (Using his example, it would be /testfor @a[dx=11,dy=Height,dz=11] )

    Posted in: Redstone Discussion and Mechanisms
  • 1

    posted a message on Need help with sign, tellraw, and JSON [SOLVED]

    Found the problem!, the tellraw command is too long...

    The first hi runs well, but due to this bug (MC-30955) you can't run commands longer than 100 chars on tellraw. The command in the hi would be this:


    /tellraw @p {"text":"hi","color":"red","clickEvent":{"action":"run_command","value":"/tellraw @p {\"text\":\"hi\"}"}}


    The characters in red will be cut off due to the limit.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Need help with sign, tellraw, and JSON [SOLVED]

    I'd recommend using some "program" to do it, like minecraft.tools or minecraftcommand.science...

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on World Border warning formula?

    Well... I've made this:

    Supposing that you're always at the world center (singleplayer only)(can be achieved with /execute PLAYER ~ ~ ~ /worldborder center ~ ~),

    the "tintness" can be calculated with this formula: Warning Distance = (-WorldBorderSize / 2*TintPercent) -2


    If that's too complex, just stick this into an excel/google sheets/open office excel equivalent cell (Or download the sheet): =(-C3)/((2*C4)-2) where C3 is the worldborder size and C4 is the percent of "tint" you need, from 0.0 to 1.0.


    Sorry if you don't understand. I'm a bit messy explaining stuff.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Display scores of teams/players on team?

    There is this bug that doesn't allow signs to show scores (MC-101457)

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Command Not Working?

    I have the command

    execute @e[type=Item] ~ ~ ~ effect @e[r=1] minecraft:instant_damage 1 10



    In a repeating command block thats always active, and it doesn't give any output saying it didn't work, and it doesn't effect anything with instant damage.



    [EDIT] Heres more information: all commands are in repeating command blocks, all are activated. i am summoning stone buttons at a snowball at 20tps, and i have /entitydata @e {NoGravity:1} activated at 20tps as well. NoGravity seemed to be causing the problem with the command. Now when i throw snowballs, stone buttons are summoned at it and killed at it, so theres about 4-5 stone buttons around the snowball at all times. When i throw a snowball at a villager, nothing happens, so i change the radius from 1 to 2, still nothing, then 5, nothing, then 100, STILL nothing. Then i changed it back to 1, and i spammed snowballs at them and they died. I dont know why but i want it to work where when the items get close they kill it.


    You could just try with a bit larger radius (r=2)...
    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Summoning a mob at a player location?
    Quote from naor2013»
    I guess it's 1.8... So you can do a dummy scoreboard objective: "/scoreboard objectives add objective dummy" (Doesn't have to be called "objective")
    And then in a clock (Instead of your /testfor command) you can do "/scoreboard players set @a objective 1 {sleeping:1b}"
    Then, a comparator which will lead to 2 command:
    1. "/execute @a[score_objective_min=1] ~ ~ ~ /summon Zombie"
    2. "/scoreboard players set @a objective 0"

    I hope I helped... Good luck! :D

    The same thing, but replace {sleeping:1b} with {ActiveEffects:[{Id:16b}]}:
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command string too long?

    Try destroying and replacing the command block (sometimes the command doesn't update?)

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Could you Rotate a Player's View Without Ejecting them from a Minecart?

    Nope. Already tested and... still ejecting...

    Posted in: Commands, Command Blocks and Functions
  • To post a comment, please or register a new account.