mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Base content package + ContentLoader
This commit is contained in:
parent
6708e1ef86
commit
c8a283c645
33 changed files with 318 additions and 112 deletions
4
res/content/base/blocks/bazalt.json
Normal file
4
res/content/base/blocks/bazalt.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"texture": "bazalt",
|
||||
"breakable": false
|
||||
}
|
||||
4
res/content/base/blocks/blue_lamp.json
Normal file
4
res/content/base/blocks/blue_lamp.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"texture": "blue_lamp",
|
||||
"emission": [0, 0, 15]
|
||||
}
|
||||
3
res/content/base/blocks/brick.json
Normal file
3
res/content/base/blocks/brick.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "brick"
|
||||
}
|
||||
3
res/content/base/blocks/dirt.json
Normal file
3
res/content/base/blocks/dirt.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "dirt"
|
||||
}
|
||||
9
res/content/base/blocks/flower.json
Normal file
9
res/content/base/blocks/flower.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"texture": "flower",
|
||||
"draw-group": 1,
|
||||
"light-passing": true,
|
||||
"obstacle": false,
|
||||
"replaceable": true,
|
||||
"model": "X",
|
||||
"hitbox": [0.15, 0.0, 0.15, 0.7, 0.7, 0.7]
|
||||
}
|
||||
5
res/content/base/blocks/glass.json
Normal file
5
res/content/base/blocks/glass.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"texture": "glass",
|
||||
"draw-group": 2,
|
||||
"light-passing": true
|
||||
}
|
||||
9
res/content/base/blocks/grass.json
Normal file
9
res/content/base/blocks/grass.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"texture": "grass",
|
||||
"draw-group": 1,
|
||||
"light-passing": true,
|
||||
"obstacle": false,
|
||||
"replaceable": true,
|
||||
"model": "X",
|
||||
"hitbox": [0.15, 0.0, 0.15, 0.7, 0.7, 0.7]
|
||||
}
|
||||
10
res/content/base/blocks/grass_block.json
Normal file
10
res/content/base/blocks/grass_block.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"texture-faces": [
|
||||
"grass_side",
|
||||
"grass_side",
|
||||
"dirt",
|
||||
"grass_top",
|
||||
"grass_side",
|
||||
"grass_side"
|
||||
]
|
||||
}
|
||||
4
res/content/base/blocks/green_lamp.json
Normal file
4
res/content/base/blocks/green_lamp.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"texture": "green_lamp",
|
||||
"emission": [0, 15, 0]
|
||||
}
|
||||
4
res/content/base/blocks/lamp.json
Normal file
4
res/content/base/blocks/lamp.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"texture": "lamp",
|
||||
"emission": [15, 14, 13]
|
||||
}
|
||||
3
res/content/base/blocks/leaves.json
Normal file
3
res/content/base/blocks/leaves.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "leaves"
|
||||
}
|
||||
3
res/content/base/blocks/metal.json
Normal file
3
res/content/base/blocks/metal.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "metal"
|
||||
}
|
||||
14
res/content/base/blocks/pane.json
Normal file
14
res/content/base/blocks/pane.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"texture-faces": [
|
||||
"pane_side",
|
||||
"pane_side",
|
||||
"pane_side_2",
|
||||
"pane_side_2",
|
||||
"pane",
|
||||
"pane"
|
||||
],
|
||||
"model": "aabb",
|
||||
"hitbox": [0.0, 0.0, 0.0, 1.0, 1.0, 0.1],
|
||||
"light-passing": true,
|
||||
"sky-light-passing": true
|
||||
}
|
||||
3
res/content/base/blocks/planks.json
Normal file
3
res/content/base/blocks/planks.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "planks"
|
||||
}
|
||||
4
res/content/base/blocks/red_lamp.json
Normal file
4
res/content/base/blocks/red_lamp.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"texture": "red_lamp",
|
||||
"emission": [15, 0, 0]
|
||||
}
|
||||
3
res/content/base/blocks/rust.json
Normal file
3
res/content/base/blocks/rust.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "rust"
|
||||
}
|
||||
3
res/content/base/blocks/sand.json
Normal file
3
res/content/base/blocks/sand.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "sand"
|
||||
}
|
||||
3
res/content/base/blocks/stone.json
Normal file
3
res/content/base/blocks/stone.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"texture": "stone"
|
||||
}
|
||||
9
res/content/base/blocks/water.json
Normal file
9
res/content/base/blocks/water.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"texture": "water",
|
||||
"draw-group": 3,
|
||||
"light-passing": true,
|
||||
"sky-light-passing": false,
|
||||
"obstacle": false,
|
||||
"selectable": false,
|
||||
"replaceable": true
|
||||
}
|
||||
11
res/content/base/blocks/wood.json
Normal file
11
res/content/base/blocks/wood.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"texture-faces": [
|
||||
"wood",
|
||||
"wood",
|
||||
"wood_top",
|
||||
"wood_top",
|
||||
"wood",
|
||||
"wood"
|
||||
],
|
||||
"rotatable": true
|
||||
}
|
||||
27
res/content/base/package.json
Normal file
27
res/content/base/package.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"id": "base",
|
||||
"version": "0.15",
|
||||
"description": "basic content package",
|
||||
"blocks": [
|
||||
"dirt",
|
||||
"grass_block",
|
||||
"lamp",
|
||||
"glass",
|
||||
"planks",
|
||||
"wood",
|
||||
"leaves",
|
||||
"stone",
|
||||
"water",
|
||||
"sand",
|
||||
"bazalt",
|
||||
"grass",
|
||||
"flower",
|
||||
"brick",
|
||||
"metal",
|
||||
"rust",
|
||||
"red_lamp",
|
||||
"green_lamp",
|
||||
"blue_lamp",
|
||||
"pane"
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue