mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-26 05:28:33 +01:00
this didn't work, guess I'll have to accept wonky placement logic
This commit is contained in:
parent
c64c4b3a58
commit
648d860910
1 changed files with 0 additions and 8 deletions
|
@ -89,14 +89,6 @@ public class PipeBlock extends ContainerBlock {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public BlockState updatePostPlacement(BlockState stateIn, Direction facing, BlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos) {
|
|
||||||
ConnectionType type = getConnectionType((World) worldIn, currentPos, facing, stateIn);
|
|
||||||
if (type != stateIn.get(DIRECTIONS.get(facing)))
|
|
||||||
stateIn = stateIn.with(DIRECTIONS.get(facing), type);
|
|
||||||
return stateIn;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public BlockState getStateForPlacement(BlockItemUseContext context) {
|
public BlockState getStateForPlacement(BlockItemUseContext context) {
|
||||||
|
|
Loading…
Reference in a new issue