Updated Gradle and Forge
-Updated Gradle wrapper to Gradle 3.5 -Updated Forge to 12.18.3.2281 -Added a comment somewhere :P
This commit is contained in:
parent
22d7e142e7
commit
f3abbc89b1
4 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
|
||||||
ext.modversion = "3.0.0-a1"
|
ext.modversion = "3.0.0-a1"
|
||||||
ext.mcversion = "1.10.2"
|
ext.mcversion = "1.10.2"
|
||||||
ext.forgeversion = "12.18.3.2221"
|
ext.forgeversion = "12.18.3.2281"
|
||||||
//spongeSchematicVersion = "1"
|
//spongeSchematicVersion = "1"
|
||||||
|
|
||||||
version = mcversion + "-" + modversion
|
version = mcversion + "-" + modversion
|
||||||
|
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,6 +1,6 @@
|
||||||
#Wed Jan 11 15:34:03 CET 2017
|
#Tue Apr 18 12:43:58 CEST 2017
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip
|
||||||
|
|
|
@ -95,7 +95,7 @@ public class TileEntityDimDoor extends DDTileEntityBase {
|
||||||
|
|
||||||
protected int getNewTeleportDestination() {
|
protected int getNewTeleportDestination() {
|
||||||
int otherRiftID;
|
int otherRiftID;
|
||||||
Location locationOfThisRift = RiftRegistry.INSTANCE.getRiftLocation(this.riftID);
|
Location locationOfThisRift = RiftRegistry.INSTANCE.getRiftLocation(this.riftID); //returns null if this rift isn't registered
|
||||||
if (locationOfThisRift.getDimensionID() == DimDoorDimensions.getPocketDimensionType(EnumPocketType.DUNGEON).getId()) { //if this dimdoor is a pocket Dungeon
|
if (locationOfThisRift.getDimensionID() == DimDoorDimensions.getPocketDimensionType(EnumPocketType.DUNGEON).getId()) { //if this dimdoor is a pocket Dungeon
|
||||||
//choose between generating a new pocket or connecting to another door on a similar or close depth
|
//choose between generating a new pocket or connecting to another door on a similar or close depth
|
||||||
if (DDRandomUtils.weightedBoolean(20, 80)) { //@todo make this configurable
|
if (DDRandomUtils.weightedBoolean(20, 80)) { //@todo make this configurable
|
||||||
|
|
Loading…
Reference in a new issue