Changed the bracing style to under line on a few classes

This commit is contained in:
Fenn committed 2014-06-30 20:43:30 +01:00
1 parent c25919d012
commit 5113b1b6fb
4 files changed
+22 -13

No files matched your search

@@ -8,7 +8,6 @@ import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLMissingMappingsEvent;
import cpw.mods.fml.common.event.FMLMissingMappingsEvent.Action;
import cpw.mods.fml.common.event.FMLMissingMappingsEvent.MissingMapping;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
@@ -179,7 +178,8 @@ public class Chisel
new ChiselModCompatibility().postInit(event);
}
public static void refreshConfig(){
public static void refreshConfig()
{
concreteVelocity = config.get("general", "concreteVelocity", 0.45, "Traversing concrete roads, players will acceleration to this velocity. For reference, normal running speed is about 0.28. Set to 0 to disable acceleration.").getDouble(0.45);
particlesTickrate = config.get("client", "particleTickrate", 1, "Particle tick rate. Greater value = less particles.").getInt(1);
oldPillars = config.get("client", "pillarOldGraphics", false, "Use old pillar textures").getBoolean(false);
@@ -190,15 +190,18 @@ public class Chisel
ghostCloud = config.get("general", "doesCloudRenderLikeGhost", true).getBoolean(true);
//iceMelt = config.get("general", "doesIceMeltIntoWater", true).getBoolean(true);
if(config.hasChanged()){
if(config.hasChanged())
{
config.save();
}
}
@SubscribeEvent
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event){
if (event.modID.equals("chisel")) {
public void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event)
{
if(event.modID.equals("chisel"))
{
Chisel.refreshConfig();
}
}
@@ -46,7 +46,6 @@ public class ClientProxy extends CommonProxy
RenderingRegistry.registerEntityRenderingHandler(EntityCloudInABottle.class, new RenderSnowball(Chisel.itemCloudInABottle));
RenderingRegistry.registerEntityRenderingHandler(EntityBallOMoss.class, new RenderSnowball(Chisel.itemBallOMoss));
MinecraftForgeClient.registerItemRenderer(Chisel.chisel, renderer);
}
}
@@ -6,9 +6,11 @@ import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
public class GuiChiselConfig extends GuiConfig{
public class GuiChiselConfig extends GuiConfig
{
public GuiChiselConfig(GuiScreen parent) {
public GuiChiselConfig(GuiScreen parent)
{
super(parent, new ConfigElement(Chisel.config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(),
"chisel", false, false, GuiConfig.getAbridgedConfigPath(Chisel.config.toString()));
}
@@ -6,24 +6,29 @@ import net.minecraft.client.gui.GuiScreen;
import java.util.Set;
public class GuiFactory implements IModGuiFactory {
public class GuiFactory implements IModGuiFactory
{
@Override
public void initialize(Minecraft minecraftInstance) {
public void initialize(Minecraft minecraftInstance)
{
}
@Override
public Class<? extends GuiScreen> mainConfigGuiClass() {
public Class<? extends GuiScreen> mainConfigGuiClass()
{
return GuiChiselConfig.class;
}
@Override
public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() {
public Set<RuntimeOptionCategoryElement> runtimeGuiCategories()
{
return null;
}
@Override
public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element) {
public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element)
{
return null;
}
}