mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
15 lines
565 B
Diff
15 lines
565 B
Diff
--- a/net/minecraft/client/renderer/ActiveRenderInfo.java
|
|
+++ b/net/minecraft/client/renderer/ActiveRenderInfo.java
|
|
@@ -172,4 +172,11 @@
|
|
this.field_216791_c = null;
|
|
this.field_216789_a = false;
|
|
}
|
|
+
|
|
+ public net.minecraft.block.BlockState getBlockAtCamera() {
|
|
+ if (!this.field_216789_a)
|
|
+ return net.minecraft.block.Blocks.field_150350_a.func_176223_P();
|
|
+ else
|
|
+ return this.field_216790_b.func_180495_p(this.field_216793_e).getStateAtViewpoint(this.field_216790_b, this.field_216793_e, this.field_216792_d);
|
|
+ }
|
|
}
|