use of pl.asie.charset.lib.misc.Todokete in project Charset by CharsetMC.
the class CharsetLib method init.
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
packet.registerPacket(0x01, PacketAudioData.class);
packet.registerPacket(0x02, PacketAudioStop.class);
packet.registerPacket(0x10, PacketNotification.class);
packet.registerPacket(0x11, PacketPoint.class);
packet.registerPacket(0x20, PacketCustomBlockDust.class);
packet.registerPacket(0x30, PacketRequestScroll.class);
MinecraftForge.EVENT_BUS.register(ShiftScrollHandler.INSTANCE);
MinecraftForge.EVENT_BUS.register(new DyeableItemWashHandler());
MinecraftForge.EVENT_BUS.register(new Todokete());
Capabilities.init();
DataSerializersCharset.init();
UtilProxyCommon.proxy.init();
if (ModCharset.INDEV || enableDebugInfo)
MinecraftForge.EVENT_BUS.register(new DebugInfoProvider());
CharsetAPI.INSTANCE.findSimpleInstantiatingRegistry(AudioData.class).register(AudioDataDFPWM.class, AudioDataDFPWM::new);
CharsetAPI.INSTANCE.findSimpleInstantiatingRegistry(AudioData.class).register(AudioDataGameSound.class, AudioDataGameSound::new);
CharsetAPI.INSTANCE.findSimpleInstantiatingRegistry(AudioSink.class).register(AudioSinkBlock.class, AudioSinkBlock::new);
CommandCharset.register(new SubCommandHelp(Side.CLIENT));
CommandCharset.register(new SubCommandHelp(Side.SERVER));
CommandCharset.register(new SubCommandHand());
CommandCharset.register(new SubCommandAt());
}
Aggregations