use of net.glowstone.block.entity.state.GlowBeacon in project Glowstone by GlowstoneMC.
the class BlockBeacon method blockInteract.
@Override
public boolean blockInteract(GlowPlayer player, GlowBlock block, BlockFace face, Vector clickedLoc) {
GlowBeacon beacon = (GlowBeacon) block.getState();
player.openInventory(beacon.getInventory());
player.incrementStatistic(Statistic.BEACON_INTERACTION);
return true;
}
Aggregations