Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Command Block Help

Discussion in 'Minecraft' started by Ritherlas, Nov 29, 2015.

Thread Status:
Not open for further replies.
  1. Ritherlas

    Ritherlas A banished Elf seeking a new life.

    Messages:
    75
    Likes Received:
    72
    Trophy Points:
    49
    Guild:
    So im making this map for me and my friends and in one area there is a thieves guild. Problem is I cant get the bloody thieves to show their name and sell stuff to me. What I need them to do is be a brown robed villager named Thief who will buy gold of me for 10 emeralds plz can someone help me (im doing this with command blocks)
     

    Attached Files:

  2. awemanrank100

    awemanrank100 custom title

    Messages:
    2,326
    Likes Received:
    1,924
    Trophy Points:
    173
    Minecraft:
    CustomName:Thief
    Thief was spelled wrong
    CustomNameVisible:1
    You spelled "Visible" wrong.

    Though the thing is, last time I checked, CustomNameVisible doesn't do anything; it was disabled. You'll probably need to summon an ArmorStand with a custom name in order for it to be always active.
     
  3. Ritherlas

    Ritherlas A banished Elf seeking a new life.

    Messages:
    75
    Likes Received:
    72
    Trophy Points:
    49
    Guild:
    Its not the naming part thats wrong I can do that fine its the actual selling part im struggling with
     
  4. Mr Banks

    Mr Banks Secretly a purple blob..

    Messages:
    42
    Likes Received:
    26
    Trophy Points:
    18
    Ok try this so its a villager named thief with invisible name and it got 60% of dropping emerald called: THE AWESOME EMERALD. Lore: BANK IS BAE. Also it will attack, has 30 health and runs at a speed 0.1
    /summon Villager ~ ~1 ~ {CustomName:"Thief",Profession:0,Equipment:[{},{},{},{id:emerald_ore,Count:1,tag:{display:{Name:"THE AWESOME EMERALD",Lore:[BANK IS BAE]}}},{}],DropChances:[0.085F,0.085F,0.085F,0.6F,0.085F],Attributes:[{Name:generic.maxHealth,Base:20},{Name:generic.movementSpeed,Base:0.1},{Name:generic.attackDamage,Base:5}],HealF:30}
    ________________________________
    See you put max uses on 1 change it to higher number
     
  5. awemanrank100

    awemanrank100 custom title

    Messages:
    2,326
    Likes Received:
    1,924
    Trophy Points:
    173
    Minecraft:
    Then what did you mean by "show their name"? .-.

    Anyways, you have maxUses set to 1, which means you can only use that trade once.
     
  6. The One-eyed Guy

    The One-eyed Guy that guy VIP+

    Messages:
    3,776
    Likes Received:
    2,705
    Trophy Points:
    134
    Guild:
    Minecraft:
    As Awe and Banks said, maxUses has to be higher than 1.
     
  7. Ritherlas

    Ritherlas A banished Elf seeking a new life.

    Messages:
    75
    Likes Received:
    72
    Trophy Points:
    49
    Guild:
    Ive set it to higher than one but it still wont work
     
  8. ExtremeGamer78

    ExtremeGamer78 Just a normal Dragon boy.. VIP+

    Messages:
    223
    Likes Received:
    168
    Trophy Points:
    67
    Minecraft:
    I'm pretty good at command blocks. But when it comes to villagers, I'm clueless...
     
  9. stlast

    stlast Wybel on a Raft CHAMPION

    Messages:
    442
    Likes Received:
    1,237
    Trophy Points:
    89
    Minecraft:
    summon Villager ~ ~ ~ {Profession:0,CustomName:"Thief",CustomNameVisible:1b,Career:1,CareerLevel:42,CanPickUpLoot:0b,PersistenceRequired:1b,Invulnerable:1b,Offers:{Recipes:[{buy:{id:"gold_ingot",Count:8b,Damage:0s},sell:{id:"emerald",Count:10b,Damage:0s},maxUses:9999,rewardExp:false}]}}

    This villager right here is named 'Theif,' has brown robes, and buys eight gold ingots in return for ten emeralds. Making the nametag visible from further away would take a lot more work, though.
    This command I have here also makes the villager invincible unless the player is in creative mode (Invulnerable:1b)
     
    SageBuilds and Energyxxer like this.
  10. Ritherlas

    Ritherlas A banished Elf seeking a new life.

    Messages:
    75
    Likes Received:
    72
    Trophy Points:
    49
    Guild:
    Thank you so much
     
Thread Status:
Not open for further replies.