@@ -16,17 +16,84 @@ public class ModItems {
1616 public static void initialize () {
1717 System .out .println ("Registered Mod Items for " + MineTale .MOD_ID );
1818 }
19+
20+ // --- NATURAL MATERIALS & GATHERABLES ---
21+ public static final Item PLANT_FIBER = register ("plant_fiber" , Item ::new , new Item .Properties ());
22+ public static final Item TREE_SAP = register ("tree_sap" , Item ::new , new Item .Properties ());
23+ public static final Item SAP_GLOB = register ("sap_glob" , Item ::new , new Item .Properties ());
24+ public static final Item RUBBLE = register ("rubble" , Item ::new , new Item .Properties ());
25+ public static final Item TREE_BARK = register ("tree_bark" , Item ::new , new Item .Properties ());
26+ public static final Item MOSS = register ("moss" , Item ::new , new Item .Properties ());
27+ public static final Item BLUE_CRYSTAL_SHARDS = register ("blue_crystal_shards" , Item ::new , new Item .Properties ());
28+ public static final Item GREEN_CRYSTAL_SHARDS = register ("green_crystal_shards" , Item ::new , new Item .Properties ());
29+ public static final Item YELLOW_CRYSTAL_SHARDS = register ("yellow_crystal_shards" , Item ::new , new Item .Properties ());
30+
31+ // --- MINERALS & REFINED METALS (Unique to Hytale) ---
32+ public static final Item THORIUM_INGOT = register ("thorium_ingot" , Item ::new , new Item .Properties ());
33+ public static final Item COBALT_INGOT = register ("cobalt_ingot" , Item ::new , new Item .Properties ());
34+ public static final Item ADAMANTITE_INGOT = register ("adamantite_ingot" , Item ::new , new Item .Properties ());
35+ public static final Item MITHRIL_INGOT = register ("mithril_ingot" , Item ::new , new Item .Properties ());
36+ public static final Item BRONZE_INGOT = register ("bronze_ingot" , Item ::new , new Item .Properties ());
37+ public static final Item STEEL_INGOT = register ("steel_ingot" , Item ::new , new Item .Properties ());
38+
39+ // --- MOB DROPS, HIDES & LEATHERS ---
40+ public static final Item LIGHT_HIDE = register ("light_hide" , Item ::new , new Item .Properties ());
41+ public static final Item MEDIUM_HIDE = register ("medium_hide" , Item ::new , new Item .Properties ());
42+ public static final Item HEAVY_HIDE = register ("heavy_hide" , Item ::new , new Item .Properties ());
43+ public static final Item SOFT_HIDE = register ("soft_hide" , Item ::new , new Item .Properties ());
44+ public static final Item PRISMATIC_HIDE = register ("prismatic_hide" , Item ::new , new Item .Properties ());
1945
46+ public static final Item LIGHT_LEATHER = register ("light_leather" , Item ::new , new Item .Properties ());
47+ public static final Item MEDIUM_LEATHER = register ("medium_leather" , Item ::new , new Item .Properties ());
48+ public static final Item HEAVY_LEATHER = register ("heavy_leather" , Item ::new , new Item .Properties ());
49+ public static final Item STORM_LEATHER = register ("storm_leather" , Item ::new , new Item .Properties ());
50+ public static final Item PRISMATIC_LEATHER = register ("prismatic_leather" , Item ::new , new Item .Properties ());
51+
52+ public static final Item FERAN_RIB = register ("feran_rib" , Item ::new , new Item .Properties ());
53+ public static final Item STURDY_CHITIN = register ("sturdy_chitin" , Item ::new , new Item .Properties ());
54+ public static final Item VENOM_SAC = register ("venom_sac" , Item ::new , new Item .Properties ());
55+ public static final Item BONE_FRAGMENT = register ("bone_fragment" , Item ::new , new Item .Properties ());
56+
57+ // --- FABRICS & TEXTILES ---
58+ public static final Item LINEN_SCRAPS = register ("linen_scraps" , Item ::new , new Item .Properties ());
59+ public static final Item BOLT_OF_LINEN = register ("bolt_of_linen" , Item ::new , new Item .Properties ());
60+ public static final Item SHADOWEAVE_SCRAPS = register ("shadoweave_scraps" , Item ::new , new Item .Properties ());
61+ public static final Item CINDERCLOTH_SCRAPS = register ("cindercloth_scraps" , Item ::new , new Item .Properties ());
62+ public static final Item BOLT_OF_WOOL = register ("bolt_of_wool" , Item ::new , new Item .Properties ());
63+ public static final Item YELLOW_CLOTH = register ("yellow_cloth" , Item ::new , new Item .Properties ());
64+
65+ // --- SEEDS & FARMING (Bags and Bulbs) ---
66+ public static final Item LETTUCE = register ("lettuce" , Item ::new , new Item .Properties ());
67+ public static final Item CHILLI_SEED_BAG = register ("chilli_seed_bag" , Item ::new , new Item .Properties ());
68+ public static final Item CHILLI_SEED_BAG_ETERNAL = register ("chilli_seed_bag_eternal" , Item ::new , new Item .Properties ());
69+ public static final Item SUNFLOWER_SEED_BAG = register ("sunflower_seed_bag" , Item ::new , new Item .Properties ());
70+ public static final Item CORN_SEED_BAG = register ("corn_seed_bag" , Item ::new , new Item .Properties ());
71+ public static final Item COTTON_SEED_BAG = register ("cotton_seed_bag" , Item ::new , new Item .Properties ());
72+ public static final Item RICE_SEED_BAG = register ("rice_seed_bag" , Item ::new , new Item .Properties ());
73+ public static final Item ONION_BULB = register ("onion_bulb" , Item ::new , new Item .Properties ());
74+
75+ // --- MAGICAL & ALCHEMICAL ---
76+ public static final Item ESSENCE_OF_LIFE = register ("essence_of_life" , Item ::new , new Item .Properties ());
77+ public static final Item ESSENCE_OF_FIRE = register ("essence_of_fire" , Item ::new , new Item .Properties ());
78+ public static final Item ESSENCE_OF_ICE = register ("essence_of_ice" , Item ::new , new Item .Properties ());
79+ public static final Item ESSENCE_OF_THE_VOID = register ("essence_of_the_void" , Item ::new , new Item .Properties ());
80+ public static final Item VOID_HEART = register ("void_heart" , Item ::new , new Item .Properties ());
81+
82+ // --- FLORA COMPONENTS (Non-placeable petals) ---
83+ public static final Item RED_PETALS = register ("red_petals" , Item ::new , new Item .Properties ());
84+ public static final Item YELLOW_PETALS = register ("yellow_petals" , Item ::new , new Item .Properties ());
85+ public static final Item GREEN_PETALS = register ("green_petals" , Item ::new , new Item .Properties ());
86+ public static final Item WHITE_PETALS = register ("white_petals" , Item ::new , new Item .Properties ());
87+ public static final Item AZURE_PETALS = register ("azure_petals" , Item ::new , new Item .Properties ());
88+ public static final Item STORM_PETALS = register ("storm_petals" , Item ::new , new Item .Properties ());
89+ public static final Item BLOOD_PETALS = register ("blood_petals" , Item ::new , new Item .Properties ());
90+ public static final Item CYAN_PETALS = register ("cyan_petals" , Item ::new , new Item .Properties ());
91+
92+ // --- REGISTRATION LOGIC ---
2093 public static <GenericItem extends Item > GenericItem register (String name , Function <Item .Properties , GenericItem > itemFactory , Item .Properties settings ) {
21- // Create the item key.
2294 ResourceKey <Item > itemKey = ResourceKey .create (Registries .ITEM , Identifier .fromNamespaceAndPath (MineTale .MOD_ID , name ));
23-
24- // Create the item instance.
2595 GenericItem item = itemFactory .apply (settings .setId (itemKey ));
26-
27- // Register the item.
2896 Registry .register (BuiltInRegistries .ITEM , itemKey , item );
29-
3097 return item ;
3198 }
3299}
0 commit comments