Video Discription |
Brush tool:
do the following in chat:
/tag @s add brush
Always Active
Unconditional
Repeat
/execute as @a[tag=brush,hasitem={item=brush,location=slot.weapon.mainhand}] at @s positioned ^^^20 run /structure load brush ~-3~~-3
WARNING! THE NAME OF THE STRUCTURE IS CASE SENSITIVE: Brush ≠ brush
MAKE SURE THE CAPITALISATION IS THE SAME IN THE COMMAND BLOCK AND THE STRUCTURE BLOCK!
This should go without saying but this brush tool uses structure blocks, so you need to you know build and save a structure like how i did in the video if you don't actually build and save the structure the brush tool wont really work because it won't be able to place blocks.
(also slight error with the video version, the command block doesn't check for brush tag fixed here)
Enderman tool:
The enderman tool has 2 pillars of command blocks so theh will be described separately they are built from the bottom up as shown in the video:
enderman tool pillar 1:
Always Active
Unconditional
Repeat
block 1:
/execute as @a[tag=admin] at @s run /tag @e[type=item,name="nether star",r=5] add tp
the following for pillar 1 are all chain instead of repeating
block 2:
/execute as @e[type=item,name="nether star",tag=tp]
at @s positioned ~~-1~ run /replaceitem entity @p[tag=admin] slot.weapon.mainhand 0 nether_star 64
block 3:
/execute as @e[type=item,name="nether star",tag=tp]
at @s positioned ~~-1~ as @p[tag=admin] at @s run /tp ^^^30
block 4:
/kill @e[type=item,name="nether star",tag=tp]
Enderman Tool Pillar 2
Always Active
Unconditional
Repeat
block 1:
/execute as @a[rxm=-90,rx=-80,tag=admin] unless entity @s[hasitem={item=nether_star,location=slot.weapon.mainhand}] run /clear @s nether_star
block 2:
Always Active
Unconditional
chain
/replaceitem entity @a[rxm=-90,rx=-80,tag=admin] slot.weapon.mainhand 0 keep nether_star 64
Stationary basic custom crafting:
just so you know if you plan on doing this at a large scale for like a server please don't code it like this, this version is not designed for using the crafting table (dropper) for more than one recipe. you can make it work with more recipes easily. well easily for me anyways but it wont work the same way.
Built from the bottom up
dropper facing up
with crafting recipe
block 1:
Always Active
Unconditional
Repeat
/execute if blocks ~~-1~~~-1~~~2~ all run /structure load CoolSword ~~3~
block 2:
Always Active
Unconditional
chain
/execute if blocks ~~-2~~~-2~~~1~ all run /fill ~~1~~~1~ dropper ["facing-direction"=1]
dropper facing up
magic eraser:
Always Active
Unconditional
Repeat
block 1:
/execute as @a[tag=admin] at @s run /tag @e[type=item,name="end crystal",r=5] add boom
for block 2+
Always Active
Unconditional
chain
block 2:
/execute as @e[type=item,name="end crystal",tag=boom]
at @s positioned ~~-1~ run /replaceitem entity @p[tag=admin,r=5] slot.weapon.mainhand 0 end_crystal 64
block 3:
/execute as @e[c=2] as @e[c=2] as @e[type=item,name="end crystal",tag=boom]
at @s positioned as @p[tag=admin] at @s run /summon ender_crystal
block 4:
/kill @e[type=item,name="end crystal",tag=boom]
inventory control panel:
basically the same as the magic eraser and the enderman tool so for the sake of brevity ill only include the sea lantern portion.
Always Active
Unconditional
Repeat
block 1:
/execute as @a[tag=admin] at @s run /tag @e[type=item,name="sea lantern",r=5] add tp
the following for pillar 1 are all chain instead of repeating
block 2:
/execute as @e[type=item,name="sea lantern",tag=tp]
at @s positioned ~~-1~ run /replaceitem entity @p[tag=admin] slot.inventory 0 keep sea_lantern 64
block 3:
/execute as @e[type=item,name="sea lantern"tag=tp]
at @s positioned ~~-1~ as @p[tag=admin] at @s run /tp 0 1 0
block 4:
/kill @e[type=item,name="sea lantern",tag=tp]
Inventory control panel giving item to the player when they look up:
replaceitem entity @a[rxm=-90,rx=-80,tag=admin] slot.inventory 0 keep sea_lantern
entity counter:
run the following commands at least once, i honestly don't care how you do it: (they do need to be run in order)
/scoreboard objectives add entitycount dummy Entities
/scoreboard objectives setdisplay sidebar entitycount
Always Active
Unconditional
Repeat
/scoreboard players set Count entitycount 0
Always Active
Unconditional
chain
/execute as @e[run /scoreboard players add Count entitycount 1
No I will not be writing out the big long pillar used to get the entity count healthbar if enough people pester me about it ill make a video where i open each of the command blocks in order, so you can read them but i have to type these out on mobile to make the description and it is exhausting.
thank you so much for watching imma go edit the short descriptions now :') |