LyFecha's Avatar
Member
Level 1 New Miner
0

Forum Posts

1 - 4 of 4

    LyFecha
    10/23/2017 12:00 pm
    Level 1 : New Miner
    LyFecha's Avatar
    Is there a block somewhere above the beacon ? If there is, it will not work.
    1
    LyFecha
    10/23/2017 11:37 am
    Level 1 : New Miner
    history
    LyFecha's Avatar
    It's actually very difficult. I have a solution, but it might not work all the time :
    First, you have to create a scoreboard objective for every possible item that players in your minigame might throw, like so (type them in chat) :
    /scoreboard objectives add isThrown_Iron dummy
    /scoreboard objectives add isThrown_Gold dummy
    /scoreboard objectives add isThrown_Diamond dummy
    etc...
    This will create the objectives for each item throwable in your minigame
    Next, you want for each objective a Repeat command block on "Always Active" and "Unconditional" which have :
    /scoreboard players add @e[type=item] isThrown_Iron 0 {Item:{id:"minecraft:iron_ingot"}}
    /scoreboard players add @e[type=item] isThrown_Gold 0 {Item:{id:"minecraft:gold_ingot"}}
    /scoreboard players add @e[type=item] isThrown_Diamond 0 {Item:{id:"minecraft:diamond"}}
    etc...
    This will, for example, initialise "isThrown_Iron" for every "Iron ingot" to 0, which will track if we already say it was thrown or not..
    Note that every item has his unique id, you need to search on Minecraft Wiki to find them, or you can press F3+H in Minecraft and you will see the item ids when you hover the corresponding items. Then, replace the item id between the quotes.
    Then, each of those Repeat command block needs to point into a Chain, Conditional, Always Active which contains :
    /execute @e[type=item,score_isThrown_Iron=0] ~ ~ ~ say @p drops Iron
    /execute @e[type=item,score_isThrown_Gold=0] ~ ~ ~ say @p drops Gold
    /execute @e[type=item,score_isThrown_Diamond=0] ~ ~ ~ say @p drops Diamond
    etc...
    This will say, for example, "Bob drops Iron" when Bob drops Iron.
    Note that we can't have access to the player who throw an object and how many he drops, so we suppose the nearest player is the one who threw the item and that he drop only one item (which will work in 99% of the cases).
    Finally, each of those Chain command block needs to point into an another Chain, Conditional, Always Active which contains :
    /execute @e[type=item,score_isThrown_Iron=0] ~ ~ ~ scoreboard players set @e isThrown_Iron 1
    /execute @e[type=item,score_isThrown_Gold=0] ~ ~ ~ scoreboard players set @e isThrown_Gold 1
    /execute @e[type=item,score_isThrown_Diamond=0] ~ ~ ~ scoreboard players set @e isThrown_Diamond 1
    etc...
    This will assign 1 to every object dropped, to prevent repeating "Bob drops Iron" over and over.
    And voià, but it may tell the wrong person in rare cases and we can't tell how much someone drops if he, for example, drops an entire stack all at once.
    I recommand you testing it in a new world as I didn't test it myself. If you have any problem about this, send me a MP ;).
    Sorry if I made grammar mistakes.
    2
    LyFecha
    10/23/2017 10:45 am
    Level 1 : New Miner
    LyFecha's Avatar
    Here is a link to download the older versions. There is three of them in the .rar, the launcher you're seeking might be the "very old launcher" :
    www.mediafire.com/file/1a6qx01ybcst07g/minecraft+old+launchers.rar
    1
    LyFecha
    10/23/2017 10:34 am
    Level 1 : New Miner
    history
    LyFecha's Avatar
    You can do this (in minecraft 1.12 or earlier) :
    /execute @e[type=giant] ~ ~ ~ summon minecraft:zombie ~ ~ ~
    This command will summon your zombies in every place where there is a giant. If you want to spawn zombies only for some giants, named the giants (without spaces, like "Bob" and not "Bob Smith") and do :
    /execute @e[type=giant,name=Bob] ~ ~ ~ summon minecraft:zombie ~ ~ ~
    Of course, replace "Bob" by the name of your giant, and voilà.
    You can also use scoreboards to track which giant will summon zombie, but it is as you wish ;).
    2

1 - 4 of 4

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome