package com.fastasyncworldedit.core.world.block;

import com.fastasyncworldedit.core.queue.ITileInput;
import com.sk89q.worldedit.world.block.BaseBlock;
import com.sk89q.worldedit.world.block.BlockState;

public enum CompoundInput {
    NULL,
    CONTAINER() {
        @Override
        public BaseBlock get(BlockState state, ITileInput input, int x, int y, int z) {
            return state.toBaseBlock(input.getTile(x, y, z));
        }
    };

    public BaseBlock get(BlockState state, ITileInput input, int x, int y, int z) {
        return state.toBaseBlock();
    }
}
