mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 19:36:41 +00:00
Minor image brush changes
This commit is contained in:
@ -27,8 +27,10 @@ import java.util.Arrays;
|
||||
public class ImageBrush implements Brush {
|
||||
private final LocalSession session;
|
||||
private final SummedColorTable table;
|
||||
private final int width, height;
|
||||
private final double centerX, centerZ;
|
||||
private final int width;
|
||||
private final int height;
|
||||
private final double centerX;
|
||||
private final double centerZ;
|
||||
|
||||
private final ColorFunction colorFunction;
|
||||
|
||||
@ -66,10 +68,6 @@ public class ImageBrush implements Brush {
|
||||
int call(int x1, int z1, int x2, int z2, Extent extent, BlockVector3 pos);
|
||||
}
|
||||
|
||||
private interface BlockFunction {
|
||||
void apply(int color, Extent extent, BlockVector3 pos);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double sizeDouble) throws MaxChangedBlocksException {
|
||||
TextureUtil texture = session.getTextureUtil();
|
||||
|
Reference in New Issue
Block a user