Search in sources :

Example 1 with GenerateBlockReport

use of org.blockartistry.mod.DynSurround.client.footsteps.game.user.GenerateBlockReport in project BetterRain by OreCruncher.

the class ProxyClient method postInit.

@Override
public void postInit(final FMLPostInitializationEvent event) {
    super.postInit(event);
    if (ModOptions.enableDebugLogging) {
        final SoundHandler handler = Minecraft.getMinecraft().getSoundHandler();
        final List<String> sounds = new ArrayList<String>();
        for (final Object resource : handler.sndRegistry.getKeys()) sounds.add(resource.toString());
        Collections.sort(sounds);
        ModLog.info("*** SOUND REGISTRY ***");
        for (final String sound : sounds) ModLog.info(sound);
        ModLog.info("*** REGISTERED BLOCK NAMES ***");
        final GenerateBlockReport report = new GenerateBlockReport();
        for (final String entry : report.getBlockNames()) {
            ModLog.info(entry);
        }
        ForgeDictionary.dumpOreNames();
    }
}
Also used : GenerateBlockReport(org.blockartistry.mod.DynSurround.client.footsteps.game.user.GenerateBlockReport) SoundHandler(net.minecraft.client.audio.SoundHandler) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)1 SoundHandler (net.minecraft.client.audio.SoundHandler)1 GenerateBlockReport (org.blockartistry.mod.DynSurround.client.footsteps.game.user.GenerateBlockReport)1