ZotCoreLoader

- удалён BlockDestroyStarted(клиентский)
- добавлены библиотеки android из тулчена
This commit is contained in:
Reider745
2023-11-20 10:20:23 +03:00
parent 6abc1ef30a
commit bd37504693
6 changed files with 3 additions and 2 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -36,8 +36,8 @@ public class EventListener implements Listener {
if(event.getAction() == PlayerInteractEvent.Action.RIGHT_CLICK_BLOCK)
preventedCallback(event, () -> NativeCallback.onItemUsed((int) block.x, (int) block.y, (int) block.z, event.getFace().getIndex(), (float) pos.x, (float) pos.y, (float) pos.z, true, player.getHealth() > 0, player.getId()));
else if(action == PlayerInteractEvent.Action.LEFT_CLICK_BLOCK)
preventedCallback(event, () -> NativeCallback._onBlockDestroyStarted((int) block.x, (int) block.y, (int) block.z, event.getFace().getIndex(), player.getId()));
// else if(action == PlayerInteractEvent.Action.LEFT_CLICK_BLOCK)
// preventedCallback(event, () -> NativeCallback._onBlockDestroyStarted((int) block.x, (int) block.y, (int) block.z, event.getFace().getIndex(), player.getId()));
}
@@ -18,6 +18,7 @@ import it.unimi.dsi.fastutil.ints.Int2IntMap;
import it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap;
import org.json.JSONArray;
import org.json.JSONObject;
import android.animation.ValueAnimator;
import java.io.IOException;
import java.util.*;