Translation notice
This page was translated with machine translation and may contain inaccuracies. If you can help improve it, please open an issue or submit a pull request.
data pack practice
TIP
From here on, we will comprehensively apply the theoretical content of the first two chapters. In the section below, the tutorials we list will be more oriented towards actual writing situations. Some introduce a development technique based on examples, some explain problems encountered in practice, and some directly teach you step-by-step to create a small work. I believe you can learn more in this section.
Custom item/block
See: Display entity and visual effects practice
general teaching
- Minecraft vanilla mod introductory tutorial - item design
1.18 - Minecraft vanilla mod getting started tutorial - block design
1.18 - Minecraft vanilla mod introductory tutorial - Machine design
1.18
Example teaching
- Tutorial: Java Edition Custom Items - Minecraft Wiki
- [MCJE] No mod required, pure vanilla five-minute custom item | data pack concise tutorial #3
1.14~1.20.4 - This guest, your Deepseek flavor copper grill fried rice is ready [Reproduction Plan·Extra Chapter]
- My world explosive bow data pack random video
1.17 - How to make an Acho (Hook Lock)
1.21.4 - [Tutorial Collection] How to make a gun in vanillaMC
1.19 - [Minecraft]data pack demo/data pack simulation moditem pipeline
- Simple box menu
Skills and Experience
item cooling
Key detection
Right click detection
- Commonly used right-click detection
1.14+;1.21 - Better right-click detection: Halving method
- [Reproduction Plan] Teach you how to do right-click skills in 6 minutes!
1.21.2+ - [Minecraftcommand Tutorial] Right-click detection (Carrot fishing rod method)
1.14+
synthesis
- Analysis of the principle of imitation vanilla workbench
1.16 - Tutorial: How to combine two items after throwing them together
player operation
player displacement control
- [Tutorial] vanilla/motioncommand? Teach you how to use pure vanilla command to modify player momentum
- MotionPac: Set the Motion data pack for the player
- Fast Motion
Ray tracing
- Minecraft-Ray-Collision-Detector(
WRNMDMRCD): collision box detection data pack1.14+ - A non-recursive ray tracing simulation
- Gaze detection calculation problem
Chat bar and dialog
- Basic introduction and tutorial:
- Advanced applications:
player closes container
entity operation
world entity
entity loading
entity displacement control
- Minecraftentity Sports Research and Application
- Knock stack monster
It allows you to deal the same amount of knockback to any entity in the ride stack. This data pack takes into account the "Knockback" and "Impact" enchantments and respects the "Knockback Resistance" property.
This design incorporates new features with "enchantment" definitions, so it may be more efficient/accurate.
entity hatred control
- crowd control
It allows you to control whether mobs will become hostile when their mob is attacked by giving them an item with a single custom enchantment. A mob holding a sword with a custom enchantment will only become hostile when directly attacked, and will not join other hostile mobs around it. Works with bees, wolves, and zombie piglins.
- [Angry Maker](/datapack-index/en/teen/【1.15】愤怒制造者%20Anger%20Maker%201.1%20_%20看铁傀儡互捶%20-%20Minecraft(我的世界)Chinese forum%20-%20Powered%20by%20Discuz!.html){target="_blank"}
1.15
Demonstrate entity and visual effects practice
- Decoration model support library:
- Front-end framework for Minecraft—Floating UI
- other:
- Display entity displayed for a specific player
1.21+ - Display entity work sharing platform
- Some ingenious ideas based on displaying entities
- Text Animation Resource Library
- [Water] Use display entities and materials to create pixel effects
- Farewell to delayed tailing: Use linear prediction to implement low-latency following of Display entity
- Display entity displayed for a specific player
world generation practice
Data operations and global variable acquisition
random number
- loot table random number
1.14+ - A reliable method to generate non-repeating random numbers - Xiaodou8593
Bit operations
Real time acquisition
- Realized anciently - Shameful Bell
1.13 - High-precision time acquisition
- Use head/player file information to semi-automatically obtain Unix timestamps
Data structure and algorithm practice
- The use of queues in data pack
- How to determine the NBT data type of a given address
- Patrick’s stream processing front-end
- Development experience sharing: entity tree and object-oriented
- Command Storage Advanced: Use stack management function context
Comprehensive examples
- MOT UAV Example Tutorial
- [Creation Sharing] How do I restore Bai E’s skills in Minecraft?
- TheSkyBlessingdata pack analysis:
other
Multi-person adaptation
MC neural network
MC compiler/interpreter
- Use data pack to make a compiler or interpreter: Take the C language subset C-Minus as an example
- Implementation and performance optimization of Brainduck interpreter in Minecraft environment