HomeJavaModsXDonPlugins
XDonPlugins
ModsJava

XDonPlugins

by XDon_ · on Modrinth

A functional mod created for Minecraft resource packs. More interesting features will continue to be released in the future. For a more detailed…

⬇ Download on Modrinth
XDonPlugins — screenshot 1

XDonPlugins

A functional mod for Minecraft resource creation

Version Notes


Features

Item Interaction Components

Adds various interaction triggers to items, creating interactive props

Right-Click Command Component

Component Name:

xdp:rightclick_function

Usage:

/give @s paper[xdp:rightclick_function=“command”]

Examples:

# Right-click to obtain a diamond
/give @s paper[xdp:rightclick_function=“/give @s diamond”]

# Right-click to execute a function
/give @s paper[xdp:rightclick_function=“/function namespace:test”]

# Right-click to teleport
/give @s compass[xdp:rightclick_function=“/tp @s 0 100 0”]

Left-Click Command Component

Component Name:

xdp:leftclick_function

Usage:

/give @s sword[xdp:leftclick_function=“command”]

Example:

# Play sound effect on left-click attack
/give @s iron_sword[xdp:leftclick_function=“/playsound entity.lightning_bolt.thunder player @s”]

# Apply effect on left-click
/give @s stick[xdp:leftclick_function=“/effect give @s strength 10 1”]

Drop Execution Component

Component Name:

xdp:drop_function

Usage:

/give @s item[xdp:drop_function=“command”]

Example:

# Explodes on drop
/give @s tnt[xdp:drop_function=“/summon creeper ~ ~ ~ {Fuse:0}”]

# Sends message on drop
/give @s paper[xdp:drop_function=“/say Someone dropped an important item!”]

Pickup Execution Component

Component Name:

xdp:pickup_function

Usage:

/give @s item[xdp:pickup_function=“command”]

Example:

# Healing on pickup
/give @s apple[xdp:pickup_function=“/effect give @s instant_health 1 1”]

# Teleport on Pickup
/give @s ender_pearl[xdp:pickup_function=“/tp @s 0 100 0”]

Features:

Screen & Interface Management

Control display states of various interface elements via client-side toggles

Wiki Details Game Effects

Command Confirmation Popup Switch

Configuration:

/xdp:screen CommandConfirmationScreen <true/false>

Check Current Status:

/xdp:screen CommandConfirmationScreen

Use Case: Create clickable command text:

/tellraw @a [{“text”:“[Test]”,“color”:“green”,“bold”:true,“click_event”:{action:run_command,command:“/function namespace:test”},“hover_event”:{action:‘show_text’,value:{text:“Click”}}}]

When set to false, clicking the text will execute the command directly without a confirmation popup.

HUD Element Display Control

Controllable HUD Elements:

Configuration command:

/xdp:screen HudDisplay <element name> <targets> <true/false>

Status check:

/xdp:screen HudDisplay <element name>

Common Examples:

# Hide entire bottom HUD
/xdp:screen HudDisplay Hotbar.HealthBar.FoodBar.ArmorBar.Experience <targets> false

# Hide hotbar items only
/xdp:screen HudDisplay Hotbar <targets> false

# Hide crosshair
/xdp:screen HudDisplay Crosshair <targets> false

# Hide chat
/xdp:screen HudDisplay Chat <targets> false

Permission Requirement: Requires OP permission (Permission Level 2)

Enhanced Kick Commands

Provides lower-permission kick commands usable in command blocks and packets

Command Format:

/xdp:kick <targets> [<reason>]

Parameter Description:

Permission Comparison:

Examples:

/xdp:kick Steve
/xdp:kick Steve for violating server rules
/xdp:kick @a[tag=banned] for being banned

Custom Death Messages

Completely replaces vanilla death messages, supporting rich text messages in JSON format

Command Format:

/xdp:config deathmessage set <message>
/xdp:config deathmessage reset

Supported Formats:

  1. Plain text format (enclosed in quotes):

    /xdp:config deathmessage set “Met an unfortunate end”
    
  2. JSON format (supports rich text):

    /xdp:config deathmessage set {“text”:“Died horribly”,“color”:‘red’,“bold”:true}
    

Effect Comparison:

Example:

/xdp:config deathmessage set “tragically perished”
/xdp:config deathmessage set {“text”:“utterly annihilated”,“color”:‘red’,“bold”:true}
/xdp:config deathmessage reset

Custom Achievement Messages

Customize achievement notification text to replace the default “Progress made” message

Command Format:

/xdp:config advancementmessages set <message>
/xdp:config advancementmessages reset
/xdp:config advancementmessages list

Supported Formats:

  1. Plain text format (enclosed in quotes):

    /xdp:config advancementmessages set “Completed the achievement”
    
  2. JSON format (supports rich text):

    /xdp:config advancementmessages set {“text”:“New achievement obtained”,“color”:‘gold’,“bold”:true}
    

Effect Comparison:

Example:

/xdp:config advancementmessages set “Reached milestone”
/xdp:config advancementmessages set {“text”:“Unlocked new achievement”,“color”:‘yellow’,“italic”:true}
/xdp:config advancementmessages list
/xdp:config advancementmessages reset

Installation Requirements

Note: 1.21.11 is the last obfuscated version; the upcoming 26.1 will be the first non-obfuscated release.

Future Plans

Upcoming Changes

Feature Development

This mod will continue developing various utility features, adding more enhancements for Minecraft resource creation and gameplay experience

Author

XDon_

Translated with DeepL.com (free version)

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more