Mixin Documentation

website·Indexed 30 days ago

https://docs.mihono.cn

Comprehensive guide to Mixin annotations for bytecode manipulation, including @Inject, @At, @ModifyArg, @Redirect, @Overwrite, @Shadow, and @Unique, detailing how to specify injection points and modify target class behavior.

Tokens
577.4K
Snippets
2.7K
Records
3.4K
Agent score
42%

What's inside Mixin

  1. Overview of KubeJS Modding Core

    KubeJS is a JavaScript-based modding core for Minecraft (starting from version 1.16.5) that supports both Fabric and Forge environments. It allows developers to modify most in-game content without restarting the game thanks to hot-reloading. Key capabilities include:

    • Adding or modifying items, blocks, and recipes.
    • Implementing custom in-game logic.
    • Modifying loot tables.
    • Customizing world generation.
    • Server management and modifying client-side display content.
  2. Overview of the NeoForge Capability System

    The Capability system in NeoForge allows developers to attach new functionalities to game objects such as items, blocks, and entities. For example, it is used to add energy storage, fluid handling, or item processing capabilities to a machine block. The system relies on a provider-based architecture where a 'provider' supplies the actual implementation of the capability interface.
  3. Overview of the NeoForge Capability System

    The Capability system in NeoForge is used to attach new functionality to game objects such as items, blocks, and entities. For example, it allows a block to handle fluids, items, or energy. The system relies on a set of core classes and interfaces to define and provide these capabilities.
  4. Overview of KubeJS Loot Table Events

    KubeJS allows modification of various loot tables using specific event IDs and methods. You can either completely override an existing loot table or modify it by adding to it.
    Event IDMethod to OverrideMethod to Modify
    generic.loot_tablesaddGenericmodify
    block.loot_tablesaddBlockmodifyBlock
    entity.loot_tablesaddEntitymodifyEntity
    gift.loot_tablesaddGiftmodify
    fishing.loot_tablesaddFishingmodify
    chest.loot_tablesaddChestmodify
  5. Overview of PonderJS for immersive item scenes

    PonderJS allows developers to create immersive scenes for items, helping players understand item usage and details more easily. Beyond built-in Create mod functionality, it can be used to demonstrate modpack-specific multiblock structures and complex world-crafting workflows involving multiple blocks.
  6. Overview of MBD2 Machine Design and Configuration Documentation

    MBD2 provides a centralized directory of design and configuration documents for maintained machines. Key documentation includes guides on single-block machine basics (status, basic workflows, and configurator entry points) and single-block machine settings (block, item, and machine setting panels).
  7. Overview of KubeJS 6 for Minecraft 1.19.2

    KubeJS is a Minecraft mod that allows users to modify game content using JavaScript. In version 6 (specifically for Minecraft 1.19.2), the mod introduced significant changes to the event listening system, making previous tutorials for older versions obsolete. This version requires specific environment dependencies to function correctly.
    Game Version: Minecraft 1.19.2
    Mod Loader: Forge 43.1.47
    KubeJS Version: 1902.6.0-build.103
    Architectury Version: 6.3.49
    Rinho Version: 1902.2.1-build.250
  8. Overview of the Minecraft Brain AI System

    The Brain system (introduced in Minecraft 1.16+) is a memory-driven AI architecture that replaces or complements the traditional Goal system. It allows for more intelligent decision-making by using sensors to perceive the environment, storing that information in memory modules, and executing behaviors based on current activities (e.g., CORE, IDLE, PANIC).
  9. Overview of MBD2 authoring workflow

    MBD2 provides a structured authoring workflow for creating machines. The documentation is split into two primary areas for single-block machines: basic machine states and workflow overviews, and the specific configuration of block, item, and machine setting panels.
  10. Overview of Adventure Modules for VariedMC

    The Adventure Modules section provides documentation on combat enhancements, elite mobs, and difficulty expansion. This includes detailed guides on elite mob affixes, numerical growth, configuration options, and datapack extensions, specifically within the 'Champions Unofficial' module.
  11. Overview of KubeJS persistentData

    persistentData is a custom data storage system provided by KubeJS. It is distinct from standard NBT data and can be used to store persistent information on the following objects:

    • Entities: Store entity-specific data.
    • Players: Store individual player data.
    • Levels: Store world-level data.
    • Servers: Store global server data.