All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fastasyncworldedit.core.world.block.CompoundInput Maven / Gradle / Ivy

Go to download

Blazingly fast Minecraft world manipulation for artists, builders and everyone else.

There is a newer version: 2.10.0
Show newest version
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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy