-
-
Save ruabmbua/c0b2ad93d96162b6be70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public boolean onBlockActivated(World world, int x, int z, int y, | |
EntityPlayer entity, int face, float p_149727_7_, | |
float p_149727_8_, float p_149727_9_) { | |
TileEntity tileEntity = world.getTileEntity(x, z, y); | |
if(tileEntity == null || entity.isSneaking()) | |
return false; | |
entity.openGui(RuabmMod.ruabmMod, 0, world, x, z, y); | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment