Examples of markDirty()


Examples of vazkii.botania.common.block.tile.mana.TileSpreader.markDirty()

        return false;

    if(lens == null && isHeldItemLens) {
      par5EntityPlayer.inventory.setInventorySlotContents(par5EntityPlayer.inventory.currentItem, null);
      spreader.setInventorySlotContents(0, heldItem.copy());
      spreader.markDirty();
    } else if(lens != null) {
      ItemStack add = lens.copy();
      if(!par5EntityPlayer.inventory.addItemStackToInventory(add))
        par5EntityPlayer.dropPlayerItemWithRandomChoice(add, false);
      spreader.setInventorySlotContents(0, null);
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.