Java 类net.minecraftforge.fluids.ItemFluidContainer 实例源码

项目:ExtraUtilities    文件:ItemBlockDrum.java   
public ItemBlockDrum(final Block b) {
    super(b);
    this.capacity = 256000;
    this.slaveItem = new ItemFluidContainer(-1, this.capacity);
}
项目:ExtraUtilities    文件:ItemBlockDrum.java   
public ItemFluidContainer setCapacity(final int capacity) {
    return this.slaveItem.setCapacity(capacity);
}
项目:amunra    文件:ContainerRocketEngine.java   
protected void initSlots(TileEntityMothershipEngineAbstract tile) {
    this.addSlotToContainer(new SlotSpecific(tile, 0, 8, 7, ItemFluidContainer.class, ItemBucket.class));
}