mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-15 17:03:33 +00:00
ad349aecb1
- The .class files in the contrib folder of the zip go in plugins/WorldEdit/nmsblocks - This allows us to swap new class files in without releasing a completely new version each time - Whatever version the last release is for has an inbuilt fallback - If the plugin and server are mismatched and you have nothing in nmsblocks you're screwed
42 lines
990 B
Java
42 lines
990 B
Java
package com.sk89q.worldedit.bukkit;
|
|
|
|
import org.bukkit.World;
|
|
|
|
import com.sk89q.worldedit.Vector;
|
|
import com.sk89q.worldedit.blocks.BaseBlock;
|
|
import com.sk89q.worldedit.foundation.Block;
|
|
|
|
public abstract class NmsBlock extends BaseBlock {
|
|
|
|
protected NmsBlock(int type) {
|
|
super(type);
|
|
}
|
|
|
|
protected NmsBlock(int type, int data) {
|
|
super(type, data);
|
|
}
|
|
|
|
public static boolean verify() {
|
|
return false;
|
|
}
|
|
|
|
public static NmsBlock get(World world, Vector vector, int type, int data) {
|
|
return null;
|
|
}
|
|
|
|
public static boolean set(World world, Vector vector, Block block) {
|
|
return false;
|
|
}
|
|
|
|
public static boolean setSafely(World world, Vector vector, Block block, boolean notify) {
|
|
return false;
|
|
}
|
|
|
|
public static boolean hasTileEntity(int type) {
|
|
return false;
|
|
}
|
|
|
|
public static boolean isValidBlockType(int type) {
|
|
return false;
|
|
}
|
|
} |