blaze metal stuff
This commit is contained in:
parent
52a0937629
commit
1387a6df86
@ -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();
|
||||
|
11
src/main/java/net/serenas/shitmod/blazeMetalIngot.java
Normal file
11
src/main/java/net/serenas/shitmod/blazeMetalIngot.java
Normal 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);
|
||||
}
|
||||
|
||||
}
|
@ -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 |
@ -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
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user