Examples of onWheel()


Examples of appeng.helpers.IMouseWheelItem.onWheel()

    if ( Name.equals( "Item" ) && player.getHeldItem() != null && player.getHeldItem().getItem() instanceof IMouseWheelItem )
    {
      ItemStack is = player.getHeldItem();
      IMouseWheelItem si = (IMouseWheelItem) is.getItem();
      si.onWheel( is, Value.equals( "WheelUp" ) );
    }
    else if ( Name.equals( "Terminal.Cpu" ) && c instanceof ContainerCraftingStatus )
    {
      ContainerCraftingStatus qk = (ContainerCraftingStatus) c;
      qk.cycleCpu( Value.equals( "Next" ) );
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.