Created
June 17, 2020 09:16
-
-
Save Umpaz/2ffe09dba950b75e3b9f30296e91a4d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.umpaz.umpaztweaks.core.registry; | |
import com.umpaz.umpaztweaks.core.UmpazTweaks; | |
import com.umpaz.umpaztweaks.core.registry.UTBlocks; | |
import net.minecraft.item.BlockItem; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemGroup; | |
import net.minecraft.item.WallOrFloorItem; | |
import net.minecraftforge.fml.RegistryObject; | |
import net.minecraftforge.registries.DeferredRegister; | |
import net.minecraftforge.registries.ForgeRegistries; | |
public class UTBlockItems | |
{ | |
@SuppressWarnings("deprecation") | |
public static final DeferredRegister<Item> BLOCKITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, UmpazTweaks.MOD_ID); | |
{ | |
} | |
public static final RegistryObject<BlockItem> DEAD_FINGER_CORAL_FAN = BLOCKITEMS.register("dead_finger_coral_fan", () -> new WallOrFloorItem(UTBlocks.DEAD_FINGER_CORAL_FAN.get(), UTBlocks.DEAD_FINGER_CORAL_WALL_FAN.get(), new Item.Properties().group(ItemGroup.MISC))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment