mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-22 21:09:43 +00:00
35 lines
1.0 KiB
Java
35 lines
1.0 KiB
Java
package com.glodblock.github.api;
|
|
|
|
import net.minecraftforge.fluids.Fluid;
|
|
|
|
import com.glodblock.github.api.registries.ILevelTerminalRegistry;
|
|
|
|
@SuppressWarnings("unused")
|
|
public interface IFluidCraftAPI {
|
|
|
|
/**
|
|
* Blacklisted fluids will not be allowed to be added to a storage cell.
|
|
*/
|
|
void blacklistFluidInStorage(Class<? extends Fluid> fluid);
|
|
|
|
/**
|
|
* Blacklisted fluids will not be displayed in fluid terminals.
|
|
*/
|
|
void blacklistFluidInDisplay(Class<? extends Fluid> fluid);
|
|
|
|
/**
|
|
* Mostly for internal use; queries whether the fluid is blacklisted from storage cells.
|
|
*/
|
|
boolean isBlacklistedInStorage(Class<? extends Fluid> fluid);
|
|
|
|
/**
|
|
* Mostly for internal use; queries whether the fluid is blacklisted from being displayed.
|
|
*/
|
|
boolean isBlacklistedInDisplay(Class<? extends Fluid> fluid);
|
|
|
|
/**
|
|
* Get instance of `ILevelTerminalRegistry` to add new supported machines into terminal
|
|
*/
|
|
ILevelTerminalRegistry levelTerminalRegistry();
|
|
}
|