跳到正文

Rusted Iron Core MITE

作者:ModdedMITE

A api mod for MITE.This mod is a bridge for many mods compatibility.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Introduction

A powerful all-in-one library & utility mod for Minecraft MITE, providing massive APIs, event hooks, world generation, entity, recipe, network and quality-of-life fixes for mod developers.
Overview
RustedIron Core (RIC) is a core library mod specially built for MITE Minecraft modding environments. It integrates a comprehensive set of event systems, registration interfaces, world generation tools, network utilities, entity logic hooks and various compatibility patches. This mod greatly reduces the difficulty of secondary development for other mods, avoids repeated Mixin writing, fixes many vanilla and MITE native bugs, and ensures stable operation in multi-mod environments. It is a mandatory dependency for a large number of MITE ecosystem mods.

Core Features

1. Rich Event & Handler System

A complete event bus and dedicated handlers cover almost all game logic links, supporting pre/post registration to control execution priority:
Player Related: Player spawn, dimension switch, death, attribute modification (health, hunger, saturation, level cap, insulin resistance), nutrition value synchronization, client connection & key binding registration.
Combat System: Modify incoming damage, armor protection, melee damage, block/entity interaction range, mining speed, knockback and fall damage.
Entity & Spawn: Entity event listening, ServerPlayer death event, custom mob spawn rules for specific biomes, entity tracker & network sync configuration.
Villager & Trade: Full villager profession & trading system, add/delete/edit trade entries, disable specific professions, auto-sync trade UI in real time.
Crafting & Smelting: Advanced recipe registration, custom item consumption rules, quality retention for crafted items, special furnace recipes, heat value requirement configuration for smelting recipes.
Tooltip & Display: Inject custom content into item tooltips at multiple positions, complete item stack information support.
Tick & Render: Separate client/server tick listeners, render tick hook for per-frame logic.

2. World & Biome Generation

Powerful world generation APIs to customize terrain, ores, structures and biomes without complex Mixin:
Ore Generation: Dedicated ore registration handler, dedicated height rules for Nether ores, support unregister existing ore entries, fixed crashes & invalid generation in Nether.
Biome System: Modify spawnable biomes, add mob spawns to appointed biomes, control stronghold generation, support Underworld biome registration & decoration, remove invalid plains in Underworld.
Structure & Map Gen: New MapGenHandler for structure & map generation element registration, refactored structure registration logic.
Chunk & World Info: Read/write data from level.dat, chunk load/unload listeners, underworld generation proxy (enabled by default).

3. Item, Block & Model Support

Simplified registration and rendering solutions for various items, blocks and models:
Unified Item Interfaces: One-stop configuration for fuel, burnable items, gem items, bucket materials, bow/arrow materials, armor materials and retainable crafting items. Auto-adapt wooden bowls and milk buckets to fix getPeer crashes.
JSON Model Loader: Native support for JSON block/item models, auto-load resources from blockstates & models folders, compatible with inventory, dropped items and in-hand rendering.
Loot Table: Expand vanilla loot tables for desert temples, jungle temples, nether fortresses, mineshafts and strongholds; custom gravel drop rules with add/remove loot entry functions.
Special Item Logic: Barbecue-style direct smelting for specific items, arrow, door, fishing rod and workbench quick registration (no extra Mixin required).

4. Network & Packet Optimization

Stable and expanded network system to fix vanilla sync issues:
Extended PacketByteBuf supports reading/writing short, long, double and other data types; exposed internal IO stream.
Global broadcast packet method to send messages to all online players.
Fixed empty packet reading errors and string length issues causing player kicks.
Optimized nutrition value & attribute sync packets (no per-tick sending, sync only at specified moments to reduce network load).
Fixed client-server desync of nutrition value after player respawn or dimension transfer.

5. Compatibility, Bug Fixes & QoL

Cross-version & Mod Compatibility: Fully compatible with regular MITE and experimental MITE versions; optimized Gradle build scripts for team collaboration; standardized package names to avoid Mixin conflicts; fixed config parsing errors caused by Chinese keys.
Major Bug Fixes: Resolved crashes from unregistered milk buckets, duplicate villager trade recipes, missing mob textures, gravel loot errors, furnace recipes ignoring heat values and more.
Configurable Tweaks: Toggle core mod startup announcements (duration shortened to 30s, can be fully disabled); dedicated settings for server online-mode to auto-hide announcements.
Development Utilities: Platform information query tool, localization enum, log tool for independent log files, Fabric compatibility tools and developer-friendly Javadoc comments.

常见问题

Rusted Iron Core MITE 支持哪些 Minecraft 版本?

Rusted Iron Core MITE 支持 Minecraft Java 版 1.6.4。下载时注意选择和你游戏版本一致的文件。

Rusted Iron Core MITE 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 模组加载器,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

ModdedMITE 的其他作品

查看全部 →