Loading...
Beta Modpages Unclaimed

Custom Block Outlines (CBO)

Lets you modify the default outlines/collision boxes of blocks.

0 Likes
570 Downloads
Created by coldlavalamp

Description

This project is deprecated and will not be maintained or updated. Unless I feel like it. But I probably won't.

This is a Fabric mod that allows you to customize blocks' outline shapes/collision boxes. You can either specify another block to copy or create the shape yourself with cuboids. 


How it works:

When you first start the game after the mod is installed, it will create a 'outlinepacks' folder in your run directory (the .minecraft folder usually). This is where you put outline packs.

An outline pack is just a folder containing a bunch of JSON files, one for each block that you want to change the outline for. The name of the outline pack doesn't matter; the name of each JSON file is the id of the block (e.g. brewing_stand.json or redstone_wire.json). Below are examples of how to fill out the JSON file (sorry about how the JSON looks, apparently CurseForge doesn't handle indentation well).
 

Copying another block:

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

Result:
poppy w/ stair outline
Note: if you want to copy a block that changes where it is depending on its position (flowers, bamboo, pointed dripstone, etc.), you should include a pos tag after the blockstate. So if you wanted to copy the outline of a dandelion at (24, 65, -121), the JSON would look like this:

{
"override": {
"id": "minecraft:dandelion",
"pos": [24, 65, -121]
}
}
(the blockstate tag is optional)

 

Creating your own shape:

In brewing_stand.json:

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

brewing stand with two cubes
The format for each cube is [x1, y1, z1, x2, y2, z2]. (0, 0, 0) is the bottom north-west (-x, -z) corner of the block, (16, 16, 16) is the top south-east (+x, +z) corner. The cubes *can* go beyond the normal 16x16x16 block, but things can start to get wonky. You can combine as many of the cubes as you like, but too many will probably cause lag.

If you have both the "override" and "cubes" tags, it will use the override, not the cubes.


btw, the same packs need to be on the server and client if playing on a server. It won't crash or anything, it'll just be really glitchy and stuttery.

FABRIC API REQUIRED


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Mouse Tweaks

Enhances inventory management by adding various functions to the mouse buttons.

Bookshelf

An open source library for other mods!

Comforts (Fabric/Forge/Quilt)

Adds sleeping bags and hammocks for, respectively, portability and turning day to night, without setting new spawns. Comes in 16 different colors!

BetterFps

Performance Improvements

Supplementaries

Vanilla+ additions: Jars, signposts, faucets, weather vanes spring launchers, sconces, planters, lights, decoration and automation

RandomPatches (Forge)

A bunch of miscellaneous patches for Minecraft, including configurable connection timeouts, player speed limits and other bug fixes and improvements.

FancyMenu

Customize Minecraft's menus with ease!

Phosphor (Forge)

Performance improvements for Minecraft's lighting engine

Snad

Finally, sand that actually makes sugarcane grow faster.