mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
AABB blocks render fix + new test block: pipe
This commit is contained in:
parent
f9a5758213
commit
e3f7f7218f
5 changed files with 24 additions and 7 deletions
14
res/content/base/blocks/pipe.json
Normal file
14
res/content/base/blocks/pipe.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"texture-faces": [
|
||||
"pipe_side",
|
||||
"pipe_side",
|
||||
"pipe_hole",
|
||||
"pipe_hole",
|
||||
"pipe_side",
|
||||
"pipe_side"
|
||||
],
|
||||
"model": "aabb",
|
||||
"hitbox": [0.25, 0.0, 0.25, 0.5, 1.0, 0.5],
|
||||
"light-passing": true,
|
||||
"rotation": "pipe"
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
"red_lamp",
|
||||
"green_lamp",
|
||||
"blue_lamp",
|
||||
"pane"
|
||||
"pane",
|
||||
"pipe"
|
||||
]
|
||||
}
|
||||
BIN
res/textures/blocks/pipe_hole.png
Normal file
BIN
res/textures/blocks/pipe_hole.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
BIN
res/textures/blocks/pipe_side.png
Normal file
BIN
res/textures/blocks/pipe_side.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue