3
0

add method

This commit is contained in:
聪聪 2017-06-30 14:12:33 +08:00
parent 2347608151
commit 043313ffb8

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()
{