mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
**Client**
* Delegated World.func_46068_G() (getHorizon), which depends on WorldType, to the WorldType class per LexManos' suggestion
This commit is contained in:
1 parent
1295c3863e
commit
cddcd9ffb3
2 files changed
+16
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
--- ../src-base/minecraft/net/minecraft/src/World.java 0000-00-00 00:00:00.000000000 -0000
|
||||
+++ ../src-work/minecraft/net/minecraft/src/World.java 0000-00-00 00:00:00.000000000 -0000
|
||||
@@ -3880,6 +3880,6 @@
|
||||
|
||||
public double func_46068_G()
|
||||
{
|
||||
- return this.field_22145_q.func_46133_t() == WorldType.field_48636_c ? 0.0D : 63.0D;
|
||||
+ return this.field_22145_q.func_46133_t().getHorizon(this);
|
||||
}
|
||||
}
|
||||
@@ -39,7 +39,7 @@
|
||||
}
|
||||
|
||||
public String func_48628_a()
|
||||
@@ -78,4 +91,60 @@
|
||||
@@ -78,4 +91,65 @@
|
||||
|
||||
return null;
|
||||
}
|
||||
@@ -67,6 +67,11 @@
|
||||
+ return this == field_48636_c ? 4 : 64;
|
||||
+ }
|
||||
+
|
||||
+ public double getHorizon(World world)
|
||||
+ {
|
||||
+ return this == field_48636_c ? 0.0D : 63.0D;
|
||||
+ }
|
||||
+
|
||||
+ public boolean hasVoidParticles(boolean var1)
|
||||
+ {
|
||||
+ return this != field_48636_c && !var1;
|
||||
|
||||
Reference in new issue
Block a user