The Meaning of Life, the Universe, and Everything.
Location:
Victoria
Join Date:
3/24/2015
Posts:
76
Location:
Australia
Minecraft:
Coreycool99
Member Details
What i want:
The player has to kill 35 monsters to get 35 Fragments, and when they do, they can go to the cannon and press the button
If the player doesn't have 35 Fragments, the button doesn't do anything
If the player does have 35 Fragments the button will activate a redstone signal.
The Main Question:
How do i make it so the when the player has 35 items, they can press the button and a redstone signal activates somewhere and the 35 items are removed?
Picture Of Button:
In the comments, show some pictures so i know how to build the command blocks too
first, do "/scoreboard objectives add kills totalKillCount Fragments" in the chat.
then, do "/scoreboard objectives setdisplay list kills" (replace "list" with "sidebar" if you want it there, thats the only way... with items its kinda bad because you can only check if someone has Exaxt 35 of them in one slot, not more...)
after that, create a repeating, unconditional command-block with: "/testforblock x y z (of the button) minecraft:wooden_button powered=true"
chain a conditional - chain command-block with that one with: "/scoreboard players remove @p[score_kills_min=35] kills 35"
and a conditional chain com. block on that one with "/setblock x y z minecraft:wooden_button NUMBER" replace x y z with well... the xyz of the button, and RED with a number until it faces the right direction.
also, a conditional chain com. block after that with something like "/setblock x y z redstone_block" for that redstone output you wanted.... (also, first place a regular command block under the x y z of the redstone_block with: "/setblock ~ ~1 ~ air" to make it reusable
The First 2 Command Blocks Work, but the 2 above don't activate?
Also, is there a way that the player gets Fragments only if they kill a specific monster & with a name?
eg: Zombie named Protector
(if you copy/paste this 1:1 in you map, it does not work. In the save-file for the map in .minecraft\saves\Tech test world RayCasting\data you can find the folder "loot_tables".
Just copy/paste that folder in your maps save file in "data" (beside "scoreboard.dat" and that stuff ) and you are good to go...)
btw go to the dirt tower to find what you need
ignore everything else....
I think the scoreboard kill count is what i rather want, but can i make it so Fragments can be given from specific & named mobs?
EDIT: i also found the problem with the command blocks, i didn't have the chain blocks to "Always Active" which made it work.
EDIT2: Also, if there is a way to make it so specific (@a[team=TEAMNAME]) players can only get Fragments?
which could be used instead of Specific & Named Mobs.
What i want:
The player has to kill 35 monsters to get 35 Fragments, and when they do, they can go to the cannon and press the button
If the player doesn't have 35 Fragments, the button doesn't do anything
If the player does have 35 Fragments the button will activate a redstone signal.
The Main Question:
How do i make it so the when the player has 35 items, they can press the button and a redstone signal activates somewhere and the 35 items are removed?
Picture Of Button:
In the comments, show some pictures so i know how to build the command blocks too
Check Out My Following:
Youtube
Twitter
DeviantArt
The First 2 Command Blocks Work, but the 2 above don't activate?
Also, is there a way that the player gets Fragments only if they kill a specific monster & with a name?
eg: Zombie named Protector
Check Out My Following:
Youtube
Twitter
DeviantArt
1. 1.11.2
2. I want the (named) zombies to drop 1 Fragment at a time.
EDIT:
This Is For The Library (Boss Battle)
http://www.minecraftforum.net/forums/mapping-and-modding/maps/2761627-1-10-2-coreys-park-2-0-multiplayer-coming-soon-no
Check Out My Following:
Youtube
Twitter
DeviantArt
I think the scoreboard kill count is what i rather want, but can i make it so Fragments can be given from specific & named mobs?
EDIT: i also found the problem with the command blocks, i didn't have the chain blocks to "Always Active" which made it work.
EDIT2: Also, if there is a way to make it so specific (@a[team=TEAMNAME]) players can only get Fragments?
which could be used instead of Specific & Named Mobs.
Check Out My Following:
Youtube
Twitter
DeviantArt