generated from MrSphay/codex-agent-repository-kit
Decompile upstream Explosion Overhaul 0.2.3.0
This commit is contained in:
25
com/vinlanx/explosionoverhaul/ModItems.java
Normal file
25
com/vinlanx/explosionoverhaul/ModItems.java
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Decompiled with CFR 0.152.
|
||||
*/
|
||||
package com.vinlanx.explosionoverhaul;
|
||||
|
||||
import com.vinlanx.explosionoverhaul.ModBlocks;
|
||||
import com.vinlanx.explosionoverhaul.VinlanxTheLightItem;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraftforge.eventbus.api.IEventBus;
|
||||
import net.minecraftforge.registries.DeferredRegister;
|
||||
import net.minecraftforge.registries.ForgeRegistries;
|
||||
import net.minecraftforge.registries.IForgeRegistry;
|
||||
import net.minecraftforge.registries.RegistryObject;
|
||||
|
||||
public class ModItems {
|
||||
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create((IForgeRegistry)ForgeRegistries.ITEMS, (String)"explosionoverhaul");
|
||||
public static final RegistryObject<Item> VINLANX_THE_LIGHT = ITEMS.register("vinlanx_the_light", () -> new VinlanxTheLightItem((Block)ModBlocks.VINLANX_THE_LIGHT.get(), new Item.Properties()));
|
||||
public static final RegistryObject<Item> MOD_LOGO = ITEMS.register("mod_logo", () -> new Item(new Item.Properties()));
|
||||
|
||||
public static void register(IEventBus eventBus) {
|
||||
ITEMS.register(eventBus);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user