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.

Tokens
337.8K
Snippets
1.5K
Records
1.9K
Agent score
72%

What's inside BeiShanair Minecraft Modding Tutorials

  1. Overview of the Arknights: Endfield Minecraft Mod

    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).
  2. 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 is data/<namespace>/loot_table/blocks/.
  3. Overview of creating Minecraft particle effects with Python

    This method involves using Python to batch-generate mcfunction instruction sets, which are then packaged into Minecraft data packs. Unlike specialized particle mods (e.g., ColorBlock), this approach uses the native /particle command 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.
  4. 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.
  5. Overview of Minecraft Recipe Data Files

    Minecraft recipes are defined as JSON data files. The standard game source path for these files is data/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).
  6. 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 long type.
    • Integration: It integrates directly with the Depot Unloader, Depot Loader, and Protocol Stash.
  7. 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:

    1. 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.
    2. 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.

  8. 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 the docs directory and provides the ability to extend or customize website layouts using React components while maintaining consistent headers and footers.
  9. 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 face and facing are used to determine the block's orientation. There are two primary ways to handle these states in block model files:

    1. 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.
    2. Multipart: A compositional approach (used by blocks like fences) to reduce redundancy.
  10. 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 a tick function or expensive traversal to find nearby nodes, it maintains a Map of all active power nodes to optimize performance.
  11. Overview of Minecraft 1.21 Recipe System

    Recipes in Minecraft are defined as data files located in the data/<namespace>/recipe directory (note: in version 1.21, the folder is named recipe, not recipes). 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.
  12. 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.