Package keepcalm.mods.events.events

Examples of keepcalm.mods.events.events.PlayerUseItemEvent


 
  public static void onItemUse(ItemStack stack, EntityPlayer who, World world, int x, int y, int z, int blockFace) {
    if (FMLCommonHandler.instance().getEffectiveSide().isClient())
      // not on client
      return;
    PlayerUseItemEvent ev = new PlayerUseItemEvent(stack, who, world, x, y, z, ForgeDirection.getOrientation(blockFace));
    MinecraftForge.EVENT_BUS.post(ev);
  }
View Full Code Here

TOP

Related Classes of keepcalm.mods.events.events.PlayerUseItemEvent

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.