mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-25 13:08:34 +01:00
Compare commits
2 commits
f7140347d0
...
5909820693
Author | SHA1 | Date | |
---|---|---|---|
5909820693 | |||
|
00df052755 |
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,7 @@ import net.minecraft.world.item.ItemStack;
|
|||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.entity.BlockEntity;
|
||||
import net.minecraft.world.level.block.entity.BlockEntityType;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.phys.AABB;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
|
@ -81,6 +82,10 @@ public class PipeBlockEntity extends BlockEntity implements MenuProvider, IPipeC
|
|||
super(Registry.pipeBlockEntity, pos, state);
|
||||
}
|
||||
|
||||
public PipeBlockEntity(BlockEntityType<?> type, BlockPos pos, BlockState state) {
|
||||
super(type, pos, state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onChunkUnloaded() {
|
||||
PipeNetwork.get(this.level).uncachePipe(this.worldPosition);
|
||||
|
|
Loading…
Reference in a new issue