List of usage examples for net.minecraftforge.common.capabilities ICapabilityProvider interface-usage
From source file appeng.items.tools.powered.powersink.PoweredItemCapabilities.java
/** * The capability provider to expose chargable items to other mods. */ class PoweredItemCapabilities implements ICapabilityProvider, IEnergyStorage { private final ItemStack is;
From source file blusunrize.immersiveengineering.common.util.inventory.IEItemStackHandler.java
public class IEItemStackHandler extends ItemStackHandler implements ICapabilityProvider { private boolean first = true; private ItemStack stack; public IEItemStackHandler(ItemStack stack) { super();
From source file buildcraft.additionalpipes.pipes.PipeBehaviorAdvWood.java
public class PipeBehaviorAdvWood extends PipeBehaviourWood implements ICapabilityProvider { public PipeBehaviorAdvWood(IPipe pipe) { super(pipe); initFilter(); }
From source file claybucket.FluidHandler.java
/**
* FluidHandlerItemStackSimple is a template capability provider for ItemStacks.
* Data is stored directly in the vanilla NBT, in the same way as the old ItemFluidContainer.
*
* This implementation only allows item containers to be fully filled or emptied, similar to vanilla buckets.
*/
From source file com.fatality.skillcraft.common.skills.data.SkillProvider.java
public class SkillProvider implements ICapabilityProvider, INBTSerializable<NBTTagCompound> { @CapabilityInject(ISkillCapability.class) public static Capability<ISkillCapability> SKILLS = null; private ISkillCapability inst = null;
From source file com.teambr.bookshelf.common.items.EnergyContainingItem.java
/**
* This file was created for NeoTech
* <p>
* NeoTech is licensed under the
* Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License:
* http://creativecommons.org/licenses/by-nc-sa/4.0/
From source file com.teambr.bookshelf.common.items.InventoryHandlerItem.java
/**
* This file was created for Bookshelf
* <p>
* Bookshelf is licensed under the
* Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License:
* http://creativecommons.org/licenses/by-nc-sa/4.0/
From source file com.teambrmodding.neotech.common.items.UpgradeItem.java
/**
* This file was created for NeoTech
*
* NeoTech is licensed under the
* Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License:
* http://creativecommons.org/licenses/by-nc-sa/4.0/
From source file de.ellpeck.actuallyadditions.mod.util.compat.ItemTeslaWrapper.java
public class ItemTeslaWrapper implements ITeslaProducer, ITeslaHolder, ITeslaConsumer, ICapabilityProvider { private final ItemStack stack; private final IEnergyContainerItem item; public ItemTeslaWrapper(ItemStack stack, IEnergyContainerItem item) {
From source file me.denyol.blockbank.items.ItemWalletCapabilityProvider.java
/** * Created by Daniel on 5/2/17. */ public class ItemWalletCapabilityProvider implements ICapabilityProvider, INBTSerializable<NBTTagCompound> { private static short INVENTORY_SIZE = 45; public static short ROWS = 5;