Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Forge Mods
  • Mods
  • MOVED: Minecraft Eclipse Error
Sign in to follow this  
Followers 0
diesieben07

MOVED: Minecraft Eclipse Error

By diesieben07, November 25, 2015 in Mods

  • Start new topic

Recommended Posts

diesieben07    6687

diesieben07

diesieben07    6687

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6687
  • 45709 posts
Posted November 25, 2015

This topic has been moved to Modder Support.

 

[iurl]http://www.minecraftforge.net/forum/index.php?topic=34647.0[/iurl]

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Jaffaaaaa
      ScreenGui does nothing

      By Jaffaaaaa · Posted 9 minutes ago

      bump. anyone help?
    • JMAS
      net.minecraftforge.oredict.OreDictionary missing from 1.14.4 MDK

      By JMAS · Posted 12 minutes ago

      Regarding the Oredict question above: NonNullList<ItemStack> seed = OreDictionary.getOres("seed");
    • Carbonx_09
      Minearchy | 1.14.4 Towny | Releasing Mid December | Balanced player economies | Join discord: discord.gg/vUEAanV

      By Carbonx_09 · Posted 23 minutes ago

      Hey guys, you should definitely join our discord server! We're going to be releasing in one week! https://discord.gg/vUEAanV
    • solitone
      Distinguish singleplayer vs. multiplayer

      By solitone · Posted 43 minutes ago

      @Override public ActionResult<ItemStack> onItemRightClick(ItemStack stack, World world, EntityPlayer player, EnumHand hand) { // [...] String separator = getSeparator(); String scriptName = nbtTagCompound.getString("scriptName"); String scriptPath = "pythontool" + separator + scriptName; proxy.runPython(world, player, scriptPath); // [...] }   ^^^ This is how I refactored onItemRightClick(). The runPython() method does nothing on the dedicated server, while on the client:   public class ClientOnlyProxy extends CommonProxy { // [...] @Override public void runPython(World world, EntityPlayer player, String scriptPath) { super.runPython(world, player, scriptPath); if (world.isRemote) { // client side if (!Minecraft.getMinecraft().isSingleplayer()) { // client talks to dedicated server (multiplayer game) ClientCommandHandler.instance.executeCommand(player, "/lpython " + scriptPath); } } else { // server side if (player.isSneaking()) { // shift pressed. Run new parallel script Minecraft.getMinecraft().thePlayer.getServer().getCommandManager().executeCommand(player, "/apy " + scriptPath); } else { // shift not pressed. Cancel previous scripts and run new script world.getMinecraftServer().getCommandManager().executeCommand(player, "/python " + scriptPath); } } } }   I still need to figure out why they used two different approaches to execute commands on the integrated server--Minecraft.getMinecraft().thePlayer.getServer().getCommandManager().executeCommand() vs. world.getMinecraftServer().getCommandManager().executeCommand().   public abstract class CommonProxy { // [...] public void runPython(World world, EntityPlayer player, String scriptPath) {} }   public class PythonTool { // [...] @SidedProxy(clientSide="pythontool.ClientOnlyProxy", serverSide="pythontool.DedicatedServerProxy") public static CommonProxy proxy; // [...] }   Are still there significant mistakes? Thanks again!
    • salvestrom
      [1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?

      By salvestrom · Posted 46 minutes ago

      Please show your render class. And please use the <> function in the reply box to copy and paste your class. Don't just use screenshots.
  • Topics

    • Jaffaaaaa
      1
      ScreenGui does nothing

      By Jaffaaaaa
      Started Yesterday at 07:03 PM

    • JMAS
      5
      net.minecraftforge.oredict.OreDictionary missing from 1.14.4 MDK

      By JMAS
      Started 4 hours ago

    • Carbonx_09
      1
      Minearchy | 1.14.4 Towny | Releasing Mid December | Balanced player economies | Join discord: discord.gg/vUEAanV

      By Carbonx_09
      Started Yesterday at 08:30 PM

    • solitone
      18
      Distinguish singleplayer vs. multiplayer

      By solitone
      Started December 5

    • DragonITA
      34
      [1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?

      By DragonITA
      Started Monday at 10:06 AM

  • Who's Online (See full list)

    • JMAS
    • Jaffaaaaa
    • dylandmrl
    • deerangle
    • loordgek
    • Pyre540
    • bluemetalsword
    • Carbonx_09
  • All Activity
  • Home
  • Forge Mods
  • Mods
  • MOVED: Minecraft Eclipse Error
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community