2483 lines
139 KiB
Java
2483 lines
139 KiB
Java
package net.eaglerforge.reflect;
|
|
|
|
import net.minecraft.world.storage.ISaveFormat;
|
|
import net.minecraft.client.resources.model.ModelManager;
|
|
import net.minecraft.util.FrameTimer;
|
|
import net.minecraft.client.renderer.ItemRenderer;
|
|
import net.minecraft.client.renderer.entity.RenderItem;
|
|
import net.minecraft.client.renderer.entity.RenderManager;
|
|
import net.minecraft.client.renderer.BlockRendererDispatcher;
|
|
import net.minecraft.client.audio.SoundHandler;
|
|
import net.minecraft.client.renderer.texture.TextureMap;
|
|
import net.minecraft.client.resources.LanguageManager;
|
|
import net.minecraft.client.resources.ResourcePackRepository;
|
|
import net.minecraft.client.resources.IResourceManager;
|
|
import net.minecraft.client.renderer.texture.TextureManager;
|
|
import net.minecraft.util.Session;
|
|
import net.minecraft.client.multiplayer.ServerData;
|
|
import net.minecraft.client.Minecraft;
|
|
import net.minecraft.client.network.NetHandlerPlayClient;
|
|
import net.minecraft.client.multiplayer.WorldClient;
|
|
import net.minecraft.world.WorldSettings;
|
|
import net.minecraft.client.audio.MusicTicker;
|
|
import net.minecraft.client.gui.GuiScreen;
|
|
import net.minecraft.crash.CrashReport;
|
|
import net.minecraft.client.main.GameConfiguration;
|
|
import net.minecraft.util.IChatComponent;
|
|
import net.minecraft.entity.item.EntityItemFrame;
|
|
import net.minecraft.nbt.NBTBase;
|
|
import net.minecraft.enchantment.Enchantment;
|
|
import net.minecraft.item.EnumRarity;
|
|
import net.minecraft.nbt.NBTTagList;
|
|
import net.minecraft.item.EnumAction;
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.util.BlockPos;
|
|
import net.minecraft.entity.EntityLivingBase;
|
|
import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.world.World;
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
import net.eaglerforge.api.ModData;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.eaglerforge.api.BaseData;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.block.Block;
|
|
import java.lang.String;
|
|
import net.minecraft.client.Minecraft;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.eaglerforge.EaglerForge;
|
|
|
|
import net.eaglerforge.api.*;
|
|
import java.util.ArrayList;
|
|
import java.lang.Exception;
|
|
import org.teavm.jso.JSBody;
|
|
import org.teavm.jso.JSObject;
|
|
import org.teavm.jso.JSFunctor;
|
|
|
|
//AUTOGENERATED BY NOREFLECT
|
|
//Made by ZXMushroom63
|
|
|
|
public class PLReflect extends ModData {
|
|
public static PLReflect makeModData() {
|
|
PLReflect plReflectGlobal = new PLReflect();
|
|
ArrayList<BaseData> reflectProfiles = new ArrayList<BaseData>();
|
|
|
|
// CLASSDEF FOR ItemStack
|
|
BaseData reflect_ItemStack = new ModData();
|
|
|
|
ArrayList<BaseData> reflect_ItemStack_constructors = new ArrayList<BaseData>();
|
|
|
|
BaseData reflect_ItemStack_constructor_ItemStack_0 = new ModData();
|
|
reflect_ItemStack_constructor_ItemStack_0.set("returnType", "ItemStack");
|
|
reflect_ItemStack_constructor_ItemStack_0.set("argnames", new String[] { "blockIn" });
|
|
reflect_ItemStack_constructor_ItemStack_0.set("argtypes", new String[] { "Block" });
|
|
reflect_ItemStack_constructor_ItemStack_0.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
return new ItemStack((Block) params.getReflective("blockIn"));
|
|
});
|
|
|
|
reflect_ItemStack_constructors.add(reflect_ItemStack_constructor_ItemStack_0);
|
|
|
|
BaseData reflect_ItemStack_constructor_ItemStack_1 = new ModData();
|
|
reflect_ItemStack_constructor_ItemStack_1.set("returnType", "ItemStack");
|
|
reflect_ItemStack_constructor_ItemStack_1.set("argnames", new String[] { "blockIn", "amount" });
|
|
reflect_ItemStack_constructor_ItemStack_1.set("argtypes", new String[] { "Block", "int" });
|
|
reflect_ItemStack_constructor_ItemStack_1.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
return new ItemStack((Block) params.getReflective("blockIn"), (int) params.getInt("amount"));
|
|
});
|
|
|
|
reflect_ItemStack_constructors.add(reflect_ItemStack_constructor_ItemStack_1);
|
|
|
|
BaseData reflect_ItemStack_constructor_ItemStack_2 = new ModData();
|
|
reflect_ItemStack_constructor_ItemStack_2.set("returnType", "ItemStack");
|
|
reflect_ItemStack_constructor_ItemStack_2.set("argnames", new String[] { "blockIn", "amount", "meta" });
|
|
reflect_ItemStack_constructor_ItemStack_2.set("argtypes", new String[] { "Block", "int", "int" });
|
|
reflect_ItemStack_constructor_ItemStack_2.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
return new ItemStack((Block) params.getReflective("blockIn"), (int) params.getInt("amount"),
|
|
(int) params.getInt("meta"));
|
|
});
|
|
|
|
reflect_ItemStack_constructors.add(reflect_ItemStack_constructor_ItemStack_2);
|
|
|
|
BaseData reflect_ItemStack_constructor_ItemStack_3 = new ModData();
|
|
reflect_ItemStack_constructor_ItemStack_3.set("returnType", "ItemStack");
|
|
reflect_ItemStack_constructor_ItemStack_3.set("argnames", new String[] { "itemIn" });
|
|
reflect_ItemStack_constructor_ItemStack_3.set("argtypes", new String[] { "Item" });
|
|
reflect_ItemStack_constructor_ItemStack_3.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
return new ItemStack((Item) params.getReflective("itemIn"));
|
|
});
|
|
|
|
reflect_ItemStack_constructors.add(reflect_ItemStack_constructor_ItemStack_3);
|
|
|
|
BaseData reflect_ItemStack_constructor_ItemStack_4 = new ModData();
|
|
reflect_ItemStack_constructor_ItemStack_4.set("returnType", "ItemStack");
|
|
reflect_ItemStack_constructor_ItemStack_4.set("argnames", new String[] { "itemIn", "amount" });
|
|
reflect_ItemStack_constructor_ItemStack_4.set("argtypes", new String[] { "Item", "int" });
|
|
reflect_ItemStack_constructor_ItemStack_4.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
return new ItemStack((Item) params.getReflective("itemIn"), (int) params.getInt("amount"));
|
|
});
|
|
|
|
reflect_ItemStack_constructors.add(reflect_ItemStack_constructor_ItemStack_4);
|
|
|
|
BaseData reflect_ItemStack_constructor_ItemStack_5 = new ModData();
|
|
reflect_ItemStack_constructor_ItemStack_5.set("returnType", "ItemStack");
|
|
reflect_ItemStack_constructor_ItemStack_5.set("argnames", new String[] { "itemIn", "amount", "meta" });
|
|
reflect_ItemStack_constructor_ItemStack_5.set("argtypes", new String[] { "Item", "int", "int" });
|
|
reflect_ItemStack_constructor_ItemStack_5.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
return new ItemStack((Item) params.getReflective("itemIn"), (int) params.getInt("amount"),
|
|
(int) params.getInt("meta"));
|
|
});
|
|
|
|
reflect_ItemStack_constructors.add(reflect_ItemStack_constructor_ItemStack_5);
|
|
|
|
BaseData[] reflect_ItemStack_constructors_arr = new BaseData[reflect_ItemStack_constructors.size()];
|
|
for (int i = 0; i < reflect_ItemStack_constructors_arr.length; i++) {
|
|
reflect_ItemStack_constructors_arr[i] = reflect_ItemStack_constructors.get(i);
|
|
}
|
|
|
|
ArrayList<BaseData> reflect_ItemStack_methods = new ArrayList<BaseData>();
|
|
|
|
BaseData reflect_ItemStack_method_loadModData_0 = new ModData();
|
|
reflect_ItemStack_method_loadModData_0.set("methodName", "loadModData");
|
|
reflect_ItemStack_method_loadModData_0.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_loadModData_0.set("static", false);
|
|
reflect_ItemStack_method_loadModData_0.set("argnames", new String[] { "data" });
|
|
reflect_ItemStack_method_loadModData_0.set("argtypes", new String[] { "BaseData" });
|
|
reflect_ItemStack_method_loadModData_0.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).loadModData((BaseData) params.getReflective("data"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_loadModData_0);
|
|
|
|
BaseData reflect_ItemStack_method_fromModData_1 = new ModData();
|
|
reflect_ItemStack_method_fromModData_1.set("methodName", "fromModData");
|
|
reflect_ItemStack_method_fromModData_1.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_fromModData_1.set("static", true);
|
|
reflect_ItemStack_method_fromModData_1.set("argnames", new String[] { "data" });
|
|
reflect_ItemStack_method_fromModData_1.set("argtypes", new String[] { "BaseData" });
|
|
reflect_ItemStack_method_fromModData_1.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ItemStack.fromModData((BaseData) params.getReflective("data"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_fromModData_1);
|
|
|
|
BaseData reflect_ItemStack_method_makeModData_2 = new ModData();
|
|
reflect_ItemStack_method_makeModData_2.set("methodName", "makeModData");
|
|
reflect_ItemStack_method_makeModData_2.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_makeModData_2.set("static", false);
|
|
reflect_ItemStack_method_makeModData_2.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_makeModData_2.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_makeModData_2.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ModData) ((ItemStack) params.getReflective("_self")).makeModData();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_makeModData_2);
|
|
|
|
BaseData reflect_ItemStack_method_loadItemStackFromNBT_3 = new ModData();
|
|
reflect_ItemStack_method_loadItemStackFromNBT_3.set("methodName", "loadItemStackFromNBT");
|
|
reflect_ItemStack_method_loadItemStackFromNBT_3.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_loadItemStackFromNBT_3.set("static", true);
|
|
reflect_ItemStack_method_loadItemStackFromNBT_3.set("argnames", new String[] { "nbt" });
|
|
reflect_ItemStack_method_loadItemStackFromNBT_3.set("argtypes", new String[] { "NBTTagCompound" });
|
|
reflect_ItemStack_method_loadItemStackFromNBT_3.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ItemStack.loadItemStackFromNBT((NBTTagCompound) params.getReflective("nbt"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_loadItemStackFromNBT_3);
|
|
|
|
BaseData reflect_ItemStack_method_splitStack_4 = new ModData();
|
|
reflect_ItemStack_method_splitStack_4.set("methodName", "splitStack");
|
|
reflect_ItemStack_method_splitStack_4.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_splitStack_4.set("static", false);
|
|
reflect_ItemStack_method_splitStack_4.set("argnames", new String[] { "amount" });
|
|
reflect_ItemStack_method_splitStack_4.set("argtypes", new String[] { "int" });
|
|
reflect_ItemStack_method_splitStack_4.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ((ItemStack) params.getReflective("_self"))
|
|
.splitStack((int) params.getInt("amount"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_splitStack_4);
|
|
|
|
BaseData reflect_ItemStack_method_getItem_5 = new ModData();
|
|
reflect_ItemStack_method_getItem_5.set("methodName", "getItem");
|
|
reflect_ItemStack_method_getItem_5.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getItem_5.set("static", false);
|
|
reflect_ItemStack_method_getItem_5.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getItem_5.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getItem_5.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (Item) ((ItemStack) params.getReflective("_self")).getItem();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getItem_5);
|
|
|
|
BaseData reflect_ItemStack_method_getStrVsBlock_6 = new ModData();
|
|
reflect_ItemStack_method_getStrVsBlock_6.set("methodName", "getStrVsBlock");
|
|
reflect_ItemStack_method_getStrVsBlock_6.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getStrVsBlock_6.set("static", false);
|
|
reflect_ItemStack_method_getStrVsBlock_6.set("argnames", new String[] { "blockIn" });
|
|
reflect_ItemStack_method_getStrVsBlock_6.set("argtypes", new String[] { "Block" });
|
|
reflect_ItemStack_method_getStrVsBlock_6.setCallbackFloatWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (float) ((ItemStack) params.getReflective("_self"))
|
|
.getStrVsBlock((Block) params.getReflective("blockIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0.0f;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getStrVsBlock_6);
|
|
|
|
BaseData reflect_ItemStack_method_useItemRightClick_7 = new ModData();
|
|
reflect_ItemStack_method_useItemRightClick_7.set("methodName", "useItemRightClick");
|
|
reflect_ItemStack_method_useItemRightClick_7.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_useItemRightClick_7.set("static", false);
|
|
reflect_ItemStack_method_useItemRightClick_7.set("argnames", new String[] { "worldIn", "playerIn" });
|
|
reflect_ItemStack_method_useItemRightClick_7.set("argtypes", new String[] { "World", "EntityPlayer" });
|
|
reflect_ItemStack_method_useItemRightClick_7.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ((ItemStack) params.getReflective("_self")).useItemRightClick(
|
|
(World) params.getReflective("worldIn"), (EntityPlayer) params.getReflective("playerIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_useItemRightClick_7);
|
|
|
|
BaseData reflect_ItemStack_method_onItemUseFinish_8 = new ModData();
|
|
reflect_ItemStack_method_onItemUseFinish_8.set("methodName", "onItemUseFinish");
|
|
reflect_ItemStack_method_onItemUseFinish_8.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_onItemUseFinish_8.set("static", false);
|
|
reflect_ItemStack_method_onItemUseFinish_8.set("argnames", new String[] { "worldIn", "playerIn" });
|
|
reflect_ItemStack_method_onItemUseFinish_8.set("argtypes", new String[] { "World", "EntityPlayer" });
|
|
reflect_ItemStack_method_onItemUseFinish_8.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ((ItemStack) params.getReflective("_self")).onItemUseFinish(
|
|
(World) params.getReflective("worldIn"), (EntityPlayer) params.getReflective("playerIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_onItemUseFinish_8);
|
|
|
|
BaseData reflect_ItemStack_method_writeToNBT_9 = new ModData();
|
|
reflect_ItemStack_method_writeToNBT_9.set("methodName", "writeToNBT");
|
|
reflect_ItemStack_method_writeToNBT_9.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_writeToNBT_9.set("static", false);
|
|
reflect_ItemStack_method_writeToNBT_9.set("argnames", new String[] { "nbt" });
|
|
reflect_ItemStack_method_writeToNBT_9.set("argtypes", new String[] { "NBTTagCompound" });
|
|
reflect_ItemStack_method_writeToNBT_9.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (NBTTagCompound) ((ItemStack) params.getReflective("_self"))
|
|
.writeToNBT((NBTTagCompound) params.getReflective("nbt"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_writeToNBT_9);
|
|
|
|
BaseData reflect_ItemStack_method_toNBT_10 = new ModData();
|
|
reflect_ItemStack_method_toNBT_10.set("methodName", "toNBT");
|
|
reflect_ItemStack_method_toNBT_10.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_toNBT_10.set("static", false);
|
|
reflect_ItemStack_method_toNBT_10.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_toNBT_10.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_toNBT_10.setCallbackStringWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (String) ((ItemStack) params.getReflective("_self")).toNBT();
|
|
} catch (Exception _exception_reflect_) {
|
|
return "";
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_toNBT_10);
|
|
|
|
BaseData reflect_ItemStack_method_fromNBT_11 = new ModData();
|
|
reflect_ItemStack_method_fromNBT_11.set("methodName", "fromNBT");
|
|
reflect_ItemStack_method_fromNBT_11.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_fromNBT_11.set("static", false);
|
|
reflect_ItemStack_method_fromNBT_11.set("argnames", new String[] { "nbt" });
|
|
reflect_ItemStack_method_fromNBT_11.set("argtypes", new String[] { "String" });
|
|
reflect_ItemStack_method_fromNBT_11.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).fromNBT((String) params.getString("nbt"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_fromNBT_11);
|
|
|
|
BaseData reflect_ItemStack_method_readFromNBT_12 = new ModData();
|
|
reflect_ItemStack_method_readFromNBT_12.set("methodName", "readFromNBT");
|
|
reflect_ItemStack_method_readFromNBT_12.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_readFromNBT_12.set("static", false);
|
|
reflect_ItemStack_method_readFromNBT_12.set("argnames", new String[] { "nbt" });
|
|
reflect_ItemStack_method_readFromNBT_12.set("argtypes", new String[] { "NBTTagCompound" });
|
|
reflect_ItemStack_method_readFromNBT_12.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).readFromNBT((NBTTagCompound) params.getReflective("nbt"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_readFromNBT_12);
|
|
|
|
BaseData reflect_ItemStack_method_getMaxStackSize_13 = new ModData();
|
|
reflect_ItemStack_method_getMaxStackSize_13.set("methodName", "getMaxStackSize");
|
|
reflect_ItemStack_method_getMaxStackSize_13.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getMaxStackSize_13.set("static", false);
|
|
reflect_ItemStack_method_getMaxStackSize_13.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getMaxStackSize_13.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getMaxStackSize_13.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) ((ItemStack) params.getReflective("_self")).getMaxStackSize();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getMaxStackSize_13);
|
|
|
|
BaseData reflect_ItemStack_method_isStackable_14 = new ModData();
|
|
reflect_ItemStack_method_isStackable_14.set("methodName", "isStackable");
|
|
reflect_ItemStack_method_isStackable_14.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_isStackable_14.set("static", false);
|
|
reflect_ItemStack_method_isStackable_14.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_isStackable_14.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_isStackable_14.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).isStackable();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_isStackable_14);
|
|
|
|
BaseData reflect_ItemStack_method_isItemStackDamageable_15 = new ModData();
|
|
reflect_ItemStack_method_isItemStackDamageable_15.set("methodName", "isItemStackDamageable");
|
|
reflect_ItemStack_method_isItemStackDamageable_15.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_isItemStackDamageable_15.set("static", false);
|
|
reflect_ItemStack_method_isItemStackDamageable_15.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_isItemStackDamageable_15.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_isItemStackDamageable_15.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).isItemStackDamageable();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_isItemStackDamageable_15);
|
|
|
|
BaseData reflect_ItemStack_method_getHasSubtypes_16 = new ModData();
|
|
reflect_ItemStack_method_getHasSubtypes_16.set("methodName", "getHasSubtypes");
|
|
reflect_ItemStack_method_getHasSubtypes_16.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getHasSubtypes_16.set("static", false);
|
|
reflect_ItemStack_method_getHasSubtypes_16.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getHasSubtypes_16.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getHasSubtypes_16.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).getHasSubtypes();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getHasSubtypes_16);
|
|
|
|
BaseData reflect_ItemStack_method_isItemDamaged_17 = new ModData();
|
|
reflect_ItemStack_method_isItemDamaged_17.set("methodName", "isItemDamaged");
|
|
reflect_ItemStack_method_isItemDamaged_17.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_isItemDamaged_17.set("static", false);
|
|
reflect_ItemStack_method_isItemDamaged_17.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_isItemDamaged_17.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_isItemDamaged_17.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).isItemDamaged();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_isItemDamaged_17);
|
|
|
|
BaseData reflect_ItemStack_method_getItemDamage_18 = new ModData();
|
|
reflect_ItemStack_method_getItemDamage_18.set("methodName", "getItemDamage");
|
|
reflect_ItemStack_method_getItemDamage_18.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getItemDamage_18.set("static", false);
|
|
reflect_ItemStack_method_getItemDamage_18.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getItemDamage_18.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getItemDamage_18.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) ((ItemStack) params.getReflective("_self")).getItemDamage();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getItemDamage_18);
|
|
|
|
BaseData reflect_ItemStack_method_getMetadata_19 = new ModData();
|
|
reflect_ItemStack_method_getMetadata_19.set("methodName", "getMetadata");
|
|
reflect_ItemStack_method_getMetadata_19.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getMetadata_19.set("static", false);
|
|
reflect_ItemStack_method_getMetadata_19.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getMetadata_19.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getMetadata_19.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) ((ItemStack) params.getReflective("_self")).getMetadata();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getMetadata_19);
|
|
|
|
BaseData reflect_ItemStack_method_setItemDamage_20 = new ModData();
|
|
reflect_ItemStack_method_setItemDamage_20.set("methodName", "setItemDamage");
|
|
reflect_ItemStack_method_setItemDamage_20.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setItemDamage_20.set("static", false);
|
|
reflect_ItemStack_method_setItemDamage_20.set("argnames", new String[] { "meta" });
|
|
reflect_ItemStack_method_setItemDamage_20.set("argtypes", new String[] { "int" });
|
|
reflect_ItemStack_method_setItemDamage_20.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).setItemDamage((int) params.getInt("meta"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setItemDamage_20);
|
|
|
|
BaseData reflect_ItemStack_method_getMaxDamage_21 = new ModData();
|
|
reflect_ItemStack_method_getMaxDamage_21.set("methodName", "getMaxDamage");
|
|
reflect_ItemStack_method_getMaxDamage_21.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getMaxDamage_21.set("static", false);
|
|
reflect_ItemStack_method_getMaxDamage_21.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getMaxDamage_21.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getMaxDamage_21.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) ((ItemStack) params.getReflective("_self")).getMaxDamage();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getMaxDamage_21);
|
|
|
|
BaseData reflect_ItemStack_method_attemptDamageItem_22 = new ModData();
|
|
reflect_ItemStack_method_attemptDamageItem_22.set("methodName", "attemptDamageItem");
|
|
reflect_ItemStack_method_attemptDamageItem_22.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_attemptDamageItem_22.set("static", false);
|
|
reflect_ItemStack_method_attemptDamageItem_22.set("argnames", new String[] { "amount", "rand" });
|
|
reflect_ItemStack_method_attemptDamageItem_22.set("argtypes", new String[] { "int", "EaglercraftRandom" });
|
|
reflect_ItemStack_method_attemptDamageItem_22.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).attemptDamageItem(
|
|
(int) params.getInt("amount"), (EaglercraftRandom) params.getReflective("rand"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_attemptDamageItem_22);
|
|
|
|
BaseData reflect_ItemStack_method_damageItem_23 = new ModData();
|
|
reflect_ItemStack_method_damageItem_23.set("methodName", "damageItem");
|
|
reflect_ItemStack_method_damageItem_23.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_damageItem_23.set("static", false);
|
|
reflect_ItemStack_method_damageItem_23.set("argnames", new String[] { "amount", "entityIn" });
|
|
reflect_ItemStack_method_damageItem_23.set("argtypes", new String[] { "int", "EntityLivingBase" });
|
|
reflect_ItemStack_method_damageItem_23.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).damageItem((int) params.getInt("amount"),
|
|
(EntityLivingBase) params.getReflective("entityIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_damageItem_23);
|
|
|
|
BaseData reflect_ItemStack_method_hitEntity_24 = new ModData();
|
|
reflect_ItemStack_method_hitEntity_24.set("methodName", "hitEntity");
|
|
reflect_ItemStack_method_hitEntity_24.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_hitEntity_24.set("static", false);
|
|
reflect_ItemStack_method_hitEntity_24.set("argnames", new String[] { "entityIn", "playerIn" });
|
|
reflect_ItemStack_method_hitEntity_24.set("argtypes", new String[] { "EntityLivingBase", "EntityPlayer" });
|
|
reflect_ItemStack_method_hitEntity_24.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).hitEntity(
|
|
(EntityLivingBase) params.getReflective("entityIn"),
|
|
(EntityPlayer) params.getReflective("playerIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_hitEntity_24);
|
|
|
|
BaseData reflect_ItemStack_method_onBlockDestroyed_25 = new ModData();
|
|
reflect_ItemStack_method_onBlockDestroyed_25.set("methodName", "onBlockDestroyed");
|
|
reflect_ItemStack_method_onBlockDestroyed_25.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_onBlockDestroyed_25.set("static", false);
|
|
reflect_ItemStack_method_onBlockDestroyed_25.set("argnames",
|
|
new String[] { "worldIn", "blockIn", "pos", "playerIn" });
|
|
reflect_ItemStack_method_onBlockDestroyed_25.set("argtypes",
|
|
new String[] { "World", "Block", "BlockPos", "EntityPlayer" });
|
|
reflect_ItemStack_method_onBlockDestroyed_25.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).onBlockDestroyed((World) params.getReflective("worldIn"),
|
|
(Block) params.getReflective("blockIn"), (BlockPos) params.getReflective("pos"),
|
|
(EntityPlayer) params.getReflective("playerIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_onBlockDestroyed_25);
|
|
|
|
BaseData reflect_ItemStack_method_canHarvestBlock_26 = new ModData();
|
|
reflect_ItemStack_method_canHarvestBlock_26.set("methodName", "canHarvestBlock");
|
|
reflect_ItemStack_method_canHarvestBlock_26.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_canHarvestBlock_26.set("static", false);
|
|
reflect_ItemStack_method_canHarvestBlock_26.set("argnames", new String[] { "blockIn" });
|
|
reflect_ItemStack_method_canHarvestBlock_26.set("argtypes", new String[] { "Block" });
|
|
reflect_ItemStack_method_canHarvestBlock_26.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self"))
|
|
.canHarvestBlock((Block) params.getReflective("blockIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_canHarvestBlock_26);
|
|
|
|
BaseData reflect_ItemStack_method_interactWithEntity_27 = new ModData();
|
|
reflect_ItemStack_method_interactWithEntity_27.set("methodName", "interactWithEntity");
|
|
reflect_ItemStack_method_interactWithEntity_27.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_interactWithEntity_27.set("static", false);
|
|
reflect_ItemStack_method_interactWithEntity_27.set("argnames", new String[] { "playerIn", "entityIn" });
|
|
reflect_ItemStack_method_interactWithEntity_27.set("argtypes",
|
|
new String[] { "EntityPlayer", "EntityLivingBase" });
|
|
reflect_ItemStack_method_interactWithEntity_27.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).interactWithEntity(
|
|
(EntityPlayer) params.getReflective("playerIn"),
|
|
(EntityLivingBase) params.getReflective("entityIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_interactWithEntity_27);
|
|
|
|
BaseData reflect_ItemStack_method_copy_28 = new ModData();
|
|
reflect_ItemStack_method_copy_28.set("methodName", "copy");
|
|
reflect_ItemStack_method_copy_28.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_copy_28.set("static", false);
|
|
reflect_ItemStack_method_copy_28.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_copy_28.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_copy_28.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ((ItemStack) params.getReflective("_self")).copy();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_copy_28);
|
|
|
|
BaseData reflect_ItemStack_method_areItemStackTagsEqual_29 = new ModData();
|
|
reflect_ItemStack_method_areItemStackTagsEqual_29.set("methodName", "areItemStackTagsEqual");
|
|
reflect_ItemStack_method_areItemStackTagsEqual_29.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_areItemStackTagsEqual_29.set("static", true);
|
|
reflect_ItemStack_method_areItemStackTagsEqual_29.set("argnames", new String[] { "stackA", "stackB" });
|
|
reflect_ItemStack_method_areItemStackTagsEqual_29.set("argtypes", new String[] { "ItemStack", "ItemStack" });
|
|
reflect_ItemStack_method_areItemStackTagsEqual_29.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ItemStack.areItemStackTagsEqual((ItemStack) params.getReflective("stackA"),
|
|
(ItemStack) params.getReflective("stackB"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_areItemStackTagsEqual_29);
|
|
|
|
BaseData reflect_ItemStack_method_areItemStacksEqual_30 = new ModData();
|
|
reflect_ItemStack_method_areItemStacksEqual_30.set("methodName", "areItemStacksEqual");
|
|
reflect_ItemStack_method_areItemStacksEqual_30.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_areItemStacksEqual_30.set("static", true);
|
|
reflect_ItemStack_method_areItemStacksEqual_30.set("argnames", new String[] { "stackA", "stackB" });
|
|
reflect_ItemStack_method_areItemStacksEqual_30.set("argtypes", new String[] { "ItemStack", "ItemStack" });
|
|
reflect_ItemStack_method_areItemStacksEqual_30.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ItemStack.areItemStacksEqual((ItemStack) params.getReflective("stackA"),
|
|
(ItemStack) params.getReflective("stackB"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_areItemStacksEqual_30);
|
|
|
|
BaseData reflect_ItemStack_method_areItemsEqual_31 = new ModData();
|
|
reflect_ItemStack_method_areItemsEqual_31.set("methodName", "areItemsEqual");
|
|
reflect_ItemStack_method_areItemsEqual_31.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_areItemsEqual_31.set("static", true);
|
|
reflect_ItemStack_method_areItemsEqual_31.set("argnames", new String[] { "stackA", "stackB" });
|
|
reflect_ItemStack_method_areItemsEqual_31.set("argtypes", new String[] { "ItemStack", "ItemStack" });
|
|
reflect_ItemStack_method_areItemsEqual_31.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ItemStack.areItemsEqual((ItemStack) params.getReflective("stackA"),
|
|
(ItemStack) params.getReflective("stackB"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_areItemsEqual_31);
|
|
|
|
BaseData reflect_ItemStack_method_isItemEqual_32 = new ModData();
|
|
reflect_ItemStack_method_isItemEqual_32.set("methodName", "isItemEqual");
|
|
reflect_ItemStack_method_isItemEqual_32.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_isItemEqual_32.set("static", false);
|
|
reflect_ItemStack_method_isItemEqual_32.set("argnames", new String[] { "other" });
|
|
reflect_ItemStack_method_isItemEqual_32.set("argtypes", new String[] { "ItemStack" });
|
|
reflect_ItemStack_method_isItemEqual_32.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self"))
|
|
.isItemEqual((ItemStack) params.getReflective("other"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_isItemEqual_32);
|
|
|
|
BaseData reflect_ItemStack_method_getUnlocalizedName_33 = new ModData();
|
|
reflect_ItemStack_method_getUnlocalizedName_33.set("methodName", "getUnlocalizedName");
|
|
reflect_ItemStack_method_getUnlocalizedName_33.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getUnlocalizedName_33.set("static", false);
|
|
reflect_ItemStack_method_getUnlocalizedName_33.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getUnlocalizedName_33.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getUnlocalizedName_33.setCallbackStringWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (String) ((ItemStack) params.getReflective("_self")).getUnlocalizedName();
|
|
} catch (Exception _exception_reflect_) {
|
|
return "";
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getUnlocalizedName_33);
|
|
|
|
BaseData reflect_ItemStack_method_copyItemStack_34 = new ModData();
|
|
reflect_ItemStack_method_copyItemStack_34.set("methodName", "copyItemStack");
|
|
reflect_ItemStack_method_copyItemStack_34.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_copyItemStack_34.set("static", true);
|
|
reflect_ItemStack_method_copyItemStack_34.set("argnames", new String[] { "stack" });
|
|
reflect_ItemStack_method_copyItemStack_34.set("argtypes", new String[] { "ItemStack" });
|
|
reflect_ItemStack_method_copyItemStack_34.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ItemStack.copyItemStack((ItemStack) params.getReflective("stack"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_copyItemStack_34);
|
|
|
|
BaseData reflect_ItemStack_method_toString_35 = new ModData();
|
|
reflect_ItemStack_method_toString_35.set("methodName", "toString");
|
|
reflect_ItemStack_method_toString_35.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_toString_35.set("static", false);
|
|
reflect_ItemStack_method_toString_35.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_toString_35.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_toString_35.setCallbackStringWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (String) ((ItemStack) params.getReflective("_self")).toString();
|
|
} catch (Exception _exception_reflect_) {
|
|
return "";
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_toString_35);
|
|
|
|
BaseData reflect_ItemStack_method_updateAnimation_36 = new ModData();
|
|
reflect_ItemStack_method_updateAnimation_36.set("methodName", "updateAnimation");
|
|
reflect_ItemStack_method_updateAnimation_36.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_updateAnimation_36.set("static", false);
|
|
reflect_ItemStack_method_updateAnimation_36.set("argnames",
|
|
new String[] { "worldIn", "entityIn", "inventorySlot", "isCurrentItem" });
|
|
reflect_ItemStack_method_updateAnimation_36.set("argtypes",
|
|
new String[] { "World", "Entity", "int", "boolean" });
|
|
reflect_ItemStack_method_updateAnimation_36.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).updateAnimation((World) params.getReflective("worldIn"),
|
|
(Entity) params.getReflective("entityIn"), (int) params.getInt("inventorySlot"),
|
|
(boolean) params.getBoolean("isCurrentItem"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_updateAnimation_36);
|
|
|
|
BaseData reflect_ItemStack_method_onCrafting_37 = new ModData();
|
|
reflect_ItemStack_method_onCrafting_37.set("methodName", "onCrafting");
|
|
reflect_ItemStack_method_onCrafting_37.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_onCrafting_37.set("static", false);
|
|
reflect_ItemStack_method_onCrafting_37.set("argnames", new String[] { "worldIn", "playerIn", "amount" });
|
|
reflect_ItemStack_method_onCrafting_37.set("argtypes", new String[] { "World", "EntityPlayer", "int" });
|
|
reflect_ItemStack_method_onCrafting_37.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).onCrafting((World) params.getReflective("worldIn"),
|
|
(EntityPlayer) params.getReflective("playerIn"), (int) params.getInt("amount"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_onCrafting_37);
|
|
|
|
BaseData reflect_ItemStack_method_getIsItemStackEqual_38 = new ModData();
|
|
reflect_ItemStack_method_getIsItemStackEqual_38.set("methodName", "getIsItemStackEqual");
|
|
reflect_ItemStack_method_getIsItemStackEqual_38.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getIsItemStackEqual_38.set("static", false);
|
|
reflect_ItemStack_method_getIsItemStackEqual_38.set("argnames", new String[] { "parItemStack" });
|
|
reflect_ItemStack_method_getIsItemStackEqual_38.set("argtypes", new String[] { "ItemStack" });
|
|
reflect_ItemStack_method_getIsItemStackEqual_38.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self"))
|
|
.getIsItemStackEqual((ItemStack) params.getReflective("parItemStack"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getIsItemStackEqual_38);
|
|
|
|
BaseData reflect_ItemStack_method_getMaxItemUseDuration_39 = new ModData();
|
|
reflect_ItemStack_method_getMaxItemUseDuration_39.set("methodName", "getMaxItemUseDuration");
|
|
reflect_ItemStack_method_getMaxItemUseDuration_39.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getMaxItemUseDuration_39.set("static", false);
|
|
reflect_ItemStack_method_getMaxItemUseDuration_39.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getMaxItemUseDuration_39.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getMaxItemUseDuration_39.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) ((ItemStack) params.getReflective("_self")).getMaxItemUseDuration();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getMaxItemUseDuration_39);
|
|
|
|
BaseData reflect_ItemStack_method_getItemUseAction_40 = new ModData();
|
|
reflect_ItemStack_method_getItemUseAction_40.set("methodName", "getItemUseAction");
|
|
reflect_ItemStack_method_getItemUseAction_40.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getItemUseAction_40.set("static", false);
|
|
reflect_ItemStack_method_getItemUseAction_40.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getItemUseAction_40.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getItemUseAction_40.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (EnumAction) ((ItemStack) params.getReflective("_self")).getItemUseAction();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getItemUseAction_40);
|
|
|
|
BaseData reflect_ItemStack_method_onPlayerStoppedUsing_41 = new ModData();
|
|
reflect_ItemStack_method_onPlayerStoppedUsing_41.set("methodName", "onPlayerStoppedUsing");
|
|
reflect_ItemStack_method_onPlayerStoppedUsing_41.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_onPlayerStoppedUsing_41.set("static", false);
|
|
reflect_ItemStack_method_onPlayerStoppedUsing_41.set("argnames",
|
|
new String[] { "worldIn", "playerIn", "timeLeft" });
|
|
reflect_ItemStack_method_onPlayerStoppedUsing_41.set("argtypes",
|
|
new String[] { "World", "EntityPlayer", "int" });
|
|
reflect_ItemStack_method_onPlayerStoppedUsing_41.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).onPlayerStoppedUsing(
|
|
(World) params.getReflective("worldIn"), (EntityPlayer) params.getReflective("playerIn"),
|
|
(int) params.getInt("timeLeft"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_onPlayerStoppedUsing_41);
|
|
|
|
BaseData reflect_ItemStack_method_hasTagCompound_42 = new ModData();
|
|
reflect_ItemStack_method_hasTagCompound_42.set("methodName", "hasTagCompound");
|
|
reflect_ItemStack_method_hasTagCompound_42.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_hasTagCompound_42.set("static", false);
|
|
reflect_ItemStack_method_hasTagCompound_42.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_hasTagCompound_42.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_hasTagCompound_42.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).hasTagCompound();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_hasTagCompound_42);
|
|
|
|
BaseData reflect_ItemStack_method_getTagCompound_43 = new ModData();
|
|
reflect_ItemStack_method_getTagCompound_43.set("methodName", "getTagCompound");
|
|
reflect_ItemStack_method_getTagCompound_43.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getTagCompound_43.set("static", false);
|
|
reflect_ItemStack_method_getTagCompound_43.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getTagCompound_43.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getTagCompound_43.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (NBTTagCompound) ((ItemStack) params.getReflective("_self")).getTagCompound();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getTagCompound_43);
|
|
|
|
BaseData reflect_ItemStack_method_getSubCompound_44 = new ModData();
|
|
reflect_ItemStack_method_getSubCompound_44.set("methodName", "getSubCompound");
|
|
reflect_ItemStack_method_getSubCompound_44.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getSubCompound_44.set("static", false);
|
|
reflect_ItemStack_method_getSubCompound_44.set("argnames", new String[] { "key", "create" });
|
|
reflect_ItemStack_method_getSubCompound_44.set("argtypes", new String[] { "String", "boolean" });
|
|
reflect_ItemStack_method_getSubCompound_44.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (NBTTagCompound) ((ItemStack) params.getReflective("_self"))
|
|
.getSubCompound((String) params.getString("key"), (boolean) params.getBoolean("create"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getSubCompound_44);
|
|
|
|
BaseData reflect_ItemStack_method_getEnchantmentTagList_45 = new ModData();
|
|
reflect_ItemStack_method_getEnchantmentTagList_45.set("methodName", "getEnchantmentTagList");
|
|
reflect_ItemStack_method_getEnchantmentTagList_45.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getEnchantmentTagList_45.set("static", false);
|
|
reflect_ItemStack_method_getEnchantmentTagList_45.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getEnchantmentTagList_45.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getEnchantmentTagList_45.setCallbackReflectiveWithDataArg("exec",
|
|
(BaseData params) -> {
|
|
try {
|
|
return (NBTTagList) ((ItemStack) params.getReflective("_self")).getEnchantmentTagList();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getEnchantmentTagList_45);
|
|
|
|
BaseData reflect_ItemStack_method_setTagCompound_46 = new ModData();
|
|
reflect_ItemStack_method_setTagCompound_46.set("methodName", "setTagCompound");
|
|
reflect_ItemStack_method_setTagCompound_46.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setTagCompound_46.set("static", false);
|
|
reflect_ItemStack_method_setTagCompound_46.set("argnames", new String[] { "nbt" });
|
|
reflect_ItemStack_method_setTagCompound_46.set("argtypes", new String[] { "NBTTagCompound" });
|
|
reflect_ItemStack_method_setTagCompound_46.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self"))
|
|
.setTagCompound((NBTTagCompound) params.getReflective("nbt"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setTagCompound_46);
|
|
|
|
BaseData reflect_ItemStack_method_getDisplayName_47 = new ModData();
|
|
reflect_ItemStack_method_getDisplayName_47.set("methodName", "getDisplayName");
|
|
reflect_ItemStack_method_getDisplayName_47.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getDisplayName_47.set("static", false);
|
|
reflect_ItemStack_method_getDisplayName_47.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getDisplayName_47.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getDisplayName_47.setCallbackStringWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (String) ((ItemStack) params.getReflective("_self")).getDisplayName();
|
|
} catch (Exception _exception_reflect_) {
|
|
return "";
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getDisplayName_47);
|
|
|
|
BaseData reflect_ItemStack_method_setStackDisplayName_48 = new ModData();
|
|
reflect_ItemStack_method_setStackDisplayName_48.set("methodName", "setStackDisplayName");
|
|
reflect_ItemStack_method_setStackDisplayName_48.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setStackDisplayName_48.set("static", false);
|
|
reflect_ItemStack_method_setStackDisplayName_48.set("argnames", new String[] { "displayName" });
|
|
reflect_ItemStack_method_setStackDisplayName_48.set("argtypes", new String[] { "String" });
|
|
reflect_ItemStack_method_setStackDisplayName_48.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemStack) ((ItemStack) params.getReflective("_self"))
|
|
.setStackDisplayName((String) params.getString("displayName"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setStackDisplayName_48);
|
|
|
|
BaseData reflect_ItemStack_method_setLore_49 = new ModData();
|
|
reflect_ItemStack_method_setLore_49.set("methodName", "setLore");
|
|
reflect_ItemStack_method_setLore_49.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setLore_49.set("static", false);
|
|
reflect_ItemStack_method_setLore_49.set("argnames", new String[] { "loreIn" });
|
|
reflect_ItemStack_method_setLore_49.set("argtypes", new String[] { "String[]" });
|
|
reflect_ItemStack_method_setLore_49.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).setLore((String[]) params.getReflective("loreIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setLore_49);
|
|
|
|
BaseData reflect_ItemStack_method_getLore_50 = new ModData();
|
|
reflect_ItemStack_method_getLore_50.set("methodName", "getLore");
|
|
reflect_ItemStack_method_getLore_50.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getLore_50.set("static", false);
|
|
reflect_ItemStack_method_getLore_50.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getLore_50.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getLore_50.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (String[]) ((ItemStack) params.getReflective("_self")).getLore();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getLore_50);
|
|
|
|
BaseData reflect_ItemStack_method_clearCustomName_51 = new ModData();
|
|
reflect_ItemStack_method_clearCustomName_51.set("methodName", "clearCustomName");
|
|
reflect_ItemStack_method_clearCustomName_51.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_clearCustomName_51.set("static", false);
|
|
reflect_ItemStack_method_clearCustomName_51.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_clearCustomName_51.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_clearCustomName_51.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).clearCustomName();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_clearCustomName_51);
|
|
|
|
BaseData reflect_ItemStack_method_hasDisplayName_52 = new ModData();
|
|
reflect_ItemStack_method_hasDisplayName_52.set("methodName", "hasDisplayName");
|
|
reflect_ItemStack_method_hasDisplayName_52.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_hasDisplayName_52.set("static", false);
|
|
reflect_ItemStack_method_hasDisplayName_52.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_hasDisplayName_52.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_hasDisplayName_52.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).hasDisplayName();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_hasDisplayName_52);
|
|
|
|
BaseData reflect_ItemStack_method_hasEffect_53 = new ModData();
|
|
reflect_ItemStack_method_hasEffect_53.set("methodName", "hasEffect");
|
|
reflect_ItemStack_method_hasEffect_53.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_hasEffect_53.set("static", false);
|
|
reflect_ItemStack_method_hasEffect_53.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_hasEffect_53.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_hasEffect_53.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).hasEffect();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_hasEffect_53);
|
|
|
|
BaseData reflect_ItemStack_method_getRarity_54 = new ModData();
|
|
reflect_ItemStack_method_getRarity_54.set("methodName", "getRarity");
|
|
reflect_ItemStack_method_getRarity_54.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getRarity_54.set("static", false);
|
|
reflect_ItemStack_method_getRarity_54.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getRarity_54.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getRarity_54.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (EnumRarity) ((ItemStack) params.getReflective("_self")).getRarity();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getRarity_54);
|
|
|
|
BaseData reflect_ItemStack_method_isItemEnchantable_55 = new ModData();
|
|
reflect_ItemStack_method_isItemEnchantable_55.set("methodName", "isItemEnchantable");
|
|
reflect_ItemStack_method_isItemEnchantable_55.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_isItemEnchantable_55.set("static", false);
|
|
reflect_ItemStack_method_isItemEnchantable_55.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_isItemEnchantable_55.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_isItemEnchantable_55.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).isItemEnchantable();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_isItemEnchantable_55);
|
|
|
|
BaseData reflect_ItemStack_method_addEnchantment_56 = new ModData();
|
|
reflect_ItemStack_method_addEnchantment_56.set("methodName", "addEnchantment");
|
|
reflect_ItemStack_method_addEnchantment_56.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_addEnchantment_56.set("static", false);
|
|
reflect_ItemStack_method_addEnchantment_56.set("argnames", new String[] { "ench", "level" });
|
|
reflect_ItemStack_method_addEnchantment_56.set("argtypes", new String[] { "Enchantment", "int" });
|
|
reflect_ItemStack_method_addEnchantment_56.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).addEnchantment((Enchantment) params.getReflective("ench"),
|
|
(int) params.getInt("level"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_addEnchantment_56);
|
|
|
|
BaseData reflect_ItemStack_method_isItemEnchanted_57 = new ModData();
|
|
reflect_ItemStack_method_isItemEnchanted_57.set("methodName", "isItemEnchanted");
|
|
reflect_ItemStack_method_isItemEnchanted_57.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_isItemEnchanted_57.set("static", false);
|
|
reflect_ItemStack_method_isItemEnchanted_57.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_isItemEnchanted_57.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_isItemEnchanted_57.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).isItemEnchanted();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_isItemEnchanted_57);
|
|
|
|
BaseData reflect_ItemStack_method_setTagInfo_58 = new ModData();
|
|
reflect_ItemStack_method_setTagInfo_58.set("methodName", "setTagInfo");
|
|
reflect_ItemStack_method_setTagInfo_58.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setTagInfo_58.set("static", false);
|
|
reflect_ItemStack_method_setTagInfo_58.set("argnames", new String[] { "key", "value" });
|
|
reflect_ItemStack_method_setTagInfo_58.set("argtypes", new String[] { "String", "NBTBase" });
|
|
reflect_ItemStack_method_setTagInfo_58.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).setTagInfo((String) params.getString("key"),
|
|
(NBTBase) params.getReflective("value"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setTagInfo_58);
|
|
|
|
BaseData reflect_ItemStack_method_canEditBlocks_59 = new ModData();
|
|
reflect_ItemStack_method_canEditBlocks_59.set("methodName", "canEditBlocks");
|
|
reflect_ItemStack_method_canEditBlocks_59.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_canEditBlocks_59.set("static", false);
|
|
reflect_ItemStack_method_canEditBlocks_59.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_canEditBlocks_59.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_canEditBlocks_59.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).canEditBlocks();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_canEditBlocks_59);
|
|
|
|
BaseData reflect_ItemStack_method_isOnItemFrame_60 = new ModData();
|
|
reflect_ItemStack_method_isOnItemFrame_60.set("methodName", "isOnItemFrame");
|
|
reflect_ItemStack_method_isOnItemFrame_60.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_isOnItemFrame_60.set("static", false);
|
|
reflect_ItemStack_method_isOnItemFrame_60.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_isOnItemFrame_60.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_isOnItemFrame_60.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self")).isOnItemFrame();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_isOnItemFrame_60);
|
|
|
|
BaseData reflect_ItemStack_method_setItemFrame_61 = new ModData();
|
|
reflect_ItemStack_method_setItemFrame_61.set("methodName", "setItemFrame");
|
|
reflect_ItemStack_method_setItemFrame_61.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setItemFrame_61.set("static", false);
|
|
reflect_ItemStack_method_setItemFrame_61.set("argnames", new String[] { "frame" });
|
|
reflect_ItemStack_method_setItemFrame_61.set("argtypes", new String[] { "EntityItemFrame" });
|
|
reflect_ItemStack_method_setItemFrame_61.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self"))
|
|
.setItemFrame((EntityItemFrame) params.getReflective("frame"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setItemFrame_61);
|
|
|
|
BaseData reflect_ItemStack_method_getItemFrame_62 = new ModData();
|
|
reflect_ItemStack_method_getItemFrame_62.set("methodName", "getItemFrame");
|
|
reflect_ItemStack_method_getItemFrame_62.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getItemFrame_62.set("static", false);
|
|
reflect_ItemStack_method_getItemFrame_62.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getItemFrame_62.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getItemFrame_62.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (EntityItemFrame) ((ItemStack) params.getReflective("_self")).getItemFrame();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getItemFrame_62);
|
|
|
|
BaseData reflect_ItemStack_method_getRepairCost_63 = new ModData();
|
|
reflect_ItemStack_method_getRepairCost_63.set("methodName", "getRepairCost");
|
|
reflect_ItemStack_method_getRepairCost_63.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getRepairCost_63.set("static", false);
|
|
reflect_ItemStack_method_getRepairCost_63.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getRepairCost_63.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getRepairCost_63.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) ((ItemStack) params.getReflective("_self")).getRepairCost();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getRepairCost_63);
|
|
|
|
BaseData reflect_ItemStack_method_setRepairCost_64 = new ModData();
|
|
reflect_ItemStack_method_setRepairCost_64.set("methodName", "setRepairCost");
|
|
reflect_ItemStack_method_setRepairCost_64.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setRepairCost_64.set("static", false);
|
|
reflect_ItemStack_method_setRepairCost_64.set("argnames", new String[] { "cost" });
|
|
reflect_ItemStack_method_setRepairCost_64.set("argtypes", new String[] { "int" });
|
|
reflect_ItemStack_method_setRepairCost_64.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).setRepairCost((int) params.getInt("cost"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setRepairCost_64);
|
|
|
|
BaseData reflect_ItemStack_method_setItem_65 = new ModData();
|
|
reflect_ItemStack_method_setItem_65.set("methodName", "setItem");
|
|
reflect_ItemStack_method_setItem_65.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_setItem_65.set("static", false);
|
|
reflect_ItemStack_method_setItem_65.set("argnames", new String[] { "newItem" });
|
|
reflect_ItemStack_method_setItem_65.set("argtypes", new String[] { "Item" });
|
|
reflect_ItemStack_method_setItem_65.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((ItemStack) params.getReflective("_self")).setItem((Item) params.getReflective("newItem"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_setItem_65);
|
|
|
|
BaseData reflect_ItemStack_method_getChatComponent_66 = new ModData();
|
|
reflect_ItemStack_method_getChatComponent_66.set("methodName", "getChatComponent");
|
|
reflect_ItemStack_method_getChatComponent_66.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_getChatComponent_66.set("static", false);
|
|
reflect_ItemStack_method_getChatComponent_66.set("argnames", new String[] {});
|
|
reflect_ItemStack_method_getChatComponent_66.set("argtypes", new String[] {});
|
|
reflect_ItemStack_method_getChatComponent_66.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (IChatComponent) ((ItemStack) params.getReflective("_self")).getChatComponent();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_getChatComponent_66);
|
|
|
|
BaseData reflect_ItemStack_method_canDestroy_67 = new ModData();
|
|
reflect_ItemStack_method_canDestroy_67.set("methodName", "canDestroy");
|
|
reflect_ItemStack_method_canDestroy_67.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_canDestroy_67.set("static", false);
|
|
reflect_ItemStack_method_canDestroy_67.set("argnames", new String[] { "blockIn" });
|
|
reflect_ItemStack_method_canDestroy_67.set("argtypes", new String[] { "Block" });
|
|
reflect_ItemStack_method_canDestroy_67.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self"))
|
|
.canDestroy((Block) params.getReflective("blockIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_canDestroy_67);
|
|
|
|
BaseData reflect_ItemStack_method_canPlaceOn_68 = new ModData();
|
|
reflect_ItemStack_method_canPlaceOn_68.set("methodName", "canPlaceOn");
|
|
reflect_ItemStack_method_canPlaceOn_68.set("returnType", "ItemStack");
|
|
reflect_ItemStack_method_canPlaceOn_68.set("static", false);
|
|
reflect_ItemStack_method_canPlaceOn_68.set("argnames", new String[] { "blockIn" });
|
|
reflect_ItemStack_method_canPlaceOn_68.set("argtypes", new String[] { "Block" });
|
|
reflect_ItemStack_method_canPlaceOn_68.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((ItemStack) params.getReflective("_self"))
|
|
.canPlaceOn((Block) params.getReflective("blockIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_ItemStack_methods.add(reflect_ItemStack_method_canPlaceOn_68);
|
|
|
|
BaseData[] reflect_ItemStack_methods_arr = new BaseData[reflect_ItemStack_methods.size()];
|
|
for (int i = 0; i < reflect_ItemStack_methods_arr.length; i++) {
|
|
reflect_ItemStack_methods_arr[i] = reflect_ItemStack_methods.get(i);
|
|
}
|
|
|
|
reflect_ItemStack.set("constructors", reflect_ItemStack_constructors_arr);
|
|
reflect_ItemStack.set("methods", reflect_ItemStack_methods_arr);
|
|
reflect_ItemStack.set("className", "ItemStack");
|
|
reflect_ItemStack.set("classId", "net.minecraft.item.ItemStack");
|
|
reflect_ItemStack.set("class", ItemStack.class);
|
|
reflectProfiles.add(reflect_ItemStack);
|
|
|
|
// CLASSDEF FOR Minecraft
|
|
BaseData reflect_Minecraft = new ModData();
|
|
|
|
ArrayList<BaseData> reflect_Minecraft_constructors = new ArrayList<BaseData>();
|
|
|
|
BaseData reflect_Minecraft_constructor_Minecraft_0 = new ModData();
|
|
reflect_Minecraft_constructor_Minecraft_0.set("returnType", "Minecraft");
|
|
reflect_Minecraft_constructor_Minecraft_0.set("argnames", new String[] { "gameConfig" });
|
|
reflect_Minecraft_constructor_Minecraft_0.set("argtypes", new String[] { "GameConfiguration" });
|
|
reflect_Minecraft_constructor_Minecraft_0.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
return new Minecraft((GameConfiguration) params.getReflective("gameConfig"));
|
|
});
|
|
|
|
reflect_Minecraft_constructors.add(reflect_Minecraft_constructor_Minecraft_0);
|
|
|
|
BaseData[] reflect_Minecraft_constructors_arr = new BaseData[reflect_Minecraft_constructors.size()];
|
|
for (int i = 0; i < reflect_Minecraft_constructors_arr.length; i++) {
|
|
reflect_Minecraft_constructors_arr[i] = reflect_Minecraft_constructors.get(i);
|
|
}
|
|
|
|
ArrayList<BaseData> reflect_Minecraft_methods = new ArrayList<BaseData>();
|
|
|
|
BaseData reflect_Minecraft_method_run_0 = new ModData();
|
|
reflect_Minecraft_method_run_0.set("methodName", "run");
|
|
reflect_Minecraft_method_run_0.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_run_0.set("static", false);
|
|
reflect_Minecraft_method_run_0.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_run_0.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_run_0.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).run();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_run_0);
|
|
|
|
BaseData reflect_Minecraft_method_getVersion_1 = new ModData();
|
|
reflect_Minecraft_method_getVersion_1.set("methodName", "getVersion");
|
|
reflect_Minecraft_method_getVersion_1.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getVersion_1.set("static", false);
|
|
reflect_Minecraft_method_getVersion_1.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getVersion_1.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getVersion_1.setCallbackStringWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (String) ((Minecraft) params.getReflective("_self")).getVersion();
|
|
} catch (Exception _exception_reflect_) {
|
|
return "";
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getVersion_1);
|
|
|
|
BaseData reflect_Minecraft_method_crashed_2 = new ModData();
|
|
reflect_Minecraft_method_crashed_2.set("methodName", "crashed");
|
|
reflect_Minecraft_method_crashed_2.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_crashed_2.set("static", false);
|
|
reflect_Minecraft_method_crashed_2.set("argnames", new String[] { "crash" });
|
|
reflect_Minecraft_method_crashed_2.set("argtypes", new String[] { "CrashReport" });
|
|
reflect_Minecraft_method_crashed_2.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).crashed((CrashReport) params.getReflective("crash"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_crashed_2);
|
|
|
|
BaseData reflect_Minecraft_method_displayCrashReport_3 = new ModData();
|
|
reflect_Minecraft_method_displayCrashReport_3.set("methodName", "displayCrashReport");
|
|
reflect_Minecraft_method_displayCrashReport_3.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_displayCrashReport_3.set("static", false);
|
|
reflect_Minecraft_method_displayCrashReport_3.set("argnames", new String[] { "crashReportIn" });
|
|
reflect_Minecraft_method_displayCrashReport_3.set("argtypes", new String[] { "CrashReport" });
|
|
reflect_Minecraft_method_displayCrashReport_3.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.displayCrashReport((CrashReport) params.getReflective("crashReportIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_displayCrashReport_3);
|
|
|
|
BaseData reflect_Minecraft_method_isUnicode_4 = new ModData();
|
|
reflect_Minecraft_method_isUnicode_4.set("methodName", "isUnicode");
|
|
reflect_Minecraft_method_isUnicode_4.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isUnicode_4.set("static", false);
|
|
reflect_Minecraft_method_isUnicode_4.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isUnicode_4.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isUnicode_4.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isUnicode();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isUnicode_4);
|
|
|
|
BaseData reflect_Minecraft_method_refreshResources_5 = new ModData();
|
|
reflect_Minecraft_method_refreshResources_5.set("methodName", "refreshResources");
|
|
reflect_Minecraft_method_refreshResources_5.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_refreshResources_5.set("static", false);
|
|
reflect_Minecraft_method_refreshResources_5.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_refreshResources_5.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_refreshResources_5.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).refreshResources();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_refreshResources_5);
|
|
|
|
BaseData reflect_Minecraft_method_displayGuiScreen_6 = new ModData();
|
|
reflect_Minecraft_method_displayGuiScreen_6.set("methodName", "displayGuiScreen");
|
|
reflect_Minecraft_method_displayGuiScreen_6.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_displayGuiScreen_6.set("static", false);
|
|
reflect_Minecraft_method_displayGuiScreen_6.set("argnames", new String[] { "guiScreenIn" });
|
|
reflect_Minecraft_method_displayGuiScreen_6.set("argtypes", new String[] { "GuiScreen" });
|
|
reflect_Minecraft_method_displayGuiScreen_6.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.displayGuiScreen((GuiScreen) params.getReflective("guiScreenIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_displayGuiScreen_6);
|
|
|
|
BaseData reflect_Minecraft_method_shutdownIntegratedServer_7 = new ModData();
|
|
reflect_Minecraft_method_shutdownIntegratedServer_7.set("methodName", "shutdownIntegratedServer");
|
|
reflect_Minecraft_method_shutdownIntegratedServer_7.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_shutdownIntegratedServer_7.set("static", false);
|
|
reflect_Minecraft_method_shutdownIntegratedServer_7.set("argnames", new String[] { "cont" });
|
|
reflect_Minecraft_method_shutdownIntegratedServer_7.set("argtypes", new String[] { "GuiScreen" });
|
|
reflect_Minecraft_method_shutdownIntegratedServer_7.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.shutdownIntegratedServer((GuiScreen) params.getReflective("cont"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_shutdownIntegratedServer_7);
|
|
|
|
BaseData reflect_Minecraft_method_checkGLError_8 = new ModData();
|
|
reflect_Minecraft_method_checkGLError_8.set("methodName", "checkGLError");
|
|
reflect_Minecraft_method_checkGLError_8.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_checkGLError_8.set("static", false);
|
|
reflect_Minecraft_method_checkGLError_8.set("argnames", new String[] { "message" });
|
|
reflect_Minecraft_method_checkGLError_8.set("argtypes", new String[] { "String" });
|
|
reflect_Minecraft_method_checkGLError_8.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).checkGLError((String) params.getString("message"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_checkGLError_8);
|
|
|
|
BaseData reflect_Minecraft_method_shutdownMinecraftApplet_9 = new ModData();
|
|
reflect_Minecraft_method_shutdownMinecraftApplet_9.set("methodName", "shutdownMinecraftApplet");
|
|
reflect_Minecraft_method_shutdownMinecraftApplet_9.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_shutdownMinecraftApplet_9.set("static", false);
|
|
reflect_Minecraft_method_shutdownMinecraftApplet_9.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_shutdownMinecraftApplet_9.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_shutdownMinecraftApplet_9.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).shutdownMinecraftApplet();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_shutdownMinecraftApplet_9);
|
|
|
|
BaseData reflect_Minecraft_method_updateDisplay_10 = new ModData();
|
|
reflect_Minecraft_method_updateDisplay_10.set("methodName", "updateDisplay");
|
|
reflect_Minecraft_method_updateDisplay_10.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_updateDisplay_10.set("static", false);
|
|
reflect_Minecraft_method_updateDisplay_10.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_updateDisplay_10.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_updateDisplay_10.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).updateDisplay();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_updateDisplay_10);
|
|
|
|
BaseData reflect_Minecraft_method_getLimitFramerate_11 = new ModData();
|
|
reflect_Minecraft_method_getLimitFramerate_11.set("methodName", "getLimitFramerate");
|
|
reflect_Minecraft_method_getLimitFramerate_11.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getLimitFramerate_11.set("static", false);
|
|
reflect_Minecraft_method_getLimitFramerate_11.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getLimitFramerate_11.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getLimitFramerate_11.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) ((Minecraft) params.getReflective("_self")).getLimitFramerate();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getLimitFramerate_11);
|
|
|
|
BaseData reflect_Minecraft_method_isFramerateLimitBelowMax_12 = new ModData();
|
|
reflect_Minecraft_method_isFramerateLimitBelowMax_12.set("methodName", "isFramerateLimitBelowMax");
|
|
reflect_Minecraft_method_isFramerateLimitBelowMax_12.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isFramerateLimitBelowMax_12.set("static", false);
|
|
reflect_Minecraft_method_isFramerateLimitBelowMax_12.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isFramerateLimitBelowMax_12.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isFramerateLimitBelowMax_12.setCallbackBooleanWithDataArg("exec",
|
|
(BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isFramerateLimitBelowMax();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isFramerateLimitBelowMax_12);
|
|
|
|
BaseData reflect_Minecraft_method_shutdown_13 = new ModData();
|
|
reflect_Minecraft_method_shutdown_13.set("methodName", "shutdown");
|
|
reflect_Minecraft_method_shutdown_13.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_shutdown_13.set("static", false);
|
|
reflect_Minecraft_method_shutdown_13.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_shutdown_13.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_shutdown_13.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).shutdown();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_shutdown_13);
|
|
|
|
BaseData reflect_Minecraft_method_setIngameFocus_14 = new ModData();
|
|
reflect_Minecraft_method_setIngameFocus_14.set("methodName", "setIngameFocus");
|
|
reflect_Minecraft_method_setIngameFocus_14.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_setIngameFocus_14.set("static", false);
|
|
reflect_Minecraft_method_setIngameFocus_14.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_setIngameFocus_14.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_setIngameFocus_14.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).setIngameFocus();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_setIngameFocus_14);
|
|
|
|
BaseData reflect_Minecraft_method_setIngameNotInFocus_15 = new ModData();
|
|
reflect_Minecraft_method_setIngameNotInFocus_15.set("methodName", "setIngameNotInFocus");
|
|
reflect_Minecraft_method_setIngameNotInFocus_15.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_setIngameNotInFocus_15.set("static", false);
|
|
reflect_Minecraft_method_setIngameNotInFocus_15.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_setIngameNotInFocus_15.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_setIngameNotInFocus_15.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).setIngameNotInFocus();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_setIngameNotInFocus_15);
|
|
|
|
BaseData reflect_Minecraft_method_displayInGameMenu_16 = new ModData();
|
|
reflect_Minecraft_method_displayInGameMenu_16.set("methodName", "displayInGameMenu");
|
|
reflect_Minecraft_method_displayInGameMenu_16.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_displayInGameMenu_16.set("static", false);
|
|
reflect_Minecraft_method_displayInGameMenu_16.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_displayInGameMenu_16.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_displayInGameMenu_16.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).displayInGameMenu();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_displayInGameMenu_16);
|
|
|
|
BaseData reflect_Minecraft_method_clickMouse_17 = new ModData();
|
|
reflect_Minecraft_method_clickMouse_17.set("methodName", "clickMouse");
|
|
reflect_Minecraft_method_clickMouse_17.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_clickMouse_17.set("static", false);
|
|
reflect_Minecraft_method_clickMouse_17.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_clickMouse_17.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_clickMouse_17.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).clickMouse();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_clickMouse_17);
|
|
|
|
BaseData reflect_Minecraft_method_rightClickMouse_18 = new ModData();
|
|
reflect_Minecraft_method_rightClickMouse_18.set("methodName", "rightClickMouse");
|
|
reflect_Minecraft_method_rightClickMouse_18.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_rightClickMouse_18.set("static", false);
|
|
reflect_Minecraft_method_rightClickMouse_18.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_rightClickMouse_18.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_rightClickMouse_18.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).rightClickMouse();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_rightClickMouse_18);
|
|
|
|
BaseData reflect_Minecraft_method_toggleFullscreen_19 = new ModData();
|
|
reflect_Minecraft_method_toggleFullscreen_19.set("methodName", "toggleFullscreen");
|
|
reflect_Minecraft_method_toggleFullscreen_19.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_toggleFullscreen_19.set("static", false);
|
|
reflect_Minecraft_method_toggleFullscreen_19.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_toggleFullscreen_19.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_toggleFullscreen_19.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).toggleFullscreen();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_toggleFullscreen_19);
|
|
|
|
BaseData reflect_Minecraft_method_func_181535_r_20 = new ModData();
|
|
reflect_Minecraft_method_func_181535_r_20.set("methodName", "func_181535_r");
|
|
reflect_Minecraft_method_func_181535_r_20.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_func_181535_r_20.set("static", false);
|
|
reflect_Minecraft_method_func_181535_r_20.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_func_181535_r_20.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_func_181535_r_20.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (MusicTicker) ((Minecraft) params.getReflective("_self")).func_181535_r();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_func_181535_r_20);
|
|
|
|
BaseData reflect_Minecraft_method_runTick_21 = new ModData();
|
|
reflect_Minecraft_method_runTick_21.set("methodName", "runTick");
|
|
reflect_Minecraft_method_runTick_21.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_runTick_21.set("static", false);
|
|
reflect_Minecraft_method_runTick_21.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_runTick_21.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_runTick_21.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).runTick();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_runTick_21);
|
|
|
|
BaseData reflect_Minecraft_method_launchIntegratedServer_22 = new ModData();
|
|
reflect_Minecraft_method_launchIntegratedServer_22.set("methodName", "launchIntegratedServer");
|
|
reflect_Minecraft_method_launchIntegratedServer_22.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_launchIntegratedServer_22.set("static", false);
|
|
reflect_Minecraft_method_launchIntegratedServer_22.set("argnames",
|
|
new String[] { "folderName", "worldName", "worldSettingsIn" });
|
|
reflect_Minecraft_method_launchIntegratedServer_22.set("argtypes",
|
|
new String[] { "String", "String", "WorldSettings" });
|
|
reflect_Minecraft_method_launchIntegratedServer_22.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).launchIntegratedServer(
|
|
(String) params.getString("folderName"), (String) params.getString("worldName"),
|
|
(WorldSettings) params.getReflective("worldSettingsIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_launchIntegratedServer_22);
|
|
|
|
BaseData reflect_Minecraft_method_loadWorld_23 = new ModData();
|
|
reflect_Minecraft_method_loadWorld_23.set("methodName", "loadWorld");
|
|
reflect_Minecraft_method_loadWorld_23.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_loadWorld_23.set("static", false);
|
|
reflect_Minecraft_method_loadWorld_23.set("argnames", new String[] { "worldClientIn" });
|
|
reflect_Minecraft_method_loadWorld_23.set("argtypes", new String[] { "WorldClient" });
|
|
reflect_Minecraft_method_loadWorld_23.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.loadWorld((WorldClient) params.getReflective("worldClientIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_loadWorld_23);
|
|
|
|
BaseData reflect_Minecraft_method_loadWorld_24 = new ModData();
|
|
reflect_Minecraft_method_loadWorld_24.set("methodName", "loadWorld");
|
|
reflect_Minecraft_method_loadWorld_24.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_loadWorld_24.set("static", false);
|
|
reflect_Minecraft_method_loadWorld_24.set("argnames", new String[] { "worldClientIn", "loadingMessage" });
|
|
reflect_Minecraft_method_loadWorld_24.set("argtypes", new String[] { "WorldClient", "String" });
|
|
reflect_Minecraft_method_loadWorld_24.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).loadWorld(
|
|
(WorldClient) params.getReflective("worldClientIn"),
|
|
(String) params.getString("loadingMessage"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_loadWorld_24);
|
|
|
|
BaseData reflect_Minecraft_method_setDimensionAndSpawnPlayer_25 = new ModData();
|
|
reflect_Minecraft_method_setDimensionAndSpawnPlayer_25.set("methodName", "setDimensionAndSpawnPlayer");
|
|
reflect_Minecraft_method_setDimensionAndSpawnPlayer_25.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_setDimensionAndSpawnPlayer_25.set("static", false);
|
|
reflect_Minecraft_method_setDimensionAndSpawnPlayer_25.set("argnames", new String[] { "dimension" });
|
|
reflect_Minecraft_method_setDimensionAndSpawnPlayer_25.set("argtypes", new String[] { "int" });
|
|
reflect_Minecraft_method_setDimensionAndSpawnPlayer_25.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.setDimensionAndSpawnPlayer((int) params.getInt("dimension"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_setDimensionAndSpawnPlayer_25);
|
|
|
|
BaseData reflect_Minecraft_method_isDemo_26 = new ModData();
|
|
reflect_Minecraft_method_isDemo_26.set("methodName", "isDemo");
|
|
reflect_Minecraft_method_isDemo_26.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isDemo_26.set("static", false);
|
|
reflect_Minecraft_method_isDemo_26.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isDemo_26.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isDemo_26.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isDemo();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isDemo_26);
|
|
|
|
BaseData reflect_Minecraft_method_getNetHandler_27 = new ModData();
|
|
reflect_Minecraft_method_getNetHandler_27.set("methodName", "getNetHandler");
|
|
reflect_Minecraft_method_getNetHandler_27.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getNetHandler_27.set("static", false);
|
|
reflect_Minecraft_method_getNetHandler_27.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getNetHandler_27.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getNetHandler_27.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (NetHandlerPlayClient) ((Minecraft) params.getReflective("_self")).getNetHandler();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getNetHandler_27);
|
|
|
|
BaseData reflect_Minecraft_method_isGuiEnabled_28 = new ModData();
|
|
reflect_Minecraft_method_isGuiEnabled_28.set("methodName", "isGuiEnabled");
|
|
reflect_Minecraft_method_isGuiEnabled_28.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isGuiEnabled_28.set("static", true);
|
|
reflect_Minecraft_method_isGuiEnabled_28.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isGuiEnabled_28.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isGuiEnabled_28.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) Minecraft.isGuiEnabled();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isGuiEnabled_28);
|
|
|
|
BaseData reflect_Minecraft_method_isFancyGraphicsEnabled_29 = new ModData();
|
|
reflect_Minecraft_method_isFancyGraphicsEnabled_29.set("methodName", "isFancyGraphicsEnabled");
|
|
reflect_Minecraft_method_isFancyGraphicsEnabled_29.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isFancyGraphicsEnabled_29.set("static", true);
|
|
reflect_Minecraft_method_isFancyGraphicsEnabled_29.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isFancyGraphicsEnabled_29.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isFancyGraphicsEnabled_29.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) Minecraft.isFancyGraphicsEnabled();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isFancyGraphicsEnabled_29);
|
|
|
|
BaseData reflect_Minecraft_method_isAmbientOcclusionEnabled_30 = new ModData();
|
|
reflect_Minecraft_method_isAmbientOcclusionEnabled_30.set("methodName", "isAmbientOcclusionEnabled");
|
|
reflect_Minecraft_method_isAmbientOcclusionEnabled_30.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isAmbientOcclusionEnabled_30.set("static", true);
|
|
reflect_Minecraft_method_isAmbientOcclusionEnabled_30.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isAmbientOcclusionEnabled_30.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isAmbientOcclusionEnabled_30.setCallbackBooleanWithDataArg("exec",
|
|
(BaseData params) -> {
|
|
try {
|
|
return (boolean) Minecraft.isAmbientOcclusionEnabled();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isAmbientOcclusionEnabled_30);
|
|
|
|
BaseData reflect_Minecraft_method_middleClickMouse_31 = new ModData();
|
|
reflect_Minecraft_method_middleClickMouse_31.set("methodName", "middleClickMouse");
|
|
reflect_Minecraft_method_middleClickMouse_31.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_middleClickMouse_31.set("static", false);
|
|
reflect_Minecraft_method_middleClickMouse_31.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_middleClickMouse_31.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_middleClickMouse_31.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).middleClickMouse();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_middleClickMouse_31);
|
|
|
|
BaseData reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32 = new ModData();
|
|
reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32.set("methodName",
|
|
"addGraphicsAndWorldToCrashReport");
|
|
reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32.set("static", false);
|
|
reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32.set("argnames", new String[] { "theCrash" });
|
|
reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32.set("argtypes", new String[] { "CrashReport" });
|
|
reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32.setCallbackReflectiveWithDataArg("exec",
|
|
(BaseData params) -> {
|
|
try {
|
|
return (CrashReport) ((Minecraft) params.getReflective("_self"))
|
|
.addGraphicsAndWorldToCrashReport((CrashReport) params.getReflective("theCrash"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_addGraphicsAndWorldToCrashReport_32);
|
|
|
|
BaseData reflect_Minecraft_method_getMinecraft_33 = new ModData();
|
|
reflect_Minecraft_method_getMinecraft_33.set("methodName", "getMinecraft");
|
|
reflect_Minecraft_method_getMinecraft_33.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getMinecraft_33.set("static", true);
|
|
reflect_Minecraft_method_getMinecraft_33.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getMinecraft_33.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getMinecraft_33.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (Minecraft) Minecraft.getMinecraft();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getMinecraft_33);
|
|
|
|
BaseData reflect_Minecraft_method_isSnooperEnabled_34 = new ModData();
|
|
reflect_Minecraft_method_isSnooperEnabled_34.set("methodName", "isSnooperEnabled");
|
|
reflect_Minecraft_method_isSnooperEnabled_34.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isSnooperEnabled_34.set("static", false);
|
|
reflect_Minecraft_method_isSnooperEnabled_34.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isSnooperEnabled_34.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isSnooperEnabled_34.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isSnooperEnabled();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isSnooperEnabled_34);
|
|
|
|
BaseData reflect_Minecraft_method_setServerData_35 = new ModData();
|
|
reflect_Minecraft_method_setServerData_35.set("methodName", "setServerData");
|
|
reflect_Minecraft_method_setServerData_35.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_setServerData_35.set("static", false);
|
|
reflect_Minecraft_method_setServerData_35.set("argnames", new String[] { "serverDataIn" });
|
|
reflect_Minecraft_method_setServerData_35.set("argtypes", new String[] { "ServerData" });
|
|
reflect_Minecraft_method_setServerData_35.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.setServerData((ServerData) params.getReflective("serverDataIn"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_setServerData_35);
|
|
|
|
BaseData reflect_Minecraft_method_getCurrentServerData_36 = new ModData();
|
|
reflect_Minecraft_method_getCurrentServerData_36.set("methodName", "getCurrentServerData");
|
|
reflect_Minecraft_method_getCurrentServerData_36.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getCurrentServerData_36.set("static", false);
|
|
reflect_Minecraft_method_getCurrentServerData_36.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getCurrentServerData_36.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getCurrentServerData_36.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ServerData) ((Minecraft) params.getReflective("_self")).getCurrentServerData();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getCurrentServerData_36);
|
|
|
|
BaseData reflect_Minecraft_method_isIntegratedServerRunning_37 = new ModData();
|
|
reflect_Minecraft_method_isIntegratedServerRunning_37.set("methodName", "isIntegratedServerRunning");
|
|
reflect_Minecraft_method_isIntegratedServerRunning_37.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isIntegratedServerRunning_37.set("static", false);
|
|
reflect_Minecraft_method_isIntegratedServerRunning_37.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isIntegratedServerRunning_37.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isIntegratedServerRunning_37.setCallbackBooleanWithDataArg("exec",
|
|
(BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isIntegratedServerRunning();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isIntegratedServerRunning_37);
|
|
|
|
BaseData reflect_Minecraft_method_isSingleplayer_38 = new ModData();
|
|
reflect_Minecraft_method_isSingleplayer_38.set("methodName", "isSingleplayer");
|
|
reflect_Minecraft_method_isSingleplayer_38.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isSingleplayer_38.set("static", false);
|
|
reflect_Minecraft_method_isSingleplayer_38.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isSingleplayer_38.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isSingleplayer_38.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isSingleplayer();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isSingleplayer_38);
|
|
|
|
BaseData reflect_Minecraft_method_stopIntegratedServer_39 = new ModData();
|
|
reflect_Minecraft_method_stopIntegratedServer_39.set("methodName", "stopIntegratedServer");
|
|
reflect_Minecraft_method_stopIntegratedServer_39.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_stopIntegratedServer_39.set("static", true);
|
|
reflect_Minecraft_method_stopIntegratedServer_39.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_stopIntegratedServer_39.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_stopIntegratedServer_39.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
Minecraft.stopIntegratedServer();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_stopIntegratedServer_39);
|
|
|
|
BaseData reflect_Minecraft_method_getSystemTime_40 = new ModData();
|
|
reflect_Minecraft_method_getSystemTime_40.set("methodName", "getSystemTime");
|
|
reflect_Minecraft_method_getSystemTime_40.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getSystemTime_40.set("static", true);
|
|
reflect_Minecraft_method_getSystemTime_40.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getSystemTime_40.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getSystemTime_40.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (long) Minecraft.getSystemTime();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getSystemTime_40);
|
|
|
|
BaseData reflect_Minecraft_method_isFullScreen_41 = new ModData();
|
|
reflect_Minecraft_method_isFullScreen_41.set("methodName", "isFullScreen");
|
|
reflect_Minecraft_method_isFullScreen_41.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isFullScreen_41.set("static", false);
|
|
reflect_Minecraft_method_isFullScreen_41.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isFullScreen_41.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isFullScreen_41.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isFullScreen();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isFullScreen_41);
|
|
|
|
BaseData reflect_Minecraft_method_getSession_42 = new ModData();
|
|
reflect_Minecraft_method_getSession_42.set("methodName", "getSession");
|
|
reflect_Minecraft_method_getSession_42.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getSession_42.set("static", false);
|
|
reflect_Minecraft_method_getSession_42.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getSession_42.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getSession_42.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (Session) ((Minecraft) params.getReflective("_self")).getSession();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getSession_42);
|
|
|
|
BaseData reflect_Minecraft_method_getTextureManager_43 = new ModData();
|
|
reflect_Minecraft_method_getTextureManager_43.set("methodName", "getTextureManager");
|
|
reflect_Minecraft_method_getTextureManager_43.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getTextureManager_43.set("static", false);
|
|
reflect_Minecraft_method_getTextureManager_43.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getTextureManager_43.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getTextureManager_43.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (TextureManager) ((Minecraft) params.getReflective("_self")).getTextureManager();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getTextureManager_43);
|
|
|
|
BaseData reflect_Minecraft_method_getResourceManager_44 = new ModData();
|
|
reflect_Minecraft_method_getResourceManager_44.set("methodName", "getResourceManager");
|
|
reflect_Minecraft_method_getResourceManager_44.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getResourceManager_44.set("static", false);
|
|
reflect_Minecraft_method_getResourceManager_44.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getResourceManager_44.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getResourceManager_44.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (IResourceManager) ((Minecraft) params.getReflective("_self")).getResourceManager();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getResourceManager_44);
|
|
|
|
BaseData reflect_Minecraft_method_getResourcePackRepository_45 = new ModData();
|
|
reflect_Minecraft_method_getResourcePackRepository_45.set("methodName", "getResourcePackRepository");
|
|
reflect_Minecraft_method_getResourcePackRepository_45.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getResourcePackRepository_45.set("static", false);
|
|
reflect_Minecraft_method_getResourcePackRepository_45.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getResourcePackRepository_45.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getResourcePackRepository_45.setCallbackReflectiveWithDataArg("exec",
|
|
(BaseData params) -> {
|
|
try {
|
|
return (ResourcePackRepository) ((Minecraft) params.getReflective("_self"))
|
|
.getResourcePackRepository();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getResourcePackRepository_45);
|
|
|
|
BaseData reflect_Minecraft_method_getLanguageManager_46 = new ModData();
|
|
reflect_Minecraft_method_getLanguageManager_46.set("methodName", "getLanguageManager");
|
|
reflect_Minecraft_method_getLanguageManager_46.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getLanguageManager_46.set("static", false);
|
|
reflect_Minecraft_method_getLanguageManager_46.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getLanguageManager_46.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getLanguageManager_46.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (LanguageManager) ((Minecraft) params.getReflective("_self")).getLanguageManager();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getLanguageManager_46);
|
|
|
|
BaseData reflect_Minecraft_method_getTextureMapBlocks_47 = new ModData();
|
|
reflect_Minecraft_method_getTextureMapBlocks_47.set("methodName", "getTextureMapBlocks");
|
|
reflect_Minecraft_method_getTextureMapBlocks_47.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getTextureMapBlocks_47.set("static", false);
|
|
reflect_Minecraft_method_getTextureMapBlocks_47.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getTextureMapBlocks_47.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getTextureMapBlocks_47.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (TextureMap) ((Minecraft) params.getReflective("_self")).getTextureMapBlocks();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getTextureMapBlocks_47);
|
|
|
|
BaseData reflect_Minecraft_method_isJava64bit_48 = new ModData();
|
|
reflect_Minecraft_method_isJava64bit_48.set("methodName", "isJava64bit");
|
|
reflect_Minecraft_method_isJava64bit_48.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isJava64bit_48.set("static", false);
|
|
reflect_Minecraft_method_isJava64bit_48.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isJava64bit_48.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isJava64bit_48.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isJava64bit();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isJava64bit_48);
|
|
|
|
BaseData reflect_Minecraft_method_isGamePaused_49 = new ModData();
|
|
reflect_Minecraft_method_isGamePaused_49.set("methodName", "isGamePaused");
|
|
reflect_Minecraft_method_isGamePaused_49.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_isGamePaused_49.set("static", false);
|
|
reflect_Minecraft_method_isGamePaused_49.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_isGamePaused_49.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_isGamePaused_49.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).isGamePaused();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_isGamePaused_49);
|
|
|
|
BaseData reflect_Minecraft_method_getSoundHandler_50 = new ModData();
|
|
reflect_Minecraft_method_getSoundHandler_50.set("methodName", "getSoundHandler");
|
|
reflect_Minecraft_method_getSoundHandler_50.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getSoundHandler_50.set("static", false);
|
|
reflect_Minecraft_method_getSoundHandler_50.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getSoundHandler_50.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getSoundHandler_50.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (SoundHandler) ((Minecraft) params.getReflective("_self")).getSoundHandler();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getSoundHandler_50);
|
|
|
|
BaseData reflect_Minecraft_method_dispatchKeypresses_51 = new ModData();
|
|
reflect_Minecraft_method_dispatchKeypresses_51.set("methodName", "dispatchKeypresses");
|
|
reflect_Minecraft_method_dispatchKeypresses_51.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_dispatchKeypresses_51.set("static", false);
|
|
reflect_Minecraft_method_dispatchKeypresses_51.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_dispatchKeypresses_51.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_dispatchKeypresses_51.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).dispatchKeypresses();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_dispatchKeypresses_51);
|
|
|
|
BaseData reflect_Minecraft_method_getRenderViewEntity_52 = new ModData();
|
|
reflect_Minecraft_method_getRenderViewEntity_52.set("methodName", "getRenderViewEntity");
|
|
reflect_Minecraft_method_getRenderViewEntity_52.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getRenderViewEntity_52.set("static", false);
|
|
reflect_Minecraft_method_getRenderViewEntity_52.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getRenderViewEntity_52.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getRenderViewEntity_52.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (Entity) ((Minecraft) params.getReflective("_self")).getRenderViewEntity();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getRenderViewEntity_52);
|
|
|
|
BaseData reflect_Minecraft_method_setRenderViewEntity_53 = new ModData();
|
|
reflect_Minecraft_method_setRenderViewEntity_53.set("methodName", "setRenderViewEntity");
|
|
reflect_Minecraft_method_setRenderViewEntity_53.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_setRenderViewEntity_53.set("static", false);
|
|
reflect_Minecraft_method_setRenderViewEntity_53.set("argnames", new String[] { "viewingEntity" });
|
|
reflect_Minecraft_method_setRenderViewEntity_53.set("argtypes", new String[] { "Entity" });
|
|
reflect_Minecraft_method_setRenderViewEntity_53.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.setRenderViewEntity((Entity) params.getReflective("viewingEntity"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_setRenderViewEntity_53);
|
|
|
|
BaseData reflect_Minecraft_method_addScheduledTask_54 = new ModData();
|
|
reflect_Minecraft_method_addScheduledTask_54.set("methodName", "addScheduledTask");
|
|
reflect_Minecraft_method_addScheduledTask_54.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_addScheduledTask_54.set("static", false);
|
|
reflect_Minecraft_method_addScheduledTask_54.set("argnames", new String[] { "runnableToSchedule" });
|
|
reflect_Minecraft_method_addScheduledTask_54.set("argtypes", new String[] { "Runnable" });
|
|
reflect_Minecraft_method_addScheduledTask_54.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self"))
|
|
.addScheduledTask((Runnable) params.getReflective("runnableToSchedule"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_addScheduledTask_54);
|
|
|
|
BaseData reflect_Minecraft_method_getBlockRendererDispatcher_55 = new ModData();
|
|
reflect_Minecraft_method_getBlockRendererDispatcher_55.set("methodName", "getBlockRendererDispatcher");
|
|
reflect_Minecraft_method_getBlockRendererDispatcher_55.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getBlockRendererDispatcher_55.set("static", false);
|
|
reflect_Minecraft_method_getBlockRendererDispatcher_55.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getBlockRendererDispatcher_55.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getBlockRendererDispatcher_55.setCallbackReflectiveWithDataArg("exec",
|
|
(BaseData params) -> {
|
|
try {
|
|
return (BlockRendererDispatcher) ((Minecraft) params.getReflective("_self"))
|
|
.getBlockRendererDispatcher();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getBlockRendererDispatcher_55);
|
|
|
|
BaseData reflect_Minecraft_method_getRenderManager_56 = new ModData();
|
|
reflect_Minecraft_method_getRenderManager_56.set("methodName", "getRenderManager");
|
|
reflect_Minecraft_method_getRenderManager_56.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getRenderManager_56.set("static", false);
|
|
reflect_Minecraft_method_getRenderManager_56.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getRenderManager_56.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getRenderManager_56.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (RenderManager) ((Minecraft) params.getReflective("_self")).getRenderManager();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getRenderManager_56);
|
|
|
|
BaseData reflect_Minecraft_method_getRenderItem_57 = new ModData();
|
|
reflect_Minecraft_method_getRenderItem_57.set("methodName", "getRenderItem");
|
|
reflect_Minecraft_method_getRenderItem_57.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getRenderItem_57.set("static", false);
|
|
reflect_Minecraft_method_getRenderItem_57.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getRenderItem_57.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getRenderItem_57.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (RenderItem) ((Minecraft) params.getReflective("_self")).getRenderItem();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getRenderItem_57);
|
|
|
|
BaseData reflect_Minecraft_method_getItemRenderer_58 = new ModData();
|
|
reflect_Minecraft_method_getItemRenderer_58.set("methodName", "getItemRenderer");
|
|
reflect_Minecraft_method_getItemRenderer_58.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getItemRenderer_58.set("static", false);
|
|
reflect_Minecraft_method_getItemRenderer_58.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getItemRenderer_58.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getItemRenderer_58.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ItemRenderer) ((Minecraft) params.getReflective("_self")).getItemRenderer();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getItemRenderer_58);
|
|
|
|
BaseData reflect_Minecraft_method_getDebugFPS_59 = new ModData();
|
|
reflect_Minecraft_method_getDebugFPS_59.set("methodName", "getDebugFPS");
|
|
reflect_Minecraft_method_getDebugFPS_59.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getDebugFPS_59.set("static", true);
|
|
reflect_Minecraft_method_getDebugFPS_59.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getDebugFPS_59.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getDebugFPS_59.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) Minecraft.getDebugFPS();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getDebugFPS_59);
|
|
|
|
BaseData reflect_Minecraft_method_func_181539_aj_60 = new ModData();
|
|
reflect_Minecraft_method_func_181539_aj_60.set("methodName", "func_181539_aj");
|
|
reflect_Minecraft_method_func_181539_aj_60.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_func_181539_aj_60.set("static", false);
|
|
reflect_Minecraft_method_func_181539_aj_60.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_func_181539_aj_60.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_func_181539_aj_60.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (FrameTimer) ((Minecraft) params.getReflective("_self")).func_181539_aj();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_func_181539_aj_60);
|
|
|
|
BaseData reflect_Minecraft_method_func_181540_al_61 = new ModData();
|
|
reflect_Minecraft_method_func_181540_al_61.set("methodName", "func_181540_al");
|
|
reflect_Minecraft_method_func_181540_al_61.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_func_181540_al_61.set("static", false);
|
|
reflect_Minecraft_method_func_181540_al_61.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_func_181540_al_61.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_func_181540_al_61.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).func_181540_al();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_func_181540_al_61);
|
|
|
|
BaseData reflect_Minecraft_method_func_181537_a_62 = new ModData();
|
|
reflect_Minecraft_method_func_181537_a_62.set("methodName", "func_181537_a");
|
|
reflect_Minecraft_method_func_181537_a_62.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_func_181537_a_62.set("static", false);
|
|
reflect_Minecraft_method_func_181537_a_62.set("argnames", new String[] { "parFlag" });
|
|
reflect_Minecraft_method_func_181537_a_62.set("argtypes", new String[] { "boolean" });
|
|
reflect_Minecraft_method_func_181537_a_62.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).func_181537_a((boolean) params.getBoolean("parFlag"));
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_func_181537_a_62);
|
|
|
|
BaseData reflect_Minecraft_method_getGLMaximumTextureSize_63 = new ModData();
|
|
reflect_Minecraft_method_getGLMaximumTextureSize_63.set("methodName", "getGLMaximumTextureSize");
|
|
reflect_Minecraft_method_getGLMaximumTextureSize_63.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getGLMaximumTextureSize_63.set("static", true);
|
|
reflect_Minecraft_method_getGLMaximumTextureSize_63.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getGLMaximumTextureSize_63.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getGLMaximumTextureSize_63.setCallbackIntWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (int) Minecraft.getGLMaximumTextureSize();
|
|
} catch (Exception _exception_reflect_) {
|
|
return 0;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getGLMaximumTextureSize_63);
|
|
|
|
BaseData reflect_Minecraft_method_areKeysLocked_64 = new ModData();
|
|
reflect_Minecraft_method_areKeysLocked_64.set("methodName", "areKeysLocked");
|
|
reflect_Minecraft_method_areKeysLocked_64.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_areKeysLocked_64.set("static", false);
|
|
reflect_Minecraft_method_areKeysLocked_64.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_areKeysLocked_64.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_areKeysLocked_64.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).areKeysLocked();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_areKeysLocked_64);
|
|
|
|
BaseData reflect_Minecraft_method_getModelManager_65 = new ModData();
|
|
reflect_Minecraft_method_getModelManager_65.set("methodName", "getModelManager");
|
|
reflect_Minecraft_method_getModelManager_65.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getModelManager_65.set("static", false);
|
|
reflect_Minecraft_method_getModelManager_65.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getModelManager_65.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getModelManager_65.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ModelManager) ((Minecraft) params.getReflective("_self")).getModelManager();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getModelManager_65);
|
|
|
|
BaseData reflect_Minecraft_method_getSaveLoader_66 = new ModData();
|
|
reflect_Minecraft_method_getSaveLoader_66.set("methodName", "getSaveLoader");
|
|
reflect_Minecraft_method_getSaveLoader_66.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getSaveLoader_66.set("static", false);
|
|
reflect_Minecraft_method_getSaveLoader_66.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getSaveLoader_66.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getSaveLoader_66.setCallbackReflectiveWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (ISaveFormat) ((Minecraft) params.getReflective("_self")).getSaveLoader();
|
|
} catch (Exception _exception_reflect_) {
|
|
return null;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getSaveLoader_66);
|
|
|
|
BaseData reflect_Minecraft_method_clearTitles_67 = new ModData();
|
|
reflect_Minecraft_method_clearTitles_67.set("methodName", "clearTitles");
|
|
reflect_Minecraft_method_clearTitles_67.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_clearTitles_67.set("static", false);
|
|
reflect_Minecraft_method_clearTitles_67.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_clearTitles_67.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_clearTitles_67.setCallbackVoidWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
((Minecraft) params.getReflective("_self")).clearTitles();
|
|
} catch (Exception _exception_reflect_) {
|
|
return;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_clearTitles_67);
|
|
|
|
BaseData reflect_Minecraft_method_getEnableFNAWSkins_68 = new ModData();
|
|
reflect_Minecraft_method_getEnableFNAWSkins_68.set("methodName", "getEnableFNAWSkins");
|
|
reflect_Minecraft_method_getEnableFNAWSkins_68.set("returnType", "Minecraft");
|
|
reflect_Minecraft_method_getEnableFNAWSkins_68.set("static", false);
|
|
reflect_Minecraft_method_getEnableFNAWSkins_68.set("argnames", new String[] {});
|
|
reflect_Minecraft_method_getEnableFNAWSkins_68.set("argtypes", new String[] {});
|
|
reflect_Minecraft_method_getEnableFNAWSkins_68.setCallbackBooleanWithDataArg("exec", (BaseData params) -> {
|
|
try {
|
|
return (boolean) ((Minecraft) params.getReflective("_self")).getEnableFNAWSkins();
|
|
} catch (Exception _exception_reflect_) {
|
|
return false;
|
|
}
|
|
});
|
|
|
|
reflect_Minecraft_methods.add(reflect_Minecraft_method_getEnableFNAWSkins_68);
|
|
|
|
BaseData[] reflect_Minecraft_methods_arr = new BaseData[reflect_Minecraft_methods.size()];
|
|
for (int i = 0; i < reflect_Minecraft_methods_arr.length; i++) {
|
|
reflect_Minecraft_methods_arr[i] = reflect_Minecraft_methods.get(i);
|
|
}
|
|
|
|
reflect_Minecraft.set("constructors", reflect_Minecraft_constructors_arr);
|
|
reflect_Minecraft.set("methods", reflect_Minecraft_methods_arr);
|
|
reflect_Minecraft.set("className", "Minecraft");
|
|
reflect_Minecraft.set("classId", "net.minecraft.client.Minecraft");
|
|
reflect_Minecraft.set("class", Minecraft.class);
|
|
reflectProfiles.add(reflect_Minecraft);
|
|
|
|
BaseData[] reflectProfilesArr = new BaseData[reflectProfiles.size()];
|
|
for (int i = 0; i < reflectProfilesArr.length; i++) {
|
|
reflectProfilesArr[i] = reflectProfiles.get(i);
|
|
}
|
|
plReflectGlobal.set("classes", reflectProfilesArr);
|
|
|
|
plReflectGlobal.setCallbackClassFinder("getClassByName", (String className) -> {
|
|
for (int i = 0; i < reflectProfilesArr.length; i++) {
|
|
if (reflectProfilesArr[i].getString("className").equals(className)) {
|
|
return reflectProfilesArr[i];
|
|
}
|
|
}
|
|
return null;
|
|
});
|
|
|
|
plReflectGlobal.setCallbackClassFinder("getClassById", (String classId) -> {
|
|
for (int i = 0; i < reflectProfilesArr.length; i++) {
|
|
if (reflectProfilesArr[i].getString("classId").equals(classId)) {
|
|
return reflectProfilesArr[i];
|
|
}
|
|
}
|
|
return null;
|
|
});
|
|
|
|
return plReflectGlobal;
|
|
}
|
|
} |