Wiki 9Minecraft Wumple Util Library Wiki

Wumple Util Library — Reference

Core Technical Features

The library includes several advanced systems that allow other mods to interact with Minecraft's engine more efficiently. Below are the primary technical components included in the library:

MatchingConfig System

This system allows mods to be highly configurable. It enables users to define specific items, blocks, or entities in configuration files using standardized strings or tags. This is used extensively in mods that need to identify specific objects, such as defining which containers can preserve food or which mobs should receive new AI tasks.

The IThing Adapter

IThing is a unique interface provided by the library that creates a unified wrapper for ItemStack, Entity, and TileEntity instances. This allows developers to write code that can interact with any of these three types through a single set of functions, greatly simplifying complex interactions between items and the world.

BaseChest Framework

A specialized class derived from the vanilla Minecraft chest. It provides a pre-built template for creating new types of storage blocks with custom inventories, rendering, and logic without having to rewrite the base chest code from scratch.

BlockRepair Library

Derived from Corosus' CoroUtil, this feature provides the logic necessary for blocks to "heal" or revert to their original state over time. This is often used in environmental mods where world damage needs to be temporary.

Items, Blocks, and Mobs

As a Library Mod, Wumple Util does not add any standalone items, blocks, or mobs to the Creative Menu or the game world. Its purpose is to provide the "logic" that other mods use to create those elements.

  • Items: The library provides the IThing interface to handle ItemStacks but adds no items of its own.
  • Blocks: The library provides the BaseChest class for creating blocks but adds no blocks of its own.
  • Mobs: The library provides AI tasks (like the AIWebbingAttack used by spiders) but does not register new entities.

If you are looking for new content, ensure you have installed the specific Stormwind mods that depend on this library.