2019-11-12 00:52:54 +01:00
|
|
|
package de.ellpeck.actuallyadditions.mod.item;
|
|
|
|
|
|
|
|
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
|
|
|
import net.minecraft.item.Item;
|
2019-11-12 03:13:59 +01:00
|
|
|
import net.minecraft.item.Item.Properties;
|
2019-11-12 00:52:54 +01:00
|
|
|
import net.minecraftforge.event.RegistryEvent.Register;
|
|
|
|
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
|
|
|
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
|
|
|
|
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;
|
|
|
|
import net.minecraftforge.registries.ObjectHolder;
|
|
|
|
|
|
|
|
@EventBusSubscriber(modid = ActuallyAdditions.MODID, bus = Bus.MOD)
|
|
|
|
@ObjectHolder(ActuallyAdditions.MODID)
|
|
|
|
public class AAItems {
|
|
|
|
|
2019-11-12 04:18:54 +01:00
|
|
|
public static final Item BLACK_QUARTZ = null;
|
|
|
|
|
2019-11-12 00:52:54 +01:00
|
|
|
@SubscribeEvent
|
|
|
|
public static void register(Register<Item> e) {
|
2019-11-12 04:18:54 +01:00
|
|
|
//Formatter::off
|
|
|
|
e.getRegistry().registerAll(
|
|
|
|
new Item(new Properties().group(ActuallyAdditions.GROUP)).setRegistryName("black_quartz")
|
|
|
|
);
|
|
|
|
//Formatter::on
|
2019-11-12 00:52:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|