mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 20:49:19 +02:00
added negative flint, steel and steel crafting
This commit is contained in:
parent
ccd98528cc
commit
6cd2dea689
6 changed files with 36 additions and 0 deletions
|
@ -9,11 +9,21 @@ import net.minecraft.registry.Registry;
|
|||
import net.minecraft.util.Identifier;
|
||||
|
||||
public class ModItems {
|
||||
private static Item STEEL_ITEM;
|
||||
private static ToolItem DIRT_SWORD_ITEM;
|
||||
private static Item NEGATIVE_FLINT_ITEM;
|
||||
|
||||
public static void register() {
|
||||
ToolItem DIRT_SWORD = new SwordItem(DirtToolMaterial.INSTANCE, 1, -3.0F, new Item.Settings());
|
||||
DIRT_SWORD_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "dirt_sword"), DIRT_SWORD);
|
||||
ModRegistries.register_item(DIRT_SWORD_ITEM);
|
||||
|
||||
Item STEEL = new Item(new FabricItemSettings());
|
||||
STEEL_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "steel"), STEEL);
|
||||
ModRegistries.register_item(STEEL_ITEM);
|
||||
|
||||
Item NEGATIVE_FLINT = new Item(new FabricItemSettings());
|
||||
NEGATIVE_FLINT_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "negative_flint"), NEGATIVE_FLINT);
|
||||
ModRegistries.register_item(NEGATIVE_FLINT_ITEM);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue