-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: olivine block textures * feat: implement olivine caves blocks * chore: unused imports * chore: minor cleanup * feat: add olivine blocks to creative tab
- Loading branch information
1 parent
8be6cef
commit e23e129
Showing
45 changed files
with
554 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
src/main/generated/assets/galacticraft/blockstates/olivine_basalt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "galacticraft:block/olivine_basalt" | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/main/generated/assets/galacticraft/blockstates/olivine_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"variants": { | ||
"axis=x": { | ||
"model": "galacticraft:block/olivine_block", | ||
"x": 90, | ||
"y": 90 | ||
}, | ||
"axis=y": { | ||
"model": "galacticraft:block/olivine_block" | ||
}, | ||
"axis=z": { | ||
"model": "galacticraft:block/olivine_block", | ||
"x": 90 | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
src/main/generated/assets/galacticraft/blockstates/olivine_cluster.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"variants": { | ||
"facing=down": { | ||
"model": "galacticraft:block/olivine_cluster_vertical", | ||
"x": 180 | ||
}, | ||
"facing=east": { | ||
"model": "galacticraft:block/olivine_cluster_horizontal", | ||
"x": 90, | ||
"y": 90 | ||
}, | ||
"facing=north": { | ||
"model": "galacticraft:block/olivine_cluster_horizontal", | ||
"x": 90 | ||
}, | ||
"facing=south": { | ||
"model": "galacticraft:block/olivine_cluster_horizontal", | ||
"x": 90, | ||
"y": 180 | ||
}, | ||
"facing=up": { | ||
"model": "galacticraft:block/olivine_cluster_vertical" | ||
}, | ||
"facing=west": { | ||
"model": "galacticraft:block/olivine_cluster_horizontal", | ||
"x": 90, | ||
"y": 270 | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/generated/assets/galacticraft/blockstates/rich_olivine_basalt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "galacticraft:block/rich_olivine_basalt" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/main/generated/assets/galacticraft/models/block/olivine_basalt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "galacticraft:block/olivine_basalt" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/generated/assets/galacticraft/models/block/olivine_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"parent": "minecraft:block/cube_column", | ||
"textures": { | ||
"end": "galacticraft:block/olivine_block_top", | ||
"side": "galacticraft:block/olivine_block_side" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/generated/assets/galacticraft/models/block/olivine_cluster_horizontal.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cross", | ||
"textures": { | ||
"cross": "galacticraft:block/olivine_cluster_horizontal" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/generated/assets/galacticraft/models/block/olivine_cluster_vertical.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cross", | ||
"textures": { | ||
"cross": "galacticraft:block/olivine_cluster_vertical" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/generated/assets/galacticraft/models/block/rich_olivine_basalt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:block/cube_all", | ||
"textures": { | ||
"all": "galacticraft:block/rich_olivine_basalt" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/generated/assets/galacticraft/models/item/olivine_basalt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "galacticraft:block/olivine_basalt" | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/generated/assets/galacticraft/models/item/olivine_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "galacticraft:block/olivine_block" | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/generated/assets/galacticraft/models/item/olivine_cluster.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:item/generated", | ||
"textures": { | ||
"layer0": "galacticraft:block/olivine_cluster_vertical" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/generated/assets/galacticraft/models/item/olivine_shard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"parent": "minecraft:item/generated", | ||
"textures": { | ||
"layer0": "galacticraft:item/olivine_shard" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/generated/assets/galacticraft/models/item/rich_olivine_basalt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"parent": "galacticraft:block/rich_olivine_basalt" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"galacticraft:olivine_cluster" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"galacticraft:olivine_cluster" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"galacticraft:olivine_shard" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...main/generated/data/galacticraft/advancements/recipes/misc/olivine_block_from_shards.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parent": "minecraft:recipes/root", | ||
"criteria": { | ||
"has_olivine_shard": { | ||
"conditions": { | ||
"items": [ | ||
{ | ||
"items": [ | ||
"galacticraft:olivine_shard" | ||
] | ||
} | ||
] | ||
}, | ||
"trigger": "minecraft:inventory_changed" | ||
}, | ||
"has_the_recipe": { | ||
"conditions": { | ||
"recipe": "galacticraft:olivine_block_from_shards" | ||
}, | ||
"trigger": "minecraft:recipe_unlocked" | ||
} | ||
}, | ||
"requirements": [ | ||
[ | ||
"has_the_recipe", | ||
"has_olivine_shard" | ||
] | ||
], | ||
"rewards": { | ||
"recipes": [ | ||
"galacticraft:olivine_block_from_shards" | ||
] | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
src/main/generated/data/galacticraft/loot_tables/blocks/olivine_basalt.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:alternatives", | ||
"children": [ | ||
{ | ||
"type": "minecraft:item", | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:match_tool", | ||
"predicate": { | ||
"enchantments": [ | ||
{ | ||
"enchantment": "minecraft:silk_touch", | ||
"levels": { | ||
"min": 1 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"name": "galacticraft:olivine_basalt" | ||
}, | ||
{ | ||
"type": "minecraft:item", | ||
"functions": [ | ||
{ | ||
"add": false, | ||
"count": { | ||
"type": "minecraft:uniform", | ||
"max": 2.0, | ||
"min": 1.0 | ||
}, | ||
"function": "minecraft:set_count" | ||
}, | ||
{ | ||
"enchantment": "minecraft:fortune", | ||
"formula": "minecraft:uniform_bonus_count", | ||
"function": "minecraft:apply_bonus", | ||
"parameters": { | ||
"bonusMultiplier": 1 | ||
} | ||
}, | ||
{ | ||
"function": "minecraft:explosion_decay" | ||
} | ||
], | ||
"name": "galacticraft:olivine_shard" | ||
} | ||
] | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/generated/data/galacticraft/loot_tables/blocks/olivine_block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
], | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "galacticraft:olivine_block" | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
] | ||
} |
Oops, something went wrong.