Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
056015395a
Commit
88aa07ccb2
@ -63,7 +63,7 @@ import java.io.IOException;
|
||||
import java.util.*;
|
||||
import java.util.logging.Level;
|
||||
|
||||
public class FlatteningWrapper15 implements FlatteningWrapper.IFlatteningWrapper {
|
||||
public class FlatteningWrapper15 implements FlatteningWrapper {
|
||||
|
||||
@Override
|
||||
public boolean isNoBook(ItemStack item) {
|
||||
|
@ -45,7 +45,7 @@ public class LinkageUtils {
|
||||
{
|
||||
objectMap.put(Config.class, Config.getInstance());
|
||||
objectMap.put(BauSystem.class, BauSystem.getInstance());
|
||||
objectMap.put(FlatteningWrapper.IFlatteningWrapper.class, FlatteningWrapper.impl);
|
||||
objectMap.put(FlatteningWrapper.class, FlatteningWrapper.impl);
|
||||
objectMap.put(NMSWrapper.INMSWrapper.class, NMSWrapper.impl);
|
||||
}
|
||||
|
||||
|
@ -35,29 +35,25 @@ import org.bukkit.util.Vector;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public class FlatteningWrapper {
|
||||
private FlatteningWrapper() {}
|
||||
public interface FlatteningWrapper {
|
||||
FlatteningWrapper impl = VersionDependent.getVersionImpl(BauSystem.getInstance());
|
||||
|
||||
public static final IFlatteningWrapper impl = VersionDependent.getVersionImpl(BauSystem.getInstance());
|
||||
boolean isNoBook(ItemStack item);
|
||||
|
||||
public interface IFlatteningWrapper {
|
||||
boolean isNoBook(ItemStack item);
|
||||
boolean isUnpusheable(Material material);
|
||||
boolean isBreakingOnPush(Material material);
|
||||
|
||||
boolean isUnpusheable(Material material);
|
||||
boolean isBreakingOnPush(Material material);
|
||||
boolean isWorldEditCommand(String command);
|
||||
void setSelection(Player p, Point minPoint, Point maxPoint);
|
||||
|
||||
boolean isWorldEditCommand(String command);
|
||||
void setSelection(Player p, Point minPoint, Point maxPoint);
|
||||
EditSession paste(File file, Point pastePoint, PasteOptions pasteOptions);
|
||||
EditSession paste(Clipboard clipboard, Point pastePoint, PasteOptions pasteOptions);
|
||||
void changeColor(Clipboard clipboard, Color color) throws WorldEditException;
|
||||
boolean backup(Point minPoint, Point maxPoint, File file);
|
||||
|
||||
EditSession paste(File file, Point pastePoint, PasteOptions pasteOptions);
|
||||
EditSession paste(Clipboard clipboard, Point pastePoint, PasteOptions pasteOptions);
|
||||
void changeColor(Clipboard clipboard, Color color) throws WorldEditException;
|
||||
boolean backup(Point minPoint, Point maxPoint, File file);
|
||||
boolean inWater(World world, Vector tntPosition);
|
||||
|
||||
boolean inWater(World world, Vector tntPosition);
|
||||
|
||||
Material getTraceShowMaterial();
|
||||
Material getTraceHideMaterial();
|
||||
Material getTraceXZMaterial();
|
||||
}
|
||||
Material getTraceShowMaterial();
|
||||
Material getTraceHideMaterial();
|
||||
Material getTraceXZMaterial();
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren