package de.srendi.advancedperipherals.common.blocks.blockentities;

import de.srendi.advancedperipherals.common.addons.computercraft.peripheral.BlockReaderPeripheral;
import de.srendi.advancedperipherals.common.blocks.base.PeripheralBlockEntity;
import de.srendi.advancedperipherals.common.setup.BlockEntityTypes;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.state.BlockState;
import org.jetbrains.annotations.NotNull;

public class BlockReaderEntity extends PeripheralBlockEntity<BlockReaderPeripheral> {

    public BlockReaderEntity(BlockPos pos, BlockState state) {
        super(BlockEntityTypes.BLOCK_READER.get(), pos, state);
    }

    @NotNull
    @Override
    protected BlockReaderPeripheral createPeripheral() {
        return new BlockReaderPeripheral(this);
    }
}
