blaze metal stuff

This commit is contained in:
Sunskimmer822 2022-03-08 19:31:55 -08:00
parent 52a0937629
commit 1387a6df86
5 changed files with 43 additions and 2 deletions

View File

@ -82,6 +82,8 @@ public class Shitmod implements ModInitializer {
public static final ToolItem BLAZE_METAL_HOE = new blazeMetalHoe(blazeMetalMaterial.INSTANCE, new Item.Settings().group(Shitmod.TOOLS_GROUP));
public static final Item BLAZE_METAL_INGOT = new blazeMetalIngot(new Item.Settings().group(Shitmod.GENERAL_GROUP));
@Override
public void onInitialize() {
@ -132,9 +134,11 @@ public class Shitmod implements ModInitializer {
Registry.register(Registry.ITEM, new Identifier("shitmod", "blaze_metal_hoe"), BLAZE_METAL_HOE);
Registry.register(Registry.ITEM, new Identifier("shitmod", "blaze_metal_ingot"), BLAZE_METAL_INGOT);
CustomPortalBuilder.beginPortal()
.frameBlock(Blocks.DIAMOND_BLOCK)
.lightWithItem(Items.ENDER_EYE)
.frameBlock(Shitmod.FABRIC_BLOCK)
.lightWithItem(Shitmod.BLAZE_METAL_INGOT)
.destDimID(new Identifier("the_end"))
.tintColor(45,65,101)
.registerPortal();

View File

@ -0,0 +1,11 @@
package net.serenas.shitmod;
import net.minecraft.item.Item;
public class blazeMetalIngot extends Item {
public blazeMetalIngot(Settings settings) {
super(settings);
}
}

View File

@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "shitmod:item/blaze_metal_sword"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"RWR",
"WRW",
"RWR"
],
"key": {
"R": {
"item": "minecraft:gold_ingot"
},
"W": {
"item": "minecraft:blaze_rod"
}
},
"result": {
"item": "shitmod:blaze_metal_ingot",
"count": 1
}
}