删除多余include和修正接口位置
This commit is contained in:
+8
-8
@@ -442,14 +442,6 @@ class Minecraft {
|
||||
static readNbtFromFile(path, isBinary = true) {
|
||||
return GMLIB_API.readNbtFromFile(path, isBinary);
|
||||
}
|
||||
|
||||
static getBlockDestroySpeed(block) {
|
||||
return GMLIB_API.getBlockDestroySpeed(block);
|
||||
}
|
||||
|
||||
static getDestroyBlockSpeed(item,block) {
|
||||
return GMLIB_API.getDestroyBlockSpeed(item,block);
|
||||
}
|
||||
}
|
||||
|
||||
class Recipes {
|
||||
@@ -973,6 +965,14 @@ LLSE_Item.prototype.getTranslateName = function (language) {
|
||||
return I18nAPI.get(this.getTranslateKey(), [], language);
|
||||
}
|
||||
|
||||
LLSE_Block.prototype.getBlockDestroySpeed = function () {
|
||||
return GMLIB_API.getBlockDestroySpeed(this);
|
||||
}
|
||||
|
||||
LLSE_Item.prototype.getDestroyBlockSpeed = function (block) {
|
||||
return GMLIB_API.getDestroyBlockSpeed(this,block);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
StaticFloatingText,
|
||||
DynamicFloatingText,
|
||||
|
||||
Reference in New Issue
Block a user