TransWikia.com

How do I make a specific scoreboard for mob kills in bedrock edition

Arqade Asked by IloveTacoz22139 on December 21, 2020

I am trying to make a mob arena. The arena is already built obviously. I’m just trying to figure out how to make a working scoreboard for different mobs. I saw a few people mention changing the loot table for specific mobs but I have no idea how to do that. I also looked up some videos but those were relatively useless as they based it off the mobs loot such as rotten flesh, and we all know that zombies don’t always drop rotten flesh.

2 Answers

You can just create a scoreboard that detects, for example, zombies killed: /scoreboard objectives add zombie_kills minecraft.killed:minecraft.zombie. I hope I typed everything correctly. But

Answered by creepern1111 on December 21, 2020

Besides for those janky mob drop systems, you really cannot. I do have an idea though.

Command

As long as it doesn’t matter who gets credit for it (i.e. You killed it vs. your friend killed it), you can simply test for a certain count (i.e. /testfor @e[type=zombie,c=]) and then have another c=4, c=3, etc.. Then once the highest one stops returning true, you know a zombie has died. Make sure the highest one is then disabled, and the next highest becomes the tester. This is also pretty janky but should work better than mob drops.

Selector

  • @e = All Entities (i.e. Minecarts, Armor Stands, Players, Zombies)
  • [ ... ] = Additional Selectors to narrow down the search
  • type=zombie = Look for an entity of type “zombie”
  • c=5 = Look for 5 zombies. If five or more are found this will return true.

Answered by Penguin on December 21, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP