Package calclavia.api.mffs

Examples of calclavia.api.mffs.EventStabilize


          {
            ItemStack checkStack = inventory.getStackInSlot(i);

            if (checkStack != null)
            {
              EventStabilize evt = new EventStabilize(world, position.intX(), position.intY(), position.intZ(), checkStack);
              MinecraftForge.EVENT_BUS.post(evt);

              if (!evt.isCanceled())
              {
                if (checkStack.getItem() instanceof ItemBlock)
                {
                  if (blockInfo == null || (blockInfo[0] == ((ItemBlock) checkStack.getItem()).getBlockID() && (blockInfo[1] == checkStack.getItemDamage() || projector.getModuleCount(ModularForceFieldSystem.itemModuleApproximation) > 0)) || (projector.getModuleCount(ModularForceFieldSystem.itemModuleApproximation) > 0 && this.isApproximationEqual(blockInfo[0], checkStack)))
                  {
View Full Code Here

TOP

Related Classes of calclavia.api.mffs.EventStabilize

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.