package com.r3944realms.leashedplayer.content.blocks.type;

import com.r3944realms.leashedplayer.content.blocks.entity.ItemMemoryBlockEntity;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.EntityBlock;
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.state.BlockState;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class ItemMemoryBlock extends Block implements EntityBlock {
    public ItemMemoryBlock(Properties properties) {
        super(properties);
    }

    @Nullable
    @Override
    public BlockEntity newBlockEntity(@NotNull BlockPos pos, @NotNull BlockState state) {
        return new ItemMemoryBlockEntity(pos, state);
    }
}
