"This App cannot run on your computer" whenever trying to install forge
By
Nakaru, in Support & Bug Reports
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
From what I see in the examples I've found, proxies are basically used for preInitialization, Inizialization, and postInizialization tasks. Here I've got an Item class, with method onItemRightClick() that should perform different things based on the game mode (multiplayer vs. singleplayer). How would I take advantage of the sided proxies to refactor the following class? Should I have two classes, one for the client, the other for the dedicated server, and register the first class on the client, and the second on the dedicated server? I'm confused and basically stuck. public class ScriptItem extends Item { // [...] @Override public ActionResult<ItemStack> onItemRightClick(ItemStack stack, World world, EntityPlayer player, EnumHand hand) { // [...] String separator = getSeparator(); if (world.isRemote) { // client side if (!Minecraft.getMinecraft().isSingleplayer()) { // client talks to dedicated server (multiplayer game) String scriptName = nbtTagCompound.getString("scriptName"); ClientCommandHandler.instance.executeCommand(player, "/lpython " + "pythontool" + separator + scriptName); } } else { // server side if (!FMLCommonHandler.instance().getMinecraftServerInstance().isDedicatedServer()) { // server is integrated (singleplayer game) String scriptName = nbtTagCompound.getString("scriptName"); world.getMinecraftServer().getCommandManager().executeCommand(player, "/python " + "pythontool" + separator + scriptName); } } }
-
By SeekingTanis · Posted
When I try to launch forge, there are roughly 20 seconds when it might work and then the Minecraft launcher shows up saying that there was an unexpected issue and the game crashed. I can't seem to get a crash report and I don't know what to do! -
UPDATE: Apparently the problem is allowing IntelliJ to update to the latest version of Gradle (4.9), when the MDK build.gradle is set to "3.+". By refusing to allow a fresh install of IntelliJ to upgrade Gradle the build process completed, genintellijRun completed, and Minecraft loaded. Please feel free to close this issue.
-
Hello, may i get to know how did you guys get over this? Expriceing exactly the same issue.
-
Ok, thx, but i want make a horse, with horse animations and horse gui and etc. and i dont want write the code of AbstractHorse, i can copy, ok, but then?
-
-
Topics
-
Who's Online (See full list)