style: added deprecated/clientOnly NativeGameController/NativeOptions
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
package com.zhekasmirnov.innercore.api;
|
||||
|
||||
import com.reider745.InnerCoreServer;
|
||||
import com.reider745.api.ClientOnly;
|
||||
import org.mozilla.javascript.annotations.JSStaticFunction;
|
||||
import com.zhekasmirnov.apparatus.mcpe.NativeBlockSource;
|
||||
|
||||
|
||||
@Deprecated
|
||||
@ClientOnly
|
||||
public class NativeGameController {
|
||||
@JSStaticFunction// Can break a block that breaks instantly
|
||||
public static boolean startDestroyBlock(int x, int y, int z, int side){
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.reider745.InnerCoreServer;
|
||||
import com.reider745.api.ClientOnly;
|
||||
|
||||
@ClientOnly
|
||||
@Deprecated
|
||||
public class NativeOptions {
|
||||
protected static long getOptionByName(String name){
|
||||
InnerCoreServer.useClientMethod("NativeOptions.getOptionByName");
|
||||
@@ -70,6 +71,8 @@ public class NativeOptions {
|
||||
public static final int INT_SLIDER = 6;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@ClientOnly
|
||||
public static class Option {
|
||||
private final long ptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user