Custom Block Outlines (CBO)
Lets you modify the default outlines/collision boxes of blocks.
介绍
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:![]()
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:

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
常见问题
Custom Block Outlines (CBO) 支持哪些 Minecraft 版本?
Custom Block Outlines (CBO) 支持 Minecraft Java 版 1.17–1.17.1,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Custom Block Outlines (CBO) 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
coldlavalamp 的其他作品
查看全部 →Axolotl Bucket Fix
让美西螈桶物品显示正确的美西螈种类。
Op Items Tab
为尚未收录的物品新增一个创造模式物品栏标签页。
Big Beacons
可建造威力惊人的巨型信标
All Dimension Height Increase
让你控制每个维度的高度
评论
登录后评论和评分