Plex-FAWE/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/CompoundInput.java

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
453 B
Java
Raw Normal View History

package com.sk89q.worldedit.world.block;
import com.boydti.fawe.beta.ITileInput;
public enum CompoundInput {
NULL,
CONTAINER() {
@Override
public BaseBlock get(BlockState state, ITileInput input, int x, int y, int z) {
2019-12-20 05:54:03 +00:00
return state.toBaseBlock(input.getTile(x, y, z));
}
};
public BaseBlock get(BlockState state, ITileInput input, int x, int y, int z) {
return state.toBaseBlock();
}
}