|
31 | 31 | import java.util.function.Supplier;
|
32 | 32 |
|
33 | 33 | public class ItemsT {
|
34 |
| - public static List<Item> fixedRenders = new ArrayList<>(); |
35 |
| - |
36 | 34 | public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(TerrariaMod.MOD_ID, RegistryKeys.ITEM);
|
37 | 35 | public static final DeferredRegister<ItemGroup> ITEM_GROUPS = DeferredRegister.create(TerrariaMod.MOD_ID, RegistryKeys.ITEM_GROUP);
|
38 | 36 |
|
@@ -167,11 +165,6 @@ public class ItemsT {
|
167 | 165 | public static final RegistrySupplier<Item> LESSER_HEALING_POTION = register("lesser_healing_potion", () -> new LesserHealingPotion(new Item.Settings()).setRarity(2).isConsumable(true));
|
168 | 166 | public static final RegistrySupplier<Item> HEALING_POTION = register("healing_potion", () -> new HealingPotion(new Item.Settings()).setRarity(2).isConsumable(true));
|
169 | 167 |
|
170 |
| - public static final RegistrySupplier<Item> GREEN_SLIME_SPAWN_EGG = register("green_slime_spawn_egg", () -> new SpawnEggItem(EntitiesT.GREEN_SLIME.get(), 0x2ec221, 0x5fed53, new Item.Settings().arch$tab(TERRARIAMOD_GROUP))); |
171 |
| - public static final RegistrySupplier<Item> BLUE_SLIME_SPAWN_EGG = register("blue_slime_spawn_egg", () -> new SpawnEggItem(EntitiesT.BLUE_SLIME.get(), 0x2f7dc4, 0x53a3ed, new Item.Settings().arch$tab(TERRARIAMOD_GROUP))); |
172 |
| - public static final RegistrySupplier<Item> DEMON_EYE_SPAWN_EGG = register("demon_eye_spawn_egg", () -> new SpawnEggItem(EntitiesT.DEMON_EYE.get(), 0xffffff, 0xff0000, new Item.Settings().arch$tab(TERRARIAMOD_GROUP))); |
173 |
| - |
174 |
| - |
175 | 168 | public static final RegistrySupplier<Item> GRASS_BLOCK = register("grass_block", () -> new BlockItemT(BlocksT.GRASS_BLOCK.get(), new Item.Settings().maxCount(64)).setRarity(2));
|
176 | 169 | public static final RegistrySupplier<Item> CORRUPTED_GRASS_BLOCK = register("corrupted_grass", () -> new BlockItemT(BlocksT.CORRUPTED_GRASS_BLOCK.get(), new Item.Settings().maxCount(64)).setRarity(2));
|
177 | 170 | public static final RegistrySupplier<Item> CRIMSON_GRASS_BLOCK = register("crimson_grass", () -> new BlockItemT(BlocksT.CRIMSON_GRASS_BLOCK.get(), new Item.Settings().maxCount(64)).setRarity(2));
|
@@ -235,12 +228,17 @@ public class ItemsT {
|
235 | 228 | public static final RegistrySupplier<Item> SKYWARE_CHEST = register("skyware_chest", () -> new BlockItemT(BlocksT.SKYWARE_CHEST.get(), new Item.Settings().maxCount(64)));
|
236 | 229 | public static final RegistrySupplier<Item> WATER_CHEST = register("water_chest", () -> new BlockItemT(BlocksT.WATER_CHEST.get(), new Item.Settings().maxCount(64)));
|
237 | 230 |
|
| 231 | + //public static RegistrySupplier<Item> GREEN_SLIME_SPAWN_EGG; |
| 232 | + //public static RegistrySupplier<Item> BLUE_SLIME_SPAWN_EGG; |
| 233 | + //public static RegistrySupplier<Item> DEMON_EYE_SPAWN_EGG; |
| 234 | + |
238 | 235 | public static void init() {
|
| 236 | + //GREEN_SLIME_SPAWN_EGG = register("green_slime_spawn_egg", () -> new SpawnEggItem(EntitiesT.GREEN_SLIME.get(), 0x2ec221, 0x5fed53, new Item.Settings().arch$tab(TERRARIAMOD_GROUP))); |
| 237 | + //BLUE_SLIME_SPAWN_EGG = register("blue_slime_spawn_egg", () -> new SpawnEggItem(EntitiesT.BLUE_SLIME.get(), 0x2f7dc4, 0x53a3ed, new Item.Settings().arch$tab(TERRARIAMOD_GROUP))); |
| 238 | + //DEMON_EYE_SPAWN_EGG = register("demon_eye_spawn_egg", () -> new SpawnEggItem(EntitiesT.DEMON_EYE.get(), 0xffffff, 0xff0000, new Item.Settings().arch$tab(TERRARIAMOD_GROUP))); |
| 239 | + |
239 | 240 | ITEMS.register();
|
240 | 241 | ITEM_GROUPS.register();
|
241 |
| - |
242 |
| - fixedRenders.add(LIGHTS_BANE.get()); |
243 |
| - fixedRenders.add(CRIMTANE_AXE.get()); |
244 | 242 | }
|
245 | 243 |
|
246 | 244 | static RegistrySupplier<ItemGroup> registerTab(String name, Supplier<ItemGroup> group) {
|
|
0 commit comments