TomerGamerTV

Command help 1.19

Feb 11th, 2023
1,847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.59 KB | Help | 0 0
  1.  
  2. Clock
  3. Bottom: /fill ~20 ~1 ~20 ~ ~1 ~ stone 0 replace redstone_block
  4. Top: /fill ~20 ~-1 ~20 ~ ~-1 ~ redstone_block 0 replace stone
  5.  
  6. Scoreboard
  7. /scoreboard objectives add torchdown dummy
  8.  
  9. Item
  10. /give @a minecraft:torch 10 0 {HideFlags:1,display:{Name:You Light Up My Life,Lore:[Drop to use]},ench:[{id:34,lvl:1}]}
  11.  
  12. Detect dropped item:
  13. /scoreboard players add @e[type=Item] torchdown 1 {Item:{tag:{HideFlags:1,display:{Name:You Light Up My Life,Lore:[Drop to use]},ench:[{id:34,lvl:1}]}}}
  14.  
  15. Execute Torch Spawner
  16. /execute @e[score_torchdown_min=30] ~ ~ ~ /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:FallingSand,SpawnData:{Tile:torch,Block:torch,Time:1},SpawnCount:100,SpawnRange:200,RequiredPlayerRange:600,Delay:0,MinSpawnDelay:1000000,MaxSpawnDelay:1000000,MaxNearbyEntities:100}
  17.  
  18. Kill spawner
  19. /execute @e[score_torchdown_min=120] ~ ~ ~ setblock ~ ~1 ~ ai Play Particle /execute @e[score_torchdown_min=1] ~ ~ ~ /particle flame ~ ~0.5 ~ 0 0 0 0.01 1 force
  20.  
  21. Kill Torch
  22. /kill @e[score_torchdown_min=120]
  23.  
  24. Kill grass, snow and torch
  25. /execute @e[type=FallingSand] ~ ~ ~ /fill ~1 ~-3 ~1 ~-1 ~1 ~-1 air 0 replace minecraft:tallgrass /execute @e[type=FallingSand] ~ ~ ~ /fill ~1 ~-3 ~1 ~-1 ~1 ~-1 air 0 replace minecraft:snow_layer /execute @e[type=FallingSand] ~ ~ ~ /fill ~1 ~-3 ~1 ~-1 ~1 ~-1 air 0 replace minecraft:torch
  26.  
  27. JUST SPAWNER CODE:
  28. /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:FallingSand,SpawnData:{Tile:torch,Block:torch,Time:1},SpawnCount:100,SpawnRange:200,RequiredPlayerRange:600,Delay:0,MinSpawnDelay:1000000,MaxSpawnDelay:1000000,MaxNearbyEntities:100}
Advertisement
Add Comment
Please, Sign In to add comment