2020-04-19 17:38:13 +02:00
|
|
|
package de.ellpeck.prettypipes.pipe;
|
|
|
|
|
2021-12-02 14:44:26 +01:00
|
|
|
import net.minecraft.core.BlockPos;
|
|
|
|
import net.minecraft.core.Direction;
|
2021-12-02 12:31:04 +01:00
|
|
|
import net.minecraft.world.item.ItemStack;
|
2020-04-19 17:38:13 +02:00
|
|
|
|
|
|
|
public interface IPipeConnectable {
|
|
|
|
|
2020-10-17 14:29:37 +02:00
|
|
|
ConnectionType getConnectionType(BlockPos pipePos, Direction direction);
|
2020-04-19 17:38:13 +02:00
|
|
|
|
2020-10-17 14:29:37 +02:00
|
|
|
default ItemStack insertItem(BlockPos pipePos, Direction direction, ItemStack stack, boolean simulate) {
|
2020-10-15 04:15:52 +02:00
|
|
|
return stack;
|
2020-05-09 01:00:59 +02:00
|
|
|
}
|
2020-05-17 15:29:10 +02:00
|
|
|
|
2020-10-17 14:29:37 +02:00
|
|
|
default boolean allowsModules(BlockPos pipePos, Direction direction) {
|
2020-05-17 15:29:10 +02:00
|
|
|
return false;
|
|
|
|
}
|
2020-04-19 17:38:13 +02:00
|
|
|
}
|