Example usage for net.minecraftforge.fluids.capability IFluidHandler interface-usage

List of usage examples for net.minecraftforge.fluids.capability IFluidHandler interface-usage

Introduction

In this page you can find the example usage for net.minecraftforge.fluids.capability IFluidHandler interface-usage.

Usage

From source file appeng.parts.p2p.PartP2PFluids.java

public class PartP2PFluids extends PartP2PTunnel<PartP2PFluids> implements IFluidHandler {

    private static final P2PModels MODELS = new P2PModels("part/p2p/p2p_tunnel_fluids");

    private static final ThreadLocal<Deque<PartP2PFluids>> DEPTH = new ThreadLocal<>();
    private static final FluidTankProperties[] ACTIVE_TANK = { new FluidTankProperties(null, 10000, true, false) };

From source file blusunrize.immersiveengineering.common.util.inventory.MultiFluidTank.java

/**
 * @author BluSunrize - 20.02.2017
 */
public class MultiFluidTank implements IFluidTank, IFluidHandler {
    public ArrayList<FluidStack> fluids = new ArrayList<>();
    private final int capacity;

From source file com.elytradev.thermionics.data.ValidatedDoubleTank.java

/**
 * IFluidHandler capability which provides two tanks.
 */
public class ValidatedDoubleTank implements IFluidHandler {
    private FluidTank a;
    private FluidTank b;

From source file com.lothrazar.cyclicmagic.block.core.TileEntityBaseMachineFluid.java

public class TileEntityBaseMachineFluid extends TileEntityBaseMachineInvo implements IFluidHandler {

    public FluidTankBase tank;

    public TileEntityBaseMachineFluid(int invoSize) {
        super(invoSize);

From source file com.lothrazar.cyclicmagic.block.peat.farm.TileEntityPeatFarm.java

public class TileEntityPeatFarm extends TileEntityBaseMachineFluid
        implements ITileRedstoneToggle, ITickable, IFluidHandler {

    public static final int TANK_FULL = Fluid.BUCKET_VOLUME * 20;
    public static final int TIMER_FULL = 5;
    private static final int PER_TICK = 64;

From source file com.sr2610.steampunkd.tileentity.machines.TileEntityBoiler.java

public class TileEntityBoiler extends ModTileEntity implements IFluidHandler {

    private final FluidTank[] tanks;
    private final FluidTankInfo[] tank_info;

    public TileEntityBoiler() {

From source file com.teambr.bookshelf.common.tiles.FluidHandler.java

/**
 * This file was created for Bookshelf - Java
 *
 * Bookshelf - Java 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.tiles.AbstractMachine.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 derpatiel.manafluidics.fluid.MultiTank.java

/**
 * Taken and adapted from Tinker's Construct SmelteryTank class under the MIT License
 * This version initially retrieved 10/10/2016 as git hash c660d69..., committed September 28, 2016 from https://github.com/SlimeKnights/TinkersConstruct
 * Modified to work with my smelting tank and class structure, but mostly the same
 */
public class MultiTank implements IFluidTank, IFluidHandler, INBTSerializable<NBTTagCompound> {

From source file hellfirepvp.astralsorcery.common.util.block.PrecisionSingleFluidCapabilityTank.java

/**
 * This class is part of the Astral Sorcery Mod
 * The complete source code for this mod can be found on github.
 * Class: PrecisionSingleFluidCapabilityTank
 * Created by HellFirePvP
 * Date: 10.03.2017 / 16:36