mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 04:29:19 +02:00
Merge branch 'the_point_of_the_mask' into thiccc-resolve-conflict
This commit is contained in:
commit
aecfaf8e8e
9 changed files with 256 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
package me.jonasjones.nec.item;
|
||||
|
||||
import me.jonasjones.nec.item.items.MaskItem;
|
||||
import me.jonasjones.nec.item.materials.DirtToolMaterial;
|
||||
import me.jonasjones.nec.item.materials.MaskArmorMaterial;
|
||||
import me.jonasjones.nec.util.ModRegistries;
|
||||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
|
||||
import net.minecraft.item.*;
|
||||
|
@ -15,6 +17,7 @@ public class ModItems {
|
|||
private static Item LETTER_ITEM;
|
||||
private static Item CHAINMAIL_ITEM;
|
||||
private static Item AK47_ITEM;
|
||||
private static Item MASK_ITEM;
|
||||
|
||||
public static void register() {
|
||||
ToolItem DIRT_SWORD = new SwordItem(DirtToolMaterial.INSTANCE, 1, -3.0F, new Item.Settings());
|
||||
|
@ -40,5 +43,10 @@ public class ModItems {
|
|||
Item AK47 = new Item(new FabricItemSettings());
|
||||
AK47_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "ak_47"), AK47);
|
||||
ModRegistries.register_item(AK47_ITEM);
|
||||
|
||||
ArmorMaterial MaskArmorMaterial = new MaskArmorMaterial();
|
||||
MaskItem MASK = new MaskItem(MaskArmorMaterial, MaskItem.Type.HELMET, new Item.Settings());
|
||||
MASK_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "mask"), MASK);
|
||||
ModRegistries.register_item(MASK_ITEM);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue