Added Netherite nugget, texture thanks to Spearkiller

This commit is contained in:
Ayutac 2022-05-02 19:07:57 +02:00
parent c46e03b19f
commit 283460c3c8
9 changed files with 144 additions and 2 deletions

View file

@ -1150,8 +1150,9 @@ public class TRContent {
public enum Nuggets implements ItemConvertible, TagConvertible<Item> {
ALUMINUM, BRASS, BRONZE, CHROME(CHROME_TAG_NAME_BASE), COPPER(Items.COPPER_INGOT, false), DIAMOND(Items.DIAMOND, true),
ELECTRUM, EMERALD(Items.EMERALD, true), HOT_TUNGSTENSTEEL, INVAR, IRIDIUM, LEAD, NICKEL,
PLATINUM, REFINED_IRON, SILVER, STEEL, TIN, TITANIUM, TUNGSTEN, TUNGSTENSTEEL, ZINC;
ELECTRUM, EMERALD(Items.EMERALD, true), HOT_TUNGSTENSTEEL, INVAR, IRIDIUM, LEAD,
NETHERITE, /* We do NOT link to the netherite ingot here, because we want custom conversion recipes! */
NICKEL, PLATINUM, REFINED_IRON, SILVER, STEEL, TIN, TITANIUM, TUNGSTEN, TUNGSTENSTEEL, ZINC;
private final String name;
private final Item item;

View file

@ -569,6 +569,7 @@
"item.techreborn.tungstensteel_nugget": "Tungstensteel Nugget",
"item.techreborn.zinc_nugget": "Zinc Nugget",
"item.techreborn.emerald_nugget": "Emerald Nugget",
"item.techreborn.netherite_nugget": "Netherite Nugget",
"_comment12": "Plates",
"item.techreborn.advanced_alloy_plate": "Advanced Alloy Plate",

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "techreborn:item/nugget/netherite_nugget"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:implosion_compressor/netherite_ingot"
]
},
"criteria": {
"has_netherite_nugget": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"tag": "c:netherite_nuggets"
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:implosion_compressor/netherite_ingot"
}
}
},
"requirements": [
[
"has_netherite_nugget",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"rewards": {
"recipes": [
"techreborn:industrial_grinder/netherite_ingot_with_lava"
]
},
"criteria": {
"has_ingot": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": ["minecraft:netherite_ingot"]
}
]
}
},
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "techreborn:industrial_grinder/netherite_ingot_with_lava"
}
}
},
"requirements": [
[
"has_ingot",
"has_the_recipe"
]
]
}

View file

@ -0,0 +1,25 @@
{
"type": "techreborn:implosion_compressor",
"power": 30,
"time": 2000,
"ingredients" : [
{
"tag": "c:netherite_nuggets",
"count": 9
},
{
"item": "minecraft:end_crystal",
"count": 4
}
],
"results" : [
{
"item": "minecraft:netherite_ingot",
"count": 1
},
{
"item": "techreborn:ender_eye_small_dust",
"count": 4
}
]
}

View file

@ -0,0 +1,25 @@
{
"type": "techreborn:implosion_compressor",
"power": 30,
"time": 2000,
"ingredients" : [
{
"tag": "c:netherite_nuggets",
"count": 9
},
{
"item": "minecraft:tnt",
"count": 16
}
],
"results" : [
{
"item": "minecraft:netherite_ingot",
"count": 1
},
{
"item": "techreborn:dark_ashes_dust",
"count": 12
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:lava",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:netherite_ingot"
}
],
"results": [
{
"item": "techreborn:netherite_nugget",
"count": 9
}
]
}