BeiShanair Minecraft Modding Tutorials
website·Indexed 30 days ago
https://beishanair.github.io/endfieldDoc/A comprehensive collection of Minecraft mod development guides covering versions 1.20.1 and 1.21/1.21.1. The tutorials provide instructions for Forge and NeoForge, including environment setup (JDK17/21, IntelliJ IDEA), data generation, and implementing specific features such as custom blocks, items, loot tables, crops, dimensions, and 2D-to-3D rendering using Mixins.
What's inside BeiShanair Minecraft Modding Tutorials
- This is a lightweight industrial mod based on Arknights: Endfield for Minecraft Java Edition. It focuses on survival, exploration, and logistical support. Players use the Automated Industry Complex (AIC) to produce equipment parts and health potions. It also allows the production of industrial goods to be supplied to outposts for rewards (note: equipment and outposts are planned for future updates).
Overview of Minecraft Block Loot Tables
Loot Tables are JSON-based mechanisms used to define what items a block drops when destroyed. In Minecraft, these are stored as data files. For custom mods or data packs, the directory path isdata/<namespace>/loot_table/blocks/.Overview of creating Minecraft particle effects with Python
This method involves using Python to batch-generatemcfunctioninstruction sets, which are then packaged into Minecraft data packs. Unlike specialized particle mods (e.g., ColorBlock), this approach uses the native/particlecommand and relies on mathematical formulas and exhaustive search (brute force) to calculate the coordinates of each particle. This allows developers to understand the fundamental principles of particle effects and create custom visuals from scratch.Overview of LabPBR Material Standard for Minecraft
LabPBR is a community-driven material standard (created by shaderLABS in 2019) designed to unify PBR (Physically Based Rendering) formats for Minecraft shaders and resource packs. It is not natively supported by the vanilla game and requires compatible shaders to function. It is a specialized version of general PBR standards, adapted for Minecraft's rendering system.Overview of Minecraft Recipe Data Files
Minecraft recipes are defined as JSON data files. The standard game source path for these files isdata/minecraft/recipe. Recipes allow raw materials to be crafted into items, blocks, tools, or equipment. Different recipe types correspond to different block entities (e.g., Crafting Table, Furnace, Blast Furnace, Campfire).Overview of the Global Storage Manager
The Global Storage Manager is a singleton system responsible for world-wide item storage and retrieval. Unlike standard chests, it does not depend on block entities and allows players to access their inventory from anywhere in the world. Key characteristics include:
- Dimension-Based: Storage is separated by dimension; each dimension has its own independent warehouse.
- Slot Efficiency: Each unique item type occupies only one slot.
- Capacity: The default storage limit is 10,000 items, but it can be increased up to the maximum value of a
longtype. - Integration: It integrates directly with the
Depot Unloader,Depot Loader, andProtocol Stash.
Introduction to Mixins in Minecraft Modding
Mixins allow developers to 'inject' or mix custom code into existing Minecraft source code. This is primarily used when:
- You need to use or modify a method that relies on complex internal dependencies (private fields or nested method calls) that are difficult to copy manually.
- You want to modify game mechanics (e.g., particle limits), intercept events, or add new functionality to existing classes.
It is recommended to study the original source code thoroughly before using Mixins to ensure stability and compatibility with other mods.
Overview of Docusaurus features
Docusaurus is a React-powered static site generator designed for quick installation and deployment of documentation websites. It allows users to focus on content by placing documentation files in thedocsdirectory and provides the ability to extend or customize website layouts using React components while maintaining consistent headers and footers.Overview of Block States and Facing in Minecraft 1.21
Block states are unique properties of a block used to represent different visual or functional states. For blocks with facing requirements, properties like
faceandfacingare used to determine the block's orientation. There are two primary ways to handle these states in block model files:- Variants: An exhaustive list of every possible combination of properties (e.g.,
face=ceiling,facing=east,powered=false). While precise, this can lead to very large files if there are many properties. - Multipart: A compositional approach (used by blocks like fences) to reduce redundancy.
- Variants: An exhaustive list of every possible combination of properties (e.g.,
Overview of the Global Power Network Node Management System
The Global Power Network Node Management System is a singleton instance responsible for managing the connections between the Protocol Core, Electric Pylons, Relay Towers, and Electric Industrial Devices. Instead of relying on atickfunction or expensive traversal to find nearby nodes, it maintains aMapof all active power nodes to optimize performance.Overview of Minecraft 1.21 Recipe System
Recipes in Minecraft are defined as data files located in thedata/<namespace>/recipedirectory (note: in version 1.21, the folder is namedrecipe, notrecipes). Recipes allow raw materials to be converted into items, blocks, tools, or equipment. They are implemented as JSON files and do not require Java code.Using the Crafter for industrial device manufacturing
The Crafter is a platform used to manufacture various industrial devices. It operates similarly to a standard Crafting Table and does not require electricity to function. Its functionality was originally part of the Protocol Core's facility construction but is now a standalone block entity to ensure single-responsibility logic and better stability.