Wiki 9Minecraft Wiki 9Minecraft

Simple Damage Indicator Data Pack — Commands

Java EditionData PackFAQ 6Commands 20Related mods 60

Every chat command this mod registers.

CommandWhat it does
/function sdi:internals/events/on_player_hurt_by_entityHandles damage indicator events when a player takes damage from an entity
/function sdi:internals/events/on_player_hurt_entityHandles damage indicator events when a player deals damage to an entity
/function sdi:internals/gid/apply_gidApplies a group ID to an entity internally
/function sdi:internals/gid/decrement_capacityDecreases the internal group capacity
/function sdi:internals/gid/get_current_groupRetrieves the current group identifier internally
/function sdi:internals/gid/increment_capacityIncreases the internal group capacity
/function sdi:internals/gid/on_ammount_changedUpdates internal group tracking when the amount changes
/function sdi:internals/hp_decimals/decrement_scaleDecreases the decimal precision scale for displayed health values
/function sdi:internals/hp_decimals/get_scaleGets the current decimal precision scale for health indicators
/function sdi:internals/hp_decimals/increment_scaleIncreases the decimal precision scale for displayed health values
/function sdi:internals/hp_decimals/on_ammount_changedUpdates decimal settings when the health precision amount changes
/function sdi:internals/indicators/random_spawnSpawns a damage indicator at a randomized position offset
/function sdi:internals/indicators/spawnSpawns a new damage indicator
/function sdi:internals/indicators/spawn/initInitializes setup for spawning a new damage indicator
/function sdi:internals/indicators/updateUpdates active damage indicators
/function sdi:internals/indicators/update/phisicsUpdates movement and physics for active damage indicators
/function sdi:internals/on_loadRuns setup tasks when the data pack is loaded
/function sdi:internals/on_load/first_loadRuns initial setup when the data pack loads for the first time
/function sdi:internals/on_load/place_dedicated_signPlaces a dedicated data pack sign during load
/function sdi:internals/on_tickExecutes data pack logic every game tick
/function sdi:internals/on_tick/update_entity_by_groupsUpdates entity damage indicators grouped by their ID each tick
/function sdi:internals/processProcesses internal health and indicator calculations
/function sdi:internals/process/apply_new_hp_versionUpdates the tracked health value for an entity
/function sdi:internals/process/get_hp_by_scaleCalculates scaled health values for indicator display
/function sdi:internals/process/get_hp_by_scale/1Calculates health values scaled by a factor of one
/function sdi:internals/process/get_hp_by_scale/10Calculates health values scaled by a factor of ten
/function sdi:internals/process/get_hp_by_scale/100Calculates health values scaled by a factor of one hundred
/function sdi:internals/process/get_hp_by_scale/1000Calculates health values scaled by a factor of one thousand
/function sdi:internals/process/on_hp_changedProcesses indicator display updates when entity health changes
/function sdi:internals/process/on_hp_changed/get_colorDetermines the text color for the health change indicator
/function sdi:internals/process/on_hp_changed/get_color/negativeDetermines the indicator color for health loss
/function sdi:internals/process/on_hp_changed/get_color/positiveDetermines the indicator color for health gain
/function sdi:internals/process/on_hp_changed/get_dual_colorDetermines dual color formatting for the health indicator
/function sdi:internals/process/on_hp_changed/get_numberCalculates the health change amount number to display
/function sdi:internals/process/on_hp_changed/get_symDetermines the indicator symbol for health change
/function sdi:internals/process0Processes internal health data calculations
/function sdi:internals/settings/create_settings_scoresCreates scoreboard objectives used for pack settings
/function sdi:internals/settings/displayDisplays the data pack settings interface
/function sdi:internals/settings/display/show_dialogShows the settings dialogue to the player
/function sdi:internals/settings/display/show_failed_to_openDisplays an error message when settings fail to open
/function sdi:internals/settings/display/show_failed_to_open/resetResets the failed to open settings display state
/function sdi:internals/settings/reset_settings_scoresResets internal settings scoreboard scores to default
/function sdi:internals/settings/set_settingsApplies configured settings internally
/function sdi:internals/show_versionDisplays the installed version of the data pack
/function sdi:internals/uninstall/remove_dedicated_signRemoves the dedicated data pack sign during uninstallation
/function sdi:kill_indicatorsRemoves all active damage indicator entities immediately
/function sdi:reset_settingsResets all data pack settings to default values
/function sdi:settingsOpens the data pack settings configuration menu
/function sdi:uninstallUninstalls the data pack and cleans up all data
/function sdi:uninstall_oldRemoves data from previous versions of the data pack