Wiki 9Minecraft Quadrum Mod 1.12.2, Wiki

Quadrum Mod 1.12.2, — Guide

Getting Started

To begin adding content with Quadrum, you must first run the game once with the mod installed. This will generate the necessary directory structure within your Minecraft instance.

Directory Structure

All configuration files are stored in the config/Quadrum folder. Inside this folder, you will find two primary subdirectories:

  • blocks/: Place JSON files here to define custom blocks.
  • items/: Place JSON files here to define custom items.

Each JSON file represents a single block or item. The name of the file (excluding the .json extension) will be used as the internal registry name for that object.

Traits and Data Types

Quadrum uses specific data structures to ensure consistency across JSON files. Understanding these types is essential for advanced configuration.

Data Types

ItemStack

Used for drops and return items. It consists of: * item: The registry name (e.g., minecraft:iron_ingot). * damage: The metadata or durability value (default 0). * count: The number of items in the stack (default 1).

Vector

Used for bounding boxes and particle offsets. It consists of three numbers: x, y, and z.

Common Traits

  • Lore: Adds descriptive text to the item or block tooltip. Supports multiple lines.
  • Ore Dictionary: Essential for mod compatibility. Registering a block as oreCopper allows it to be used in any recipe requiring copper ore from other mods.

Resource Handling

Quadrum does not include a built-in texture editor. Instead, it looks for textures and models in the standard Minecraft asset path under the quadrum namespace.

Texture Paths

To apply textures to your custom objects, place your .png files in a resource pack (or use ResourceLoader) at the following locations:

  • Blocks: assets/quadrum/textures/blocks/<filename>.png
  • Items: assets/quadrum/textures/items/<filename>.png

Model Handling

By default, Quadrum generates a standard cube model for blocks and a flat 2D model for items. If you wish to use custom 3D models, you can provide your own JSON model files in assets/quadrum/models/block or assets/quadrum/models/item. The mod will automatically link the registry name to the corresponding model file.