Fixed: Исправлено удаление Updatable
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
package com.reider745.behavior.items;
|
||||||
|
|
||||||
|
import com.reider745.behavior.BehaviorContent;
|
||||||
|
import org.json.JSONObject;
|
||||||
|
|
||||||
|
public class ItemsContent extends BehaviorContent {
|
||||||
|
@Override
|
||||||
|
public String getTagName() {
|
||||||
|
return "minecraft:item";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getDefaultDirectory() {
|
||||||
|
return "items";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void load(JSONObject json, String file) {
|
||||||
|
System.out.println(file + " " + json);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package com.zhekasmirnov.apparatus.adapter.innercore;
|
||||||
|
|
||||||
|
import com.zhekasmirnov.horizon.runtime.logger.Logger;
|
||||||
|
|
||||||
|
public class UserDialog {
|
||||||
|
public static void dialog(String str, String s, Throwable err, boolean b) {
|
||||||
|
Logger.error(str, s, err);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void insignificantError(String s, Throwable th, boolean b) {
|
||||||
|
Logger.error(s, th);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user