Interface IFluidPipeMK2

All Superinterfaces:
IFluidConnectorMK2
All Known Implementing Classes:
FluidDuctBlockEntity, FluidExhaustBlockEntity, FluidValveBlockEntity

public interface IFluidPipeMK2 extends IFluidConnectorMK2
Проводник-труба: IFluidConnectorMK2 + фабричный метод создания узла. Аналог IFluidPipeMK2 из 1.7.10. Реализуется BlockEntity'ями, которые являются узлами топологии сети.
  • Method Summary

    Modifier and Type
    Method
    Description
    default FluidNode
    createNode(net.minecraft.world.level.material.Fluid fluid, net.minecraft.core.BlockPos pos)
    Создать стандартный FluidNode с 6 соединениями (все грани).
    net.minecraft.world.level.material.Fluid
     

    Methods inherited from interface com.hbm_m.api.fluids.IFluidConnectorMK2

    canConnect
  • Method Details

    • getFluidType

      net.minecraft.world.level.material.Fluid getFluidType()
    • createNode

      default FluidNode createNode(net.minecraft.world.level.material.Fluid fluid, net.minecraft.core.BlockPos pos)
      Создать стандартный FluidNode с 6 соединениями (все грани).