Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: josephcsible/InfiniteFluids
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.11-1.1.0
Choose a base ref
...
head repository: josephcsible/InfiniteFluids
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.11
Choose a head ref
  • 6 commits
  • 4 files changed
  • 1 contributor

Commits on Jun 30, 2017

  1. Copy the full SHA
    e5e787a View commit details
  2. Copy the full SHA
    5c48b31 View commit details
  3. Version bump to 1.1.1

    josephcsible committed Jun 30, 2017
    Copy the full SHA
    2a5163b View commit details

Commits on Jul 5, 2017

  1. Add note about pumps

    josephcsible committed Jul 5, 2017
    Copy the full SHA
    0c5b12d View commit details

Commits on Sep 26, 2017

  1. Copy the full SHA
    5881617 View commit details
  2. Bump version

    josephcsible committed Sep 26, 2017
    Copy the full SHA
    436dad4 View commit details
Showing with 23 additions and 3 deletions.
  1. +5 −0 README.md
  2. +1 −1 build.gradle
  3. +8 −2 src/main/java/josephcsible/infinitefluids/InfiniteFluids.java
  4. +9 −0 src/main/java/josephcsible/infinitefluids/InfiniteFluidsGuiFactory.java
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -25,6 +25,11 @@ Use the name of the fluid's block that you'd use with /setblock. Examples:
- Vanilla lava is "minecraft:lava"
- Tinkers' Construct liquid blue slime is "tconstruct:blueslime"

### When using pumps, why do infinite fluid sources run out?
Your pumps are probably taking source blocks faster than they regenerate. Try
using a larger source pool. This will allow multiple source blocks to
regenerate at the same time, so they can keep up with the pumps.

## Development

### How do I compile this mod from source?
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.


version = "1.1.0"
version = "1.2.0"
group= "josephcsible.infinitefluids" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "infinitefluids"

10 changes: 8 additions & 2 deletions src/main/java/josephcsible/infinitefluids/InfiniteFluids.java
Original file line number Diff line number Diff line change
@@ -37,12 +37,18 @@
import net.minecraftforge.fml.common.eventhandler.Event.Result;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;

@Mod(modid = InfiniteFluids.MODID, version = InfiniteFluids.VERSION, guiFactory = "josephcsible.infinitefluids.InfiniteFluidsGuiFactory")
@Mod(
modid = InfiniteFluids.MODID,
version = InfiniteFluids.VERSION,
acceptedMinecraftVersions = "[1.11,)",
acceptableRemoteVersions = "*",
guiFactory = "josephcsible.infinitefluids.InfiniteFluidsGuiFactory"
)
public class InfiniteFluids
{
// XXX duplication with mcmod.info and build.gradle
public static final String MODID = "infinitefluids";
public static final String VERSION = "1.1.0";
public static final String VERSION = "1.2.0";

public static Configuration config;
protected static boolean invertInsideNether, invertOutsideNether;
Original file line number Diff line number Diff line change
@@ -59,4 +59,13 @@ public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement elemen
return null;
}

// TODO clean these 2 methods up when we switch to 1.12 MDK
public boolean hasConfigGui() {
return true;
}

public GuiScreen createConfigGui(GuiScreen parentScreen) {
return new InfiniteFluidsGuiConfig(parentScreen);
}

}