Auto Format code
This commit is contained in:
parent
112b1657cf
commit
796df6c055
503 changed files with 12260 additions and 16291 deletions
|
@ -9,35 +9,30 @@ import techreborn.compat.ICompatModule;
|
|||
/**
|
||||
* @author Prospector on 08/05/16
|
||||
*/
|
||||
public class CompatModuleTinkers implements ICompatModule
|
||||
{
|
||||
public class CompatModuleTinkers implements ICompatModule {
|
||||
|
||||
|
||||
|
||||
public CompatModuleTinkers()
|
||||
{
|
||||
public CompatModuleTinkers() {
|
||||
super();
|
||||
}
|
||||
|
||||
@Override public void preInit(FMLPreInitializationEvent event)
|
||||
{
|
||||
@Override
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
TinkersFluids.init();
|
||||
}
|
||||
|
||||
@Override public void init(FMLInitializationEvent event)
|
||||
{
|
||||
@Override
|
||||
public void init(FMLInitializationEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@Override public void postInit(FMLPostInitializationEvent event)
|
||||
{
|
||||
@Override
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@Override public void serverStarting(FMLServerStartingEvent event)
|
||||
{
|
||||
@Override
|
||||
public void serverStarting(FMLServerStartingEvent event) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -12,11 +12,10 @@ import slimeknights.tconstruct.library.fluid.FluidMolten;
|
|||
/**
|
||||
* @author Prospector on 08/05/16
|
||||
*/
|
||||
public class TinkersFluids
|
||||
{
|
||||
public class TinkersFluids {
|
||||
private static ResourceLocation moltenMetal = new ResourceLocation("tconstruct:blocks/fluids/molten_metal");
|
||||
private static ResourceLocation moltenMetalFlowing = new ResourceLocation(
|
||||
"tconstruct:blocks/fluids/molten_metal_flow");
|
||||
"tconstruct:blocks/fluids/molten_metal_flow");
|
||||
|
||||
public static FluidMolten moltenChrome = new FluidMolten("chrome", 0x90C9C9, moltenMetal, moltenMetalFlowing);
|
||||
public static FluidMolten moltenInvar = new FluidMolten("invar", 0x7F907F, moltenMetal, moltenMetalFlowing);
|
||||
|
@ -25,8 +24,7 @@ public class TinkersFluids
|
|||
public static FluidMolten moltenTitanium = new FluidMolten("titanium", 0x3C372F, moltenMetal, moltenMetalFlowing);
|
||||
public static FluidMolten moltenTungsten = new FluidMolten("tungsten", 0x3A464F, moltenMetal, moltenMetalFlowing);
|
||||
|
||||
public static void init()
|
||||
{
|
||||
public static void init() {
|
||||
addFluidStuff(moltenChrome, "Chrome");
|
||||
moltenChrome.setTemperature(800);
|
||||
addFluidStuff(moltenInvar, "Invar");
|
||||
|
@ -61,8 +59,7 @@ public class TinkersFluids
|
|||
FMLInterModComms.sendMessage("tconstruct", "alloy", message);
|
||||
}
|
||||
|
||||
public static void addFluidStuff(Fluid fluid, String oreSuffix)
|
||||
{
|
||||
public static void addFluidStuff(Fluid fluid, String oreSuffix) {
|
||||
FluidRegistry.registerFluid(fluid);
|
||||
FluidRegistry.addBucketForFluid(fluid);
|
||||
NBTTagCompound tag = new NBTTagCompound();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue