Download Custom Block Outlines (CBO) — Minecraft Mods — MetaMods

Custom Block Outlines (CBO)

Active

Downloads

0

Last update

4 years ago
Client
Decor
Utils

Custom Block Outlines (CBO)

Attention: This project is no longer supported and not updated by the developer. Exceptions are possible but unlikely.

This Fabric mod provides the ability to customize the outline shapes and collision boundaries of blocks in Minecraft. You can either select another block to copy its shape or independently create a configuration using cuboids.

How the mod works

After installing the mod during the first game launch, a directory called 'outlinepacks' is created in the root Minecraft folder (usually .minecraft). This is where outline configuration sets are placed.

Each set represents a folder with JSON files, where each file corresponds to a specific block for which the outline needs to be changed. The name of the set doesn't matter, and the JSON file name must match the block identifier (for example, brewing_stand.json or redstone_wire.json).

Copying another block's outline

Example in poppy.json:

{
  "override": {
    "id": "minecraft:spruce_stairs",
    "blockstate": "facing=north,half=bottom,shape=straight"
  }
}

Example of poppy with stair outline

Important: For blocks that change their shape depending on position (flowers, bamboo, pointed dripstone, etc.), it's necessary to add a pos tag after blockstate. For example, to copy the outline of a dandelion at position (24, 65, -121):

{
  "override": {
    "id": "minecraft:dandelion",
    "pos": [24, 65, -121]
  }
}

(the blockstate tag is optional)

Creating your own shape

Example in brewing_stand.json:

{
  "cubes": [
    [0, 0, 0, 8, 8, 8],
    [8, 8, 8, 16, 16, 16]
  ]
}

Brewing stand with two cubes

The format for each cube: [x1, y1, z1, x2, y2, z2]. Point (0, 0, 0) corresponds to the bottom northwest corner of the block, and (16, 16, 16) - the top southeast corner. Cubes can extend beyond the standard 16x16x16 boundaries, but this may lead to unstable operation. You can combine any number of cubes, however too many may cause lag.

Note: If both "override" and "cubes" tags are present, priority will be given to override.

Multiplayer

When playing on a server, identical configuration sets must be installed on both the client and the server. Otherwise, graphical artifacts and unstable operation may occur, although the game will not crash.

Required: Fabric API

Project members
coldlavalamp

coldlavalamp

Created: 10 Jul 2021

ID: 35373