Examples of rightClickBlock()


Examples of net.glowstone.block.blocktype.BlockType.rightClickBlock()

        } else if (face == BlockFace.DOWN) {
            return;
        } else {
            placeAs = ItemTable.instance().getBlock(Material.WALL_BANNER);
        }
        placeAs.rightClickBlock(player, target, face, holding, clickedLoc);
    }
}
View Full Code Here

Examples of net.glowstone.block.blocktype.BlockType.rightClickBlock()

        } else if (face == BlockFace.DOWN) {
            return;
        } else {
            placeAs = ItemTable.instance().getBlock(Material.WALL_SIGN);
        }
        placeAs.rightClickBlock(player, target, face, holding, clickedLoc);
    }

}
View Full Code Here

Examples of net.glowstone.block.itemtype.ItemType.rightClickBlock()

            // call out to the item type to determine the appropriate right-click action
            ItemType type = ItemTable.instance().getItem(holding.getType());
            if (clicked == null) {
                type.rightClickAir(player, holding);
            } else {
                type.rightClickBlock(player, clicked, face, holding, clickedLoc);
            }
        }

        // if anything was actually clicked, make sure the player's up to date
        // in case something is unimplemented or otherwise screwy on our side
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.