mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fix item package
This commit is contained in:
1 parent
591fc1e4b4
commit
8af7ec270a
53 files changed
+309
-397
No files matched your search
@@ -144,6 +144,12 @@ public class Coord4D extends BlockPos
|
||||
return world.getBlockState(this).getBlock();
|
||||
}
|
||||
|
||||
public int getBlockMeta(IBlockAccess world)
|
||||
{
|
||||
IBlockState state = getBlockState(world);
|
||||
return state == null ? 0 : state.getBlock().getMetaFromState(state);
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes this Coord4D's data to an NBTTagCompound.
|
||||
* @param nbtTags - tag compound to write to
|
||||
|
||||
Reference in new issue
Block a user