Skip to content

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.

Cover article Featured

Lannazha_nano

The “ultimate answer” to vanilla furniture? ——New generation furniture frame "Pine Cone"

Just provide the model file, and a complete data pack and resource pack can be automatically generated to obtain furniture decoration comparable to modules? "Pinecone" provides an almost perfect solution to this fantasy. With various new features of MC high version, "Pinecone" has achieved very good performance in many fields such as functionality, compatibility and performance. More importantly, the automatic build script allows command novices to use "Pinecone" without any obstacles, making great breakthroughs in ease of use.


Insights

Ethan Sang Sang Sang Sang

Data pack quick start

This article is an introductory tutorial on data pack for novices. It is designed to help readers with zero foundation or a little bit of coding foundation quickly get started with data pack. Through practical case explanations, readers can gradually understand and become proficient in writing data pack. It is suitable for players who want to get into data pack production but are confused by Mojang's irresponsible file management to get started quickly.

Dreamy_Blaze

How to merge data packs of multiple versions?

The version interval specification supported by 1.20.2 brings not only the light-speed expansion of the data pack version number, but also the sub-package coverage function. Through it, data pack authors can put files adapted to different versions into sub-packages and specify coverage according to the current data pack version to achieve cross-version compatibility. This maintains the last bit of compatibility of high-version data packs. This article analyzes the use method and mechanism of sub-package coverage in detail, which can help data pack authors in need understand this new function.

Dahesor

A brief description of data pack optimization principles and analysis methods

For readers who are new to data pack, this article will briefly introduce when data pack optimization should be considered, how to optimize, the main optimization goals and optimization methods, as well as the methods and tools used to determine the parts that need to be optimized. I hope that after reading this article, readers can have some general understanding of the running consumption and basic optimization principles of data pack.

Qibai

NeKoCustomSpawn-demo

Since vanilla mods cannot naturally add custom mobs to the game, this article proposes a method to simulate vanilla mob generation, which may be helpful where there is a need for custom mobs.

luobojuo

Java Edition 1.21.5-SNBT Syntax Overview

NBT will be encountered in various places in data pack development. SNBT is a method of expressing NBT data in a textual tree data structure. It is the object we actually obtain and operate. Therefore, it is important to understand and skillfully use SNBT in the data pack development process. This article describes the syntax of SNBT in more detail, which can be used as an enlightenment and reference material for novices in data pack.

CR_019

Picking up dust (7) - Using composite item model mapping to create a status bar more easily

In the process of making custom items/map professions, etc., we often encounter the need to display status (such as charging), and placing the status bar in the off-hand is an optional solution. This article explains a technology that combines and displays multiple states on a single off-hand item. It uses a simple value provider and composite model mapping to avoid complex numerical calculations and make it easier to create a status bar.

Nox_Obscura

Ranking based on playerscoreboard scores

Server mini-games always have a link to display rankings, but the scoreboard does not provide an interface for output sorting, so we must implement it ourselves. This video found a sorting method that works well, which may be helpful to mini-game authors.

s

Powered by VitePress and GitHub Pages