-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nitra plant + loot tables and recipes
- Loading branch information
Showing
28 changed files
with
245 additions
and
4 deletions.
There are no files selected for viewing
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
11 changes: 11 additions & 0 deletions
11
src/main/java/net/id/paradiselost/blocks/mechanical/NitraBlock.java
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,11 @@ | ||
package net.id.paradiselost.blocks.mechanical; | ||
|
||
import net.minecraft.block.Block; | ||
|
||
public class NitraBlock extends Block { | ||
|
||
public NitraBlock(Settings settings) { | ||
super(settings); | ||
} | ||
|
||
} |
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
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
28 changes: 28 additions & 0 deletions
28
src/main/resources/assets/paradise_lost/blockstates/nitra.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,28 @@ | ||
{ | ||
"variants": { | ||
"age=0": { | ||
"model": "paradise_lost:block/nitra_stage0" | ||
}, | ||
"age=1": { | ||
"model": "paradise_lost:block/nitra_stage0" | ||
}, | ||
"age=2": { | ||
"model": "paradise_lost:block/nitra_stage1" | ||
}, | ||
"age=3": { | ||
"model": "paradise_lost:block/nitra_stage1" | ||
}, | ||
"age=4": { | ||
"model": "paradise_lost:block/nitra_stage1" | ||
}, | ||
"age=5": { | ||
"model": "paradise_lost:block/nitra_stage2" | ||
}, | ||
"age=6": { | ||
"model": "paradise_lost:block/nitra_stage2" | ||
}, | ||
"age=7": { | ||
"model": "paradise_lost:block/nitra_stage3" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/resources/assets/paradise_lost/blockstates/nitra_bunch.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": "paradise_lost:block/nitra_bunch" | ||
} | ||
} | ||
} |
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
26 changes: 26 additions & 0 deletions
26
src/main/resources/assets/paradise_lost/models/block/cross_crop.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,26 @@ | ||
{ | ||
"ambientocclusion": false, | ||
"textures": { | ||
"particle": "#crop" | ||
}, | ||
"elements": [ | ||
{ "from": [ 0.8, -1, 8 ], | ||
"to": [ 15.2, 15, 8 ], | ||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true }, | ||
"shade": false, | ||
"faces": { | ||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" }, | ||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" } | ||
} | ||
}, | ||
{ "from": [ 8, -1, 0.8 ], | ||
"to": [ 8, 15, 15.2 ], | ||
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true }, | ||
"shade": false, | ||
"faces": { | ||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" }, | ||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#crop" } | ||
} | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
src/main/resources/assets/paradise_lost/models/block/nitra_bunch.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,8 @@ | ||
{ | ||
"parent": "minecraft:block/cube_bottom_top", | ||
"textures": { | ||
"bottom": "paradise_lost:block/nitra_bunch_bottom", | ||
"side": "paradise_lost:block/nitra_bunch_side", | ||
"top": "paradise_lost:block/nitra_bunch_top" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/paradise_lost/models/block/nitra_stage0.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": "paradise_lost:block/cross_crop", | ||
"textures": { | ||
"crop": "paradise_lost:block/nitra_stage0" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/paradise_lost/models/block/nitra_stage1.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": "paradise_lost:block/cross_crop", | ||
"textures": { | ||
"crop": "paradise_lost:block/nitra_stage1" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/paradise_lost/models/block/nitra_stage2.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": "paradise_lost:block/cross_crop", | ||
"textures": { | ||
"crop": "paradise_lost:block/nitra_stage2" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/paradise_lost/models/block/nitra_stage3.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": "paradise_lost:block/cross_crop", | ||
"textures": { | ||
"crop": "paradise_lost:block/nitra_stage3" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/paradise_lost/models/item/nitra.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": "paradise_lost:item/nitra" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/resources/assets/paradise_lost/models/item/nitra_bunch.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": "paradise_lost:block/nitra_bunch" | ||
} |
Binary file added
BIN
+364 Bytes
src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+363 Bytes
src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+477 Bytes
src/main/resources/assets/paradise_lost/textures/block/nitra_bunch_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+241 Bytes
src/main/resources/assets/paradise_lost/textures/block/nitra_stage0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+278 Bytes
src/main/resources/assets/paradise_lost/textures/block/nitra_stage1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+330 Bytes
src/main/resources/assets/paradise_lost/textures/block/nitra_stage2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+338 Bytes
src/main/resources/assets/paradise_lost/textures/block/nitra_stage3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 75 additions & 0 deletions
75
src/main/resources/data/paradise_lost/loot_tables/blocks/nitra.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,75 @@ | ||
{ | ||
"type": "minecraft:block", | ||
"pools": [ | ||
{ | ||
"rolls": 1.0, | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "paradise_lost:nitra" | ||
} | ||
] | ||
}, | ||
{ | ||
"rolls": 1.0, | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"functions": [ | ||
{ | ||
"function": "minecraft:apply_bonus", | ||
"enchantment": "minecraft:fortune", | ||
"formula": "minecraft:binomial_with_bonus_count", | ||
"parameters": { | ||
"extra": 3, | ||
"probability": 0.5714286 | ||
} | ||
} | ||
], | ||
"name": "paradise_lost:nitra" | ||
} | ||
], | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:block_state_property", | ||
"block": "paradise_lost:nitra", | ||
"properties": { | ||
"age": "7" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"rolls": 1.0, | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:random_chance", | ||
"chance": 0.02 | ||
} | ||
], | ||
"name": "paradise_lost:nitra" | ||
} | ||
], | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:block_state_property", | ||
"block": "paradise_lost:nitra", | ||
"properties": { | ||
"age": "7" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"functions": [ | ||
{ | ||
"function": "minecraft:explosion_decay" | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/resources/data/paradise_lost/loot_tables/blocks/nitra_bunch.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": [ | ||
{ | ||
"rolls": 1.0, | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"name": "paradise_lost:nitra_bunch" | ||
} | ||
], | ||
"conditions": [ | ||
{ | ||
"condition": "minecraft:survives_explosion" | ||
} | ||
] | ||
} | ||
] | ||
} |
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,12 @@ | ||
{ | ||
"type": "minecraft:crafting_shapeless", | ||
"ingredients": [ | ||
{ | ||
"item": "paradise_lost:nitra_bunch" | ||
} | ||
], | ||
"result": { | ||
"item": "paradise_lost:nitra", | ||
"count": 4 | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/resources/data/paradise_lost/recipes/nitra_bunch.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,15 @@ | ||
{ | ||
"type": "minecraft:crafting_shaped", | ||
"pattern": [ | ||
"##", | ||
"##" | ||
], | ||
"key": { | ||
"#": { | ||
"item": "paradise_lost:nitra" | ||
} | ||
}, | ||
"result": { | ||
"item": "paradise_lost:nitra_bunch" | ||
} | ||
} |