mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-05-23 08:53:36 +02:00
23 lines
718 B
Java
23 lines
718 B
Java
package de.ellpeck.prettypipes.pipe;
|
|
|
|
import de.ellpeck.prettypipes.network.PipeItem;
|
|
import net.minecraft.block.BlockState;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.util.Direction;
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.world.World;
|
|
import net.minecraftforge.items.IItemHandler;
|
|
|
|
public interface IPipeConnectable {
|
|
|
|
ConnectionType getConnectionType(World world, BlockPos pipePos, Direction direction);
|
|
|
|
default ItemStack insertItem(World world, BlockPos pipePos, Direction direction, ItemStack stack, boolean simulate) {
|
|
return stack;
|
|
}
|
|
|
|
default boolean allowsModules(World world, BlockPos pipePos, Direction direction) {
|
|
return false;
|
|
}
|
|
}
|