Interface ITTPipeType<VALVE extends IValve<VALVE>,CAP extends ITTPipeConnectionHandler<VALVE,CAP>>
public interface ITTPipeType<VALVE extends IValve<VALVE>,CAP extends ITTPipeConnectionHandler<VALVE,CAP>>
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckPipeCount(int pipes) net.neoforged.neoforge.capabilities.BlockCapability<CAP, @NotNull net.minecraft.core.Direction> getMissingCapabilityFallback(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
-
Method Details
-
checkPipeCount
- Throws:
TTPipeConnectionException
-
getNoValve
VALVE getNoValve() -
getCapability
net.neoforged.neoforge.capabilities.BlockCapability<CAP,@NotNull net.minecraft.core.Direction> getCapability() -
getMissingCapabilityFallback
@Nullable CAP getMissingCapabilityFallback(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
-