▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Compasses+
Compasses+

Compasses+

Adds a tracking compass and bounty system, which can be used for Manhunts.

171
3

Compasses+

If you want to use this in your video, please credit me and link this page in the description!

This datapack is currently in development! You may encounter bugs. Please report any bugs on my issue tracker.
This pack (currently) adds a compass called the Bounty Compass and works like a Manhunt Compass with loads of extra features. See the Compasses Added section for more details.
More compasses to come in future updates!

IMPORTANT FOR SERVER OWNERS

Make sure to have gamerule doMobLoot set to true. This is critical for detecting when a player kills a bountied mob.
For Bukkit servers, make sure allow-non-player-entities-on-scoreboards is set to true.

Compasses Added

Bounty Compass

This is a compass that tracks mobs and players! This could also be used for more dynamic Minecraft Manhunts.

Obtaining

You can obtain a Bounty Compass by crafting it in a crafting table.
Crafting Recipe
Alternatively, you can get yourself a Bounty Compass by running this command:
/loot give @s loot hunters:item/bounty_compass

Usage

Once you have your new compass, you can punch a mob or player to bind it to them. The compass will point to the entity when held in your main hand. (Note: when not held in your main hand, the needle will spin around aimlessly)
bind mob gif bind player gif

If a target dies (or gets killed) any compasses bound to that target before then will deactivate. So if you bind a compass to a player and that pulls a Luxintrus and dies of fall damage, the compass will deactivate (even if the player respawns).
target_dies

When it comes to tracking players, you can only track players that are ONLINE. If the player has left the game, you're outta luck.
can't track offline players

Cloning

You can clone existing compasses by throwing a bound compass (bounty or not) and an unbound compass onto a crafting table. This will copy all the data from the bound compass onto the unbound one.
Cloning Diagram
cloning gif

Bounties

You can add a bounty/reward to a bound compass by throwing the compass onto a crafting table along with a bundle filled with the reward. Bountied compasses can also be cloned.
applying a bounty to a compass gif

There is also compatability with MiniHUD! If you have shulkerBoxPreview enabled, you to see all contents of a bountied compass.
MiniHUD Compatability demo

Killing the target of the bounty compass will allow you to claim the bounty when holding the compass. If multiple people have matching bounty compasses, only one will be able to claim the reward. Note that to claim the reward, you must:

  • Have the bountied compass in your inventory.
  • Must recieve kill credit for the kill.
    claiming bounty gif

Optional Resource Pack

There is an optional resource pack as well! It gives the bounty compass different textures depending on it's state.
respack demo [Modrinth Page]
[Github Repo]

Notes & Credits

Known Issues

Bounty Compasses can cause ghost items
This is due to the method the compass gets the location data of its target. I don't know a fix personally, but a way to avoid the ghost items is to not have the compass in your main hand when dropping it or moving it around inventories.

Credits

Any libraries, code, etc used in this project

Inspiration

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:CC-BY-NC-ND-4.0
Опубликован:9 месяцев назад
Обновлён:7 месяцев назад
Главная