Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

arungupta

Members
  • Posts

    54
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

arungupta's Achievements

Stone Miner

Stone Miner (3/8)

1

Reputation

  1. Seems like that might be it. How do I disable the online mode?
  2. Trying that suggestion but facing another problem Are there instructions available to share generated mod file with another Forge server?
  3. Started 1.19 server and the log is available at https://gist.github.com/arun-gupta/28114b7e6bc6a8bff9ae0818ade6b19e. Started launcher using runClient in Eclipse but the launcher does not recognize localhost server. run/eula.txt has been updated already. What could be missing?
  4. This is very helpful. The "run/mods" directory has "modid-1.0.jar" I tried the commands implementation fg.deobf("blank:examplemod:1.0") and implementation fg.deobf("blank:examplemod:1.0") But both does not seem to be working. Seems like the dependencies are not correctly specified. Any further suggestions?
  5. Here are my system details: Minecraft Version: 1.19 Minecraft Version ID: 1.19 Operating System: Mac OS X (aarch64) version 12.5.1 Java Version: 17.0.4, Eclipse Adoptium Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Eclipse Adoptium I created a few mods and they all seem to run fine from Eclipse using runClient. But when a mod file is generated using "gradlew build" command, and placed it in "run/mods" directory, then the server started with "gradlew runServer" crashes with an exception, The complete log is at https://gist.github.com/arun-gupta/48f0c2a882347ca952a3195c6ad57568. I removed SkeletonWars mod from the mods file included in run/mods directory and now a similar error occurs in ExampleMod. Complete log for that is at https://gist.github.com/arun-gupta/7c80c37869b231c952831b66f081579c. Any ideas?
  6. Here is my configuration: % java -version java version "18.0.2" 2022-07-19 Java(TM) SE Runtime Environment (build 18.0.2+9-61) Java HotSpot(TM) 64-Bit Server VM (build 18.0.2+9-61, mixed mode, sharing) forge-1.19-41.1.0-mdk on macOS Monterey 12.5 I ran the command: ./gradlew genEclipseRuns and was hoping it will generate the Eclipse project files for me. The run log is at https://gist.github.com/arun-gupta/06b983a6976b4c0a0f510d0dc225ddd3 and the generated directory structure is at https://gist.github.com/arun-gupta/3f5bfc70ec5d3d903b0f97d42840abda. In previous versions (1.12-ish), it used to generate an eclipse directory but 1.19 does not seem to have it. I tried opening the top-level forge directory but Eclipse does not recognize it as a project as well. How do I open this project in Eclipse now?
  7. Helping my son following up from http://www.minecraftforge.net/forum/index.php?topic=37243 and starting a new thread to discuss SLF4J classes not loading. This thread helped explain how shadowing can be done where certain packages can be renamed to avoid conflict. However now logging classes are not getting loaded correctly. Here is the error that is being thrown: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at com.github.dockerjava.jaxrs.DockerCmdExecFactoryImpl.<clinit>(DockerCmdExecFactoryImpl.java:82) ~[DockerCmdExecFactoryImpl.class:?] at com.github.dockerjava.core.DockerClientBuilder.getDefaultDockerCmdExecFactory(DockerClientBuilder.java:35) ~[DockerClientBuilder.class:?] at com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:47) ~[DockerClientBuilder.class:?] at org.redfrog404.mobycraft.DockerCommands.getDockerClient(DockerCommands.java:233) ~[DockerCommands.class:?] at org.redfrog404.mobycraft.DockerCommands.ps(DockerCommands.java:193) ~[DockerCommands.class:?] at org.redfrog404.mobycraft.DockerCommands.func_71515_b(DockerCommands.java:110) ~[DockerCommands.class:?] at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:100) [j.class:?] at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:79) [j.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:815) [lm.class:?] at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:794) [lm.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:37) [ie.class:?] at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9) [ie.class:?] at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fh$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_74] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_74] at net.minecraft.util.Util.func_181617_a(SourceFile:44) [g.class:?] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:660) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:152) [bpo.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74] Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_74] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_74] ... 21 more The entire project is at https://github.com/AdityaGupta1/mobycraft and build.gradle. Built this as gradlew build and copied the build/libs/mobycraft-1.0.jar to the mods folder. Any suggestions on how to fix this? Arun
  8. Saw an update from @lexmanos at https://twitter.com/lexmanos I always knew these guys are fast So hopefully expecting a release in the coming days.
  9. Minecraft 1.9 was released earlier today: http://mojang.com/2016/02/minecraft-19-combat-update/ Wondering when would an updated Forge be available?
  10. We are in the process of migrating mods from 1.7 to 1.8 and noticed quite a few non-backwards compatible changes. For example: - All cpw.mods packages are refactored to net.minecraftforge - Some of the methods in ICommand do not exist any more - BlockStairs constructor has changed - BlockStairs.setBlockName does not exist any more - textureName field in Block class does not exist any more - EntityItem.age and delayBeforeCanPickup do not exist - BreakEvent does not have a block field - PlayerInteractEvent does not have x, y, and z fields. Instead they are encapsulated in pos. I've seen the change log at: http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.0.1299/forge-1.8-11.14.0.1299-changelog.txt Is there a list of API changes from 1.7.10 to 1.8?
  11. Had troubles with the "weird string format". Can you share an example for that ?
  12. I understand crafting and smelting recipes using Forge. How do I create brewing recipes ? [1] is unanswered and answer in [2] is not clear. Is Brewing supported or planned in upcoming releases ? [1] http://www.minecraftforge.net/forum/index.php?topic=2611.0 [2] http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/1428976-adding-brewing-recipes
  13. Thanks, will try it and let you know!
  14. Still a noobie to Forge. Code please ?
×
×
  • Create New...

Important Information

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