Add Nugget Mod items, blocks, and recipes

This commit is contained in:
2024-12-15 19:00:19 -06:00
parent bb8c8a2594
commit ab3d75abcf
28 changed files with 364 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "nuggetmod:block/nugget_deepslate_ore" }
}
}

View File

@@ -0,0 +1,5 @@
{
"variants": {
"": { "model": "nuggetmod:block/nugget_ore" }
}
}

View File

@@ -1,5 +1,12 @@
{
"item.nuggetmod.raw_nugget": "Raw Nugget",
"item.nuggetmod.nugget": "nugget",
"block.nuggetmod.nugget_block": "Nugget Block",
"block.nuggetmod.raw_nugget_block": "Raw Nugget Block"
"block.nuggetmod.raw_nugget_block": "Raw Nugget Block",
"block.nuggetmod.nugget_ore": "Nugget Ore",
"block.nuggetmod.nugget_deepslate_ore": "Nugget Deepslate Ore",
"creativetab.nuggetmod.nugget_items": "Nugget Mod Items",
"creativetab.nuggetmod.nugget_blocks": "Nugget Mod Blocks"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "nuggetmod:block/nugget_deepslate_ore"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "nuggetmod:block/nugget_ore"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "nuggetmod:block/nugget_deepslate_ore"
}

View File

@@ -0,0 +1,3 @@
{
"parent": "nuggetmod:block/nugget_ore"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "nuggetmod:item/raw_nugget"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@@ -0,0 +1,9 @@
{
"replace": false,
"values": [
"nuggetmod:nugget_block",
"nuggetmod:raw_nugget_block",
"nuggetmod:nugget_ore",
"nuggetmod:nugget_deepslate_ore"
]
}

View File

@@ -0,0 +1,6 @@
{
"replace": false,
"values": [
"nuggetmod:nugget_deepslate_ore"
]
}

View File

@@ -0,0 +1,8 @@
{
"replace": false,
"values": [
"nuggetmod:nugget_block",
"nuggetmod:raw_nugget_block",
"nuggetmod:nugget_ore"
]
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "nuggetmod:nugget_block"
}
],
"rolls": 1.0
}
],
"random_sequence": "nuggetmod:blocks/nugget_block"
}

View File

@@ -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": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"name": "nuggetmod:nugget_deepslate_ore"
},
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 5.0,
"min": 2.0
},
"function": "minecraft:set_count"
},
{
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops",
"function": "minecraft:apply_bonus"
},
{
"function": "minecraft:explosion_decay"
}
],
"name": "nuggetmod:raw_nugget"
}
]
}
],
"rolls": 1.0
}
],
"random_sequence": "nuggetmod:blocks/nugget_deepslate_ore"
}

View File

@@ -0,0 +1,52 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"name": "nuggetmod:nugget_ore"
},
{
"type": "minecraft:item",
"functions": [
{
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops",
"function": "minecraft:apply_bonus"
},
{
"function": "minecraft:explosion_decay"
}
],
"name": "nuggetmod:raw_nugget"
}
]
}
],
"rolls": 1.0
}
],
"random_sequence": "nuggetmod:blocks/nugget_ore"
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "nuggetmod:raw_nugget_block"
}
],
"rolls": 1.0
}
],
"random_sequence": "nuggetmod:blocks/raw_nugget_block"
}

View File

@@ -0,0 +1,13 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"item": "nuggetmod:nugget_block"
}
],
"result": {
"count": 9,
"id": "nuggetmod:nugget"
}
}

View File

@@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": {
"item": "nuggetmod:nugget"
}
},
"pattern": [
"AAA",
"AAA",
"AAA"
],
"result": {
"count": 1,
"id": "nuggetmod:nugget_block"
}
}

View File

@@ -0,0 +1,12 @@
{
"type": "minecraft:blasting",
"category": "misc",
"cookingtime": 100,
"experience": 0.50,
"ingredient": {
"item": "nuggetmod:raw_nugget"
},
"result": {
"id": "nuggetmod:nugget"
}
}

View File

@@ -0,0 +1,12 @@
{
"type": "minecraft:smelting",
"category": "misc",
"cookingtime": 200,
"experience": 0.35,
"ingredient": {
"item": "nuggetmod:raw_nugget"
},
"result": {
"id": "nuggetmod:nugget"
}
}

View File

@@ -0,0 +1,13 @@
{
"type": "minecraft:crafting_shapeless",
"category": "misc",
"ingredients": [
{
"item": "nuggetmod:raw_nugget_block"
}
],
"result": {
"count": 9,
"id": "nuggetmod:raw_nugget"
}
}

View File

@@ -0,0 +1,18 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"A": {
"item": "nuggetmod:raw_nugget"
}
},
"pattern": [
"AAA",
"AAA",
"AAA"
],
"result": {
"count": 1,
"id": "nuggetmod:raw_nugget_block"
}
}