1
0
Fork 0

add method

kcx-1614
聪聪 2017-06-30 14:12:33 +08:00
parent 2347608151
commit 043313ffb8
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- ../src-base/minecraft/net/minecraftforge/common/util/BlockSnapshot.java
+++ ../src-work/minecraft/net/minecraftforge/common/util/BlockSnapshot.java
@@ -127,6 +127,11 @@
{
return world.getBlock(x, y, z);
}
+
+ public int getCurrentBlockMeta()
+ {
+ return world.getBlockMetadata(x, y, z);
+ }
public World getWorld()
{