Jump to content

Choonster

Moderators
  • Posts

    5160
  • Joined

  • Last visited

  • Days Won

    76

Everything posted by Choonster

  1. ITickable#update is called on both the client and server, you need to check if it's being called on the server (i.e. World#isRemote is false) before spawning the items and the lightning bolt.
  2. The post mentions Windows Explorer, not Internet Explorer. It's called File Explorer rather than Windows Explorer in Windows 10 (and possibly other versions).
  3. Are you sure this is only running on the server? It sounds like it's running on the client. Post more of your code.
  4. Read the documentation or look at my example. If you've actually tried to use it and it's not working, post your code and the error message(s).
  5. The ICommandSender will usually be the client player, but this isn't guaranteed. Mods can execute client commands with their own ICommandSender if they want. The Minecraft#player field contains the current client player.
  6. You don't have delete part of the log, you need to delete the mod that the log tells you is installed incorrectly. If you already have the mod JAR downloaded, copy that to your mods directory without extracting it. If you don't have the mod JAR any more, download it again before copying it to the mods directory (again, without extracting it). If you've done this and it's still crashing, run the game again and post the new FML log. Don't hijack other people's threads. I read every thread in this forum and respond when I know the solution, asking for a reply in another thread is just annoying.
  7. Select the directory and press the delete key. Save what?
  8. The section of the log I quoted tells you which directory is an extracted mod, delete this.
  9. You've now uploaded the log correctly. As I said previously, the issue is that you have extracted mods in your mods directory:
  10. Just drag the file anywhere on the page except the large textbox in the middle.
  11. You're meant to upload the log to Gist (which I explained in detail how to do) and link it here. You're not meant to copy the log directly into your post. Anyway, this is the issue: Don't extract mods, just put the JARs in the mods directory.
  12. Open the launcher profile, then click the green arrow next to the "Game directory" option to open the game directory. Open the logs directory located in the game directory and find the fml-client-latest.log file. Open Gist in your web browser. Drag the fml-client-latest.log file from the logs directory onto the Gist web page. The page will become darker and say "Drop one or more files here to prefill your gist!". When you see this, drop the file onto the page (release the mouse button) and the textbox in the middle will be filled with the log's contents. Click "Create secret gist" or "Create public gist" and wait for the file to be uploaded. Copy the URL from the web browser's address bar. Paste the URL into a reply here.
  13. The profile in the Minecraft Launcher determines where the game directory is. If you haven't changed it for the profile, it will be the same directory that the launcher is installed in.
  14. I'm not entirely sure what you mean. The FML log is in the logs directory, which is in the game directory. The FML log isn't in the game directory itself.
  15. Open the Gist website and then drag the file from the logs directory you have open in File Explorer (or your OS's equivalent) onto the web browser, you should see the page become darker and say "Drop one or more files here to prefill your gist!". When you see this, drop the file onto the page (release the mouse button) and the textbox in the middle should be filled with the log's contents.
  16. You need to shade the MySQL connector into your JAR using the Gradle Shadow plugin. You can see how I shade a dependency in my mod here. Make sure you relocate the MySQL connector's packages when shading to avoid conflicts with other mods. This will automatically use the new package names in your code, but not in strings (e.g. the string you pass to Class.forName).
  17. I tried to explain it as simply as I could. Was there a particular part you didn't understand?
  18. Open the Minecraft game directory (.minecraft or whatever you've set it to in the launcher profile) then open the logs directory and look for the fml-client-latest.log file in it. Open the Gist website in your web browser and then drag the file onto it. Click "Create secret gist" or "Create public gist", wait for the file to upload and then copy the URL from your web browser's address bar into a reply here.
  19. Post the FML log (logs/fml-client-latest.log in the game directory) using Gist or Pastebin. It should say what the problem is.
  20. You've marked the thread as solved, but you haven't posted the solution. In future, please do this so other people can find it in future. Loader.isModLoaded requires the mod ID, not the mod name (despite the parameter's name).
  21. YouTubeCommand#processCommand checks if World#isRemote is false, i.e. if the code is being called on the logical server. Since you register it with the client command handler, it will only ever be called from the logical client and the method won't do anything. Is it meant to be a client command or a server command? If it's the former, check for the logical client rather than the logical server (or don't check at all, it will only ever be called on the side you register it for). If it's the latter, you need to register it in FMLServerStartingEvent using FMLServerStartingEvent#registerServerCommand. If your command has sub-commands, you can extend CommandTreeBase and register each sub-command with CommandTreeBase#addSubcommand.
  22. Which version of Forge are you using? The logging of missing models was broken in Forge 1.12-14.21.0.2363 (commit dc043ac) and fixed in Forge 1.12-14.21.1.2390 (commit ede05a2). Please create a Git repository of your mod on a site like GitHub and link it here. See my mod and its .gitignore file for an example of which files to include.
  23. This has nothing to do with the texture pack, this is caused by using an outdated version of OptiFine. This particular issue was fixed in OptiFine 1.11.2_HD_U_B7 (field_78286_d is the obfuscated name of FontRender.charWidth) Because OptiFine is a coremod that messes with a lot of Minecraft's internals, it only supports specific versions of Forge. The changelog for each version of OptiFine says which Forge version it's compatible with. Side note: There's no Java involved in texture packs. You may be thinking of JSON, the format used by blockstates files, models, etc.
  24. It was added in Forge 1.11.2-13.20.0.2289, so you're probably using an older version.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.