• 0

    posted a message on Summoning mobs with no loot and others with loot
    Quote from seanbrecke»
    So depending on what you want to put on the entity replace <item> with minecraft:item (whatever you want it to be)

    So what you would do, is execute at a random entity, and give it a dummy score of 1.

    /scoreboard objectives add loot dummy loot

    Then you would randomly set a entity (a zombie say) to that scoreboard value

    /scoreboard players set @r[type=Zombie] loot 1

    Then you give it the loot

    /replaceitem entity @r[type=Zombie,score_loot_min=1] slot.armor.chest minecraft:<item> (say you wanted zombies to randomly drop gold, you would use minecraft:gold_ingot)

    Then you have to make it always drop that with the drop chances tag. In that tag, the '1.0F' is the chest slot

    /entitydata @e[type=Zombie,score_loot_min=1] {DropChances:[0.0F,1.0F,0.0F,0.0F]}

    Then you would just set it back to 0.

    /scoreboard players set @a[type=Zombie] loot 0

    This would give a random zombie gold ingot, and make sure it drops it.

    You would have to make this type of schematic for each entity, so for skeletons and stuff, and make more for each item you want it to randomly drop.

    You'd want to do this periodically, maybe every minute or so, and you'd just have it on repeaters so do the first command, then go into a repeater into the next command, and then the next one, since when you power a command block with a repeater, you can get a signal out of it from the other side.

    I hoped this helped, and if you need more help, you can ask!

    i know that would give a zombie a custom drop but thats not what i meant D: so lets say i wanted every mob in the game to drop their items except an iron golem. how would i do that without have iron ingots or rose items being killed.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Summoning mobs with no loot and others with loot
    So I'm trying to make 1.8 fun without mods by using command block mechanisms similar to mods so my younger brother will actually want to play with me (I'm extremely lonely) and i a wanted to know is it possible to make certain entities have loot and others have no loot. (Note: not custom loot.) It would prefer if its not a gamerule, and a summon, but if not its fine. If yes please explain how, and if it needs 1.8 or the 1.8.1. I hope someone knows how ^_^.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on [MC 1.7] (Discontinued)Minecraft Command Generator 0.2!
    nice, but could you make a mac version or at least change the font to a mac font? i don't like the font you used honestly, if not able to change its fine.
    Posted in: Minecraft Tools
  • 0

    posted a message on Mini Game Land / Tons of Mini Games / Multiplayer Designed / Singleplayer Friendly / Minecraft 1.7.4 / 10000+ Downloads
    ehm... whats the version?
    the .zip download is broken...
    Posted in: Maps
  • 0

    posted a message on Command Block Challenge
    guys, i know how it should be done, but i don't know how to know how to test if the player has an item with meta data in a specific slot.

    halp a brotha owt? por favor?
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    Quote from earthman888»
    you could give a mob an abnormal amount of health with the /summon command.

    ah, i never new that was possible, also, you could have a health bar by giving them colored names, based on their health, using a scoreboard.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    guys, i know how it should be done, but i don't know how to know how to test if the player has an item with meta data in a specific slot.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    another great video.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    Quote from Sarkasian»
    Yep. There's actually a Sethbling video that might help the OP. this may help you.

    ah... my code sucks. instead, you could just make it test for what items u have! bam! so if you have a cow spawn egg in your inv, it will summon a cow on contacts, im gonna work on a concept.

    EDIT: wait... but we need some code to delete the entity... so... we need to test if the pocketmob in near the snowball, then it gets teleported 300 blocks down, and have a comparator coming out giving you a spawn egg maybe?

    EDIT: again... i have a problem... if they have 2 spawn eggs in their inventory, which one will spawn? maybe the closest one to your 1st slot? and how will we test if the snowball is in ground?
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    Quote from Uncle_Gus»
    I have no idea what that code is supposed to do, but I'm pretty sure the ! is supposed to go in front. type=!Snowball

    Let me walk you through it.

    /execute @e[type=Snowball] ~ ~ ~ /execute @e[type=!Snowball,r=2] ~ ~ ~ /tp @e[name=namegoeshere] ~ ~-300 ~
    |_____________________| |__________________________| |_______________________|
    ---------------1--------------------------------------2-----------------------------------------3
    1.this is gonna execute any snowball in the world.
    It executes any snowball because this is a prototype.

    2. This makes anything in a 2 block radius of the snowball
    that isn't a snowball executed.

    3.Aaand i just found the problem in my code.
    This just executes any old thing that has the
    name. for example.
    S=Snowball
    M=Pig named Bob
    D=Normal Pig
    The snowball makes the normal pig, that could be any entity actually, teleports poor old bob.

    SD M

    The Pig named Bob gets teleported even though its not being "touched"

    The Code should actually be this, but for some reason it doesn't work for me. i might have had a slight accident, because randomly when I type a  appears inside of when im typing, and that character doesn't show up in minecraft.

    /execute @e[type=Snowball] ~ ~ ~ /execute @e[type=!Snowball,r=2] ~ ~ ~ /tp @e[name=namegoeshere] ~ ~-300 ~ normal code
    /execute @e[type=Snowball] ~ ~ ~ /execute @e[type=!Snowball,r=2,name=namegoeshere] ~ ~ ~ /tp @e[r=0.0001(this should work better incase a mob is very close.)] ~ ~-300 ~ updated code
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    Quote from Sarkasian»

    What I mean by that is that when the snowball item becomes a snowball entity, it becomes a whole different thing in the game. Meaning that it loses all its nbt data like its name. To make it easier to understand, if you right clicked a pickaxe and it turned into a stick, would you expect it to keep its enchantments? Basically what I was trying to say was that using a name specifier from the inventory item wouldn't work as it would lose the name as soon as right clicked. and yes Uncle_Gus, the "!" goes before the specifier. Also, watch this dragnoz video on how to add mobs to teams. It uses villagers riding zombies to make all the zombies attack other zombies that aren't on the same team.

    Ohhh... so like when sethbling did that. I knew what that is but i just didn't know what it's called.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    Quote from Uncle_Gus»
    I have no idea what that code is supposed to do, but I'm pretty sure the ! is supposed to go in front. type=!Snowball

    Aaaand your right. ._. wow, I didn't think that would mater.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    Quote from Sarkasian»
    I'm not sure, but doesn't the snowball becoming an entity wipe an nbt data it had before meaning that a custom name wouldn't work?

    what is an entity wipe? is it just removing entities? like for example doing this:

    /execute @e[type=Snowball] ~ ~ ~ /execute @e[type=Snowball!,r=2] ~ ~ ~ /tp @e[name=namegoeshere] ~ ~-300 ~

    it executes a snowball, which executes something in a 2 block radius that isnt a snowball, then teleports them downward.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    im trying to make the snowball kill everything in a range of 1 block, but it kills itself, and when i add !Snowball, it still doesn't work :wacko: im confusled.
    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Command Block Challenge
    wouldn't wolves attack all mobs except creepers? I mean, when you hit a pig doesn't it attack the pig? i might be wrong though. ill test it, you can contact me at [email protected]
    Posted in: Redstone Discussion and Mechanisms
  • To post a comment, please .