版本更新至:3.76

调整:开发框架改为 Gradle
新增:Language2 工具新增 [book] 类型
This commit is contained in:
坏黑
2018-03-10 21:13:05 +08:00
parent 6439e4b780
commit ad1a21196f
238 changed files with 1686 additions and 1132 deletions

View File

@@ -0,0 +1,35 @@
package me.skymc.taboolib.itemnbtapi.utils;
import me.skymc.taboolib.TabooLib;
public class MethodNames {
public static String getEntityNbtGetterMethodName() {
return "b";
}
public static String getEntityNbtSetterMethodName() {
return "a";
}
public static String getTileDataMethodName() {
if (TabooLib.getVerint() <= 10800) {
return "b";
}
return "save";
}
public static String getTypeMethodName() {
if (TabooLib.getVerint() <= 10800) {
return "b";
}
return "d";
}
public static String getRemoveMethodName() {
if (TabooLib.getVerint() <= 10800) {
return "a";
}
return "remove";
}
}