Class FluidTankConnectivityHandler
java.lang.Object
com.simibubi.create.content.contraptions.fluids.tank.FluidTankConnectivityHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FluidTankTileEntityanyTankAt(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos) static voidstatic booleanisConnected(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos tankPos, net.minecraft.core.BlockPos otherTankPos) static voidstatic FluidTankTileEntitytankAt(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos)
-
Constructor Details
-
FluidTankConnectivityHandler
public FluidTankConnectivityHandler()
-
-
Method Details
-
formTanks
-
splitTank
-
tankAt
@Nullable public static FluidTankTileEntity tankAt(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos) -
anyTankAt
@Nullable public static FluidTankTileEntity anyTankAt(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos) -
isConnected
public static boolean isConnected(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos tankPos, net.minecraft.core.BlockPos otherTankPos)
-