Block Shapes

Blockshapes are essentially block geometries or models that are hard-coded into vanilla, meaning that they exist without having accesible files.

Application

They are added in the resource pack's file, blocks.json, using child "blockshape" in a block's object. This would look something like this:

Copy

    "wiki:invisible_aluminium_ore": {
        "blockshape": "invisible",
        "sound": "stone",
        "textures": "invisible_aluminium_ore"
    }

1
2
3
4
5
6
7

Known Issues

Currently, blockshapes do not work for custom blocks through the usage of 1 resource pack, it just doesn't work. Although by utilising the hierarchy system of active resource packs, you may spread the contents of blocks.json over 2 separate resource packs, allowing for blockshapes to be applied.

Example of blocks.json from first pack:


   "wiki:void_fire": {
       "sound": "stone",
       "textures": "void_fire"
   }

1
2
3
4
5
6

Example of blocks.json from second pack:


   "wiki:void_fire": {
       "blockshape": "fire"
   }

1
2
3
4
5

All that is required of the second pack is to contain the information relevant to and to define the blockshape of the custom block, so the only required files in the pack are manifest.json and blocks.json. Then when it comes to applying the addon to your world, make sure to have the second resource pack above the first in the hierarchy.

The exact reason for this issue is unknown.

List of known Blockshapes

IDBlock Shape
-1invisible
0block
1cross_texture
2torch
3fire
4water
5red_dust
6rows
7door
8ladder
9rail
10stairs
11fence
12lever
13cactus
14bed
15diode
18iron_fence
19stem
20vine
21fence_gate
22chest
23lilypad
25brewing_stand
26portal_frame
28cocoa
31tree
32cobblestone_wall
40double_plant
42flower_pot
43anvil
44dragon_egg
48structure_void
67block_half
68top_snow
69tripwire
70tripwire_hook
71cauldron
72repeater
73comparator
74hopper
75slime_block
76piston
77beacon
78chorus_plant
79chorus_flower
80end_portal
81end_rod
83skull
84facing_block
85command_block
86terracotta
87double_side_fence
88frame
89shulker_box
90doublesided_cross_texture
91doublesided_double_plant
92doublesided_rows
93element_block
94chemistry_table
96coral_fan
97seagrass
98kelp
99trapdoor
100sea_pickle
101conduit
102turtle_egg
105bubble_column
106barrier
107sign
108bamboo
109bamboo_sapling
110scaffolding
111grindstone
112bell
113lantern
114campfire
115lectern
116sweet_berry_bush
117cartography_table
119stonecutter_block
123chain
126sculk_sensor
133azalea
133flowering_azalea
134glow_frame
135glow_lichen

Original Credit

Contributors

Luthoriusaexer0eMedicalJewel105SirLichyanasakana