Minecraft Data Packs / Weapons and Armor

MC Hitmarkers Datapack v1.3 [MC 1.13-1.20.X]

  • check_circle Advancements
  • check_circle Functions
  • 5,787 views, 1 today
  • 415 downloads, 0 today
  • 12
  • 10
  • 6
uBiuui's Avatar uBiuui
Level 35 : Artisan Fish
14
x Minecraft Hitmarkers Datapack! x
Add hitmarkers to Minecraft! Whenever you hit a mob, target block, or player with melee or range, a hitmarker will pop up to show that you hit them successfully! You can customize the hitmarker's color, sound, and when it appears! Singleplayer and Multiplayer compatible!

For Minecraft Java versions: 1.13.x - 1.20.x



How to...:


How to install/update:
1. Download the datapack.
2. Move the datapack to your world's datapack folder.
(/.minecraft/saves/WORLD/datapacks/)
3. Run: /reload

Configure your hitmarker color & sound:
> Run: /trigger mchm_config

(No cheats required!)

Damage types that cause hitmarkers:
- Arrows (Includes: Fire Arrows, Spectral Arrows, and Tipped Arrows)
- Eggs
- Enderpearls
- Firework Rockets (That explode)
- Fishing Rod hook (When reeling in)
- Lingering Potions (Their Area Effect Cloud, if they cause damage)
- Melee
- Snowballs
- Splash Potions (That cause damage)
- Tridents

How to uninstall:
1. Run: /function hitmarkers:uninstall
2. Delete the datapack (quit game/stop server first)
3. Run: /reload



Showcase videos:



Created by uBiuui.
[​YouTube]
CompatibilityMinecraft 1.13
toMinecraft 1.20
Tags

4 Update Logs

v1.3 : by uBiuui 01/29/2024 7:35:43 pmJan 29th

- Added support for newer versions. Fixed "Ranged only" not working in 1.19.4+.
- Added support for the following damage types to cause hitmarkers: Fishing Hooks (when reeling in), Firework Rockets (that explode), Lingering Potions (their Area Effect Clouds, if they cause damage), and Splash Potions (that cause damage). These are all classified under the Ranged attack category.
- Added Rainbow hitmarker option.
- Added Arrow Hit Player sound option.
- Fixed the death hitmarker not resetting when pressing the "Defaults" button.
- Fixed the Skull death hitmarker appearing broken in 1.14.0 when using Minecraft's Programmer Art resource pack.
- Various minor fixes and improvements.
[​Supported versions: 1.13.X - 1.20.X]
LOAD MORE LOGS

Create an account or sign in to comment.

tana_to
01/21/2023 7:55 pm
Level 10 : Journeyman Collective
tana_to's Avatar
hey do i have the possibility to change the place of the hitmarker ? i would like to put it on the crossair link in coll of duty
1
uBiuui
01/28/2023 1:01 pm
Level 35 : Artisan Fish
uBiuui's Avatar
This is the closest I could get it to on the minecraft crosshair while keeping it fixed to where the player is looking.
1
Turncoat
06/12/2021 4:07 am
Level 1 : New Miner
Turncoat's Avatar
hitmarker pops up correctly but "/trigger mchm_config" show me nothing. and other commands blocked after load this datapack(example : "/datapack list" not working after this datapack loaded).

I think something too many happening in tick event(_loops.mcfunction).

tested at JAVA 1.17 release version, new world with only this datapack
1
uBiuui
09/25/2021 11:56 am
Level 35 : Artisan Fish
uBiuui's Avatar
Sorry for the late reply!

The datapack shouldn't be blocking any commands from working, it does block output/feedback from commands from displaying in chat however (to prevent the config from spamming your chat). You can re-enable command feedback by doing: /gamerule sendCommandFeedback trueAlternatively, you can permanently prevent the datapack from disabling command feedback by going into "/data/hitmarkers/functions/setup.mcfunction" and deleting the "gamerule sendCommandFeedback false" line.
I might change it later to not change the sendCommandFeedback gamerule or have a way to configure it...

I couldn't reproduce /trigger mchm_config showing nothing on 1.17 though, was it on a server?

1
DanMizu
05/15/2021 2:28 pm
Level 61 : High Grandmaster Technomancer
DanMizu's Avatar
Heres a cool idea you can try to implement: Make the hitmarker red with a different sound if the hit was a kill.
2
uBiuui
05/16/2021 9:21 pm
Level 35 : Artisan Fish
uBiuui's Avatar
Added, thanks for the suggestion!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome