Skip to content

Commit

Permalink
v1.12-0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
delvr committed Jun 2, 2018
1 parent 0f64e92 commit 3071212
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -7,7 +7,7 @@ joining together into wider rivers until they reach a body of water at sea level

Please note that the source code is in [Scala](http://scala-lang.org) (not Java), and that most of it will be replaced as part of an upcoming major rewrite.
Keeping that in mind, if you have any questions about the code please send me (delvr) a message here on GitHub.
For help with the build process please read [Getting started with ForgeGradle](http://www.minecraftforge.net/forum/index.php/topic,14048.0.html) first.
For help with the build process please read [Getting started with ForgeGradle](http://www.minecraftforge.net/forum/topic/13860-tutorial-getting-started-with-forgegradle/) first.

Questions about the mod itself are best posted to the [discussion thread](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2346379-streams-real-flowing-rivers).

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -14,5 +14,5 @@ buildscript {
apply from: zipTree(fileTree("libs"){include "Farseek-*-deobf.jar"}.singleFile).matching{include "common.gradle"}.singleFile

dependencies {
compileOnly "2522/32:BetterWithMods:1.12-2.0.25", "2532/895:ImmersiveEngineering:0.12-77"
compileOnly "2566/229:BetterWithMods:1.12-2.1.22", "2559/547:ImmersiveEngineering:0.12-82"
}
2 changes: 1 addition & 1 deletion changelog.md
@@ -1 +1 @@
- River blocks are now [handled by shaders without needing to copy the block.properties file](https://github.com/delvr/Streams/issues/55). (Thanks InsomniaKitten!)
- Fixed [streams not generating in worlds with custom sea levels](https://github.com/delvr/Streams/issues/58).
6 changes: 3 additions & 3 deletions gradle.properties
@@ -1,12 +1,12 @@
modVersion=0.4.3
modVersion=0.4.4
modDependencies=farseek@[2,3)
modDescription=This mod introduces real flowing rivers, with a true current, to your Minecraft worlds. Compatible with many terrain generators.
modUrl=http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2346379-streams-real-flowing-rivers
modAuthors=delvr

gradleWrapperVersion=4.4
gradleWrapperVersion=4.7
forgeRevision=2443
mcpMappings=snapshot_20180201
mcpMappings=snapshot_20180501

curseForgeId=229769
curseForgeReleaseType=beta
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
1 change: 1 addition & 0 deletions src/main/resources/META-INF/streams_at.cfg
@@ -1,2 +1,3 @@
public-f net.minecraft.block.Block field_176227_L # blockState
public net.minecraft.world.World field_72999_e # scheduledUpdatesAreImmediate
public net.minecraft.world.WorldProvider field_76579_a # world
Expand Up @@ -22,7 +22,7 @@ class RiverStructure(generator: RiverGenerator, boundingBox: StructureBoundingBo
val liquid = generator.liquid

val seaLevel = liquid match {
case Material.WATER => worldProvider.seaLevel.get
case Material.WATER => worldProvider.world.getSeaLevel - 1
case Material.LAVA => worldProvider.lavaLevel.get
}
val seaLevelUnits = surfaceLevelUnits(seaLevel)
Expand Down

0 comments on commit 3071212

Please sign in to comment.