RyanHub – file viewer
filename: common/src/main/java/rearth/oritech/block/blocks/interaction/PlacerBlock.java
branch: 1.21
back to repo
package rearth.oritech.block.blocks.interaction;

import net.minecraft.block.BlockState;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.util.math.BlockPos;
import org.jetbrains.annotations.Nullable;
import rearth.oritech.block.base.block.FrameInteractionBlock;
import rearth.oritech.block.entity.interaction.PlacerBlockEntity;

public class PlacerBlock extends FrameInteractionBlock {
    public PlacerBlock(Settings settings) {
        super(settings);
    }
    
    @Nullable
    @Override
    public BlockEntity createBlockEntity(BlockPos pos, BlockState state) {
        return new PlacerBlockEntity(pos, state);
    }
}