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

XDonPlugins

A functional mod created for Minecraft resource packs. More interesting features will continue to be released in the future. For a more detailed introduction to the mod, you can search for this mod on Bilibili to watch tutorial videos.

62
0

XDonPlugins

A functional mod for Minecraft resource creation

Version Notes

  • Version 1.21.10: Stopped at v2.0.1, no further updates
  • Version 1.21.11: Current active development version (v2.0.1+)
  • Future Plans: Will be ported to 26.1 or a new stable mod version
  • Significance: 1.21.11 is Minecraft's final obfuscated version

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:

  • Supports any valid Minecraft command
  • Executes commands as the player
  • Combines with multiple components
  • Ideal for map creation and custom game mechanics

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:

  • Hotbar.HealthBar.FoodBar.ArmorBar.Experience - Hotbar, Health Bar, Hunger Bar, Armor Bar, Experience Bar combination
  • Hotbar - Hotbar items only
  • Title.Subtitle - Title and subtitle combination
  • SelectedItemName - Selected item name
  • VehicleHealth - Vehicle health
  • PotionEffects - Potion effects
  • ActionBar - Action bar
  • Crosshair - Crosshair
  • DebugInfo - Debug information (F3)
  • Chat - Chat
  • PlayerList - Player list

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:

  • targets - Specifies players to kick (player name, target selector, or UUID)
  • reason - Optional, reason for kicking (uses default message if unspecified)

Permission Comparison:

  • Original kick command: Permission Level 3 (OP only)
  • xdp:kick command: Permission level 1 (usable in command blocks and packets)

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:

  • Default message: XD_ON was killed
  • Custom message: XD_ON met an unfortunate demise

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:

  • Default message: XD_ON made progress [Obtained wood]
  • Custom message: XD_ON completed achievement [Obtained wood]

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

  • Minecraft 1.21.11
  • Fabric Loader 0.18.1+
  • Fabric API
  • Java 21

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

Future Plans

Upcoming Changes

  • Minecraft 26.1: First unobfuscated version support
  • Mapping Migration: Planned transition to Mojang Mappings
  • Faster Updates: Unobfuscated releases will enable quicker updates

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)

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

Minecraft: Java Edition

1.21.x

Платформы

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

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

Ссылки

Детали

Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная