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.

Featured

Hong Qi

Using data pack for DES-like encryption and decryption

This article introduces a method of using data in Minecraft data packs to simulate the DES encryption and decryption algorithm. In view of the limitation in the number of instructions of the 16-round Feistel network of the original DES algorithm, this plan simplifies it to 2 rounds of iterations, removes the compressed transposition operation, uniformly adopts the key scheduling strategy of shifting one bit to the left, and changes the round functi. The special case of onF is the XOR operation between the right half and the subkey. In order to adapt to the in-game data storage format, an encoding scheme containing 64 characters (numbers, upper and lower case letters, spaces and newlines) is designed. The characters are mapped into 6-bit binary through base64, and execute is used. The return value feature of the store success instruction cleverly implements the XOR operation. The decryption process takes full advantage of the reversibility of the Feistel network and can restore the plaintext only by using the subkey in reverse order. In addition, this article also implements functions such as random key generation, custom key input, and variable length keys, and provides a corresponding UI interface. Although the encryption strength of this project is limited, it shows the feasibility and creativity of implementing cryptographic algorithms in a restricted environment.

Vanilla News Mojang Spotlight

Alumopper

Vanilla News - July 2026

This month Mojang released multiple snapshot versions of 26.3, updating a lot of practical content. Currently, the data pack version has reached 110.0 and the resource pack version has reached 91.0. This month’s update falls under the super large cup.

Insight Insight

doom_decapitator

doom.schedule - vanilla server-side scheduler

doom.schedule is a data pack scheduling framework for the Minecraft vanilla server. It provides features such as game time-based task queue, execution context freezing, target offline detection and automatic recovery, and failure retry without relying on Mods.

jk137

How to make all items have the effect of Undying Totem

Updated since Java version 1.21.2`death_protection`After component, the player can consume the item with this component to obtain an effect similar to the Totem of the Undying. This article introduces a solution for all items from all sources to automatically bring this component, so that all items have the effect of the totem of immortality. Suitable for data pack novices to read.

Xuanyu1725

Shader Practice - Grayscale and Dither

This article introduces the concept of grayscale and a common binarization method-dithering. It introduces common noise types, procedural generation and the use of precomputed textures, and methods to repair NEAREST sampling failure.

Xuanyu1725

Shader Practice - Accurate Sampling Texture

This article provides a stable and accurate method for sampling surface textures. It solves the original numerical stability problem so that the shader can obtain additional information on the texture.

Masterpieces

CR_019

The cockroach must die! Pest Cant Pass!

In this map, you will play as a cockroach or a pest control company employee and start an asymmetric confrontation in the mansion. Cockroaches need to eat food to gain experience, survive within the limited time, and occupy the mansion! The exterminators need to eliminate all the cockroaches and clean up the garbage they generate within the time limit to keep their jobs!

LostPigYoo

Gradient Text Generator

This data pack uses transcoding between decimal and hexadecimal, character slicing, recursive operations, text component output, etc., with a high versiondialogdialog interface to receive text and color information input by the player to achieve the generation of color gradient text.

Powered by VitePress and GitHub Pages