Package extrabiomes.api

Examples of extrabiomes.api.UseLogTurnerEvent


    public boolean onItemUse(ItemStack itemUsed, EntityPlayer player, World world, int x, int y, int z, int side, float xOffset, float yOffset, float zOffset)
    {
        if (!player.canPlayerEdit(x, y, z, side, itemUsed))
            return false;
       
        final UseLogTurnerEvent event = new UseLogTurnerEvent(player, itemUsed, world, x, y, z);
        if (Extrabiomes.proxy.postEventToBus(event))
            return false;
        if (event.isHandled())
            return true;
       
        final Block block = world.getBlock(x, y, z);
        final int metadata = world.getBlockMetadata(x, y, z);
       
View Full Code Here

TOP

Related Classes of extrabiomes.api.UseLogTurnerEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.