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

Setting Up The Workspace


MCRM
 Share

Recommended Posts

Hi there.  I'm new to the 1.14 workspace setup process, and it's turning out harder than expected to do.  I'm to set up the workspace for eclipse so I can begin to make my mod but I can't seem to get it to download the resources for minecraft.  Is there a different process for setting up now, or am I doing something wrong.  I used gradlew genEclipseRuns as well as gradlew eclipse and nothing is getting the dependencies needed.

Link to comment
Share on other sites

You should use eclipse’s gradle integration to set up your workspace. I have a tutorial on how to set up a 1.14.4 workspace with eclipse at https://cadiboo.github.io/tutorials/1.14.4/forge/1.1-importing-project/eclipse/

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

Cariboo, I followed said tutorial but I was expecting the source files for forge to generate.  Not to sound rude, especially since your no cubes mod is brilliant, but that is kinda the point of this post.  I ran both the runs files and the errors should have gone away, but they didn't.  I was originally making my mod in 1.8.9, but hit a roadblock, and then no one here would help me because a lot of people here appear to be elitists.  The best way I saw to remedy that is to make the mod in 1.14.4 and figure out what goes where working backward, but I can't seem to get the source files to appear in my mod and it won't run due to the errors.  I have started looking for a pre-setup mod folder, but I can't find any.  If you could provide one that could save a lot of pain and troubleshooting for a lot of modders.

 

Ugdhar, I read through the log and it said that the build was successful, in fact, it looked exactly like it did on Cadiboos how to.  The problem is that when I ran the .bat, it didn't make anything show up, when I ran it through eclipse it didn't make anything show up, and when I tried to look for a premade mod folder apparently no one provides those.

Link to comment
Share on other sites

Not wanting to support a version that is old as balls is not elitism.

And you're not going to find a pre-setup workspace, that would require redistributing Mojang's copyrighted material that is Minecraft's source code, which is illegal, ForgeGradle exists for a reason.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

4 hours ago, MCRM said:

The problem is that when I ran the .bat, it didn't make anything show up, when I ran it through eclipse it didn't make anything show up

Did you refresh your project In eclipse afterwards? Eclipse is notoriously bad and handling changes made outside its editor.

The eclipse task should have downloaded and set up Forge which includes Minecrafts patched code and all the libraries.

The genEclipseRuns task should have downloaded all the (extra) files necessary to run the client (translations etc.) and set up your launch configs. The launch configs require your to refresh your workspace for eclipse to notice them.

 

Please post the output of running (Or trying to run) your runClient launch config.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Hello, I want to register a seed reprocessor recipe from mystical agriculture in my mod. The recipe is at modid\src\main\resources\data\mysticalagriculture\recipes\seed\reprocessor The recipe works when mystical agriculture is loaded. But when MA isn't loaded, it throws an error: Parsing error loading recipe mysticalagriculture:seed/reprocessor/magical com.google.gson.JsonSyntaxException: Invalid or unsupported recipe type 'mysticalagriculture:reprocessor' How can I disable this recipe loading when MA isn't here ? Thanks !
    • Hello. I am tracking an Int Array to sync the data value between server and client. For some reason the tracked IntArray's max value is the Short Max Value, 32767 and when passing that, it overloads. https://github.com/Beardlessbrady/Currency-Mod/blob/master-1.16/src/main/java/com/beardlessbrady/gocurrency/blocks/vending/VendingContainer.java#L113 Is this normal, if not any ideas what could be causing this? The value is fine when being set up until I get the value from the client
    • Here's the crash report Why it crashes when i play with create mod without this mod is working fine but when i load it with this mod is crashing ---- Minecraft Crash Report ---- // Sorry :(   Time: 03.12.2021 17:47 Description: Unexpected error   java.lang.RuntimeException: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT  at net.minecraft.client.shader.Framebuffer.func_147611_b(Framebuffer.java:164) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}  at net.minecraft.client.shader.Framebuffer.func_216492_b(Framebuffer.java:143) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}  at net.minecraft.client.shader.Framebuffer.func_227586_d_(Framebuffer.java:58) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}  at net.minecraft.client.shader.Framebuffer.func_216491_a(Framebuffer.java:46) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}  at net.minecraft.client.shader.Framebuffer.enableStencil(Framebuffer.java:307) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}  at com.simibubi.create.foundation.gui.UIRenderHelper.createFramebuffer(UIRenderHelper.java:48) ~[create:mc1.16.5_v0.3.2g] {re:mixin,re:classloading}  at com.simibubi.create.foundation.gui.UIRenderHelper.lambda$init$0(UIRenderHelper.java:40) ~[create:mc1.16.5_v0.3.2g] {re:mixin,re:classloading}  at com.mojang.blaze3d.systems.RenderSystem.replayQueue(SourceFile:116) ~[?:?] {re:classloading}  at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:103) ~[?:?] {re:classloading}  at net.minecraft.client.MainWindow.func_227802_e_(MainWindow.java:305) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}  at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:996) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}  at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A}  at net.minecraft.client.main.Main.main(Main.java:184) ~[1.16.5-forge-36.2.2.jar:?] {re:classloading,pl:runtimedistcleaner:A}  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0-internal] {}  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0-internal] {}  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0-internal] {}  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0-internal] {}  at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.16.5-36.2.2.jar:36.2] {}  at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}  at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}  at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}  at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}  at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}     A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------   -- System Details -- Details:  Minecraft Version: 1.16.5  Minecraft Version ID: 1.16.5  Operating System: Linux (arm) version Android-10  Java Version: 1.8.0-internal, Oracle Corporation  Java VM Version: OpenJDK Client VM (mixed mode), Oracle Corporation  Memory: 619526352 bytes (590 MB) / 962985984 bytes (918 MB) up to 962985984 bytes (918 MB)  CPUs: 8  JVM Flags: 3 total; -Xms949M -Xmx949M -Xbootclasspath/p:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/caciocavallo/ResConfHack.jar:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/caciocavallo/cacio-androidnw-1.10-SNAPSHOT.jar:/storage/emulated/0/Android/data/net.kdt.pojavlaunch/files/caciocavallo/cacio-shared-1.10-SNAPSHOT.jar  ModLauncher: 8.0.9+86+master.3cf110c  ModLauncher launch target: fmlclient  ModLauncher naming: srg  ModLauncher services:    /mixin-0.8.2.jar mixin PLUGINSERVICE    /eventbus-4.0.0.jar eventbus PLUGINSERVICE    /forge-1.16.5-36.2.2.jar object_holder_definalize PLUGINSERVICE    /forge-1.16.5-36.2.2.jar runtime_enum_extender PLUGINSERVICE    /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE    /forge-1.16.5-36.2.2.jar capability_inject_definalize PLUGINSERVICE    /forge-1.16.5-36.2.2.jar runtimedistcleaner PLUGINSERVICE    /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE    /forge-1.16.5-36.2.2.jar fml TRANSFORMATIONSERVICE   FML: 36.2  Forge: net.minecraftforge:36.2.2  FML Language Providers:    javafml@36.2   minecraft@1  Mod List:    forge-1.16.5-36.2.2-client.jar |Minecraft |minecraft |1.16.5 |ENQUEUE_IM|Manifest: NOSIGNATURE   forge-1.16.5-36.2.2-universal.jar |Forge |forge |36.2.2 |ENQUEUE_IM|Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90   flywheel-1.16-0.2.5.jar |Flywheel |flywheel |1.16-0.2.5 |ENQUEUE_IM|Manifest: NOSIGNATURE   create-mc1.16.5_v0.3.2g.jar |Create |create |v0.3.2g |ENQUEUE_IM|Manifest: NOSIGNATURE  Crash Report UUID: 92c1896e-9478-4361-a7cf-aae00a584ee1  Launched Version: 1.16.5  Backend library: LWJGL version 3.2.3 SNAPSHOT  Backend API: GL4ES wrapper GL version 2.1 gl4es wrapper 1.1.5, ptitSeb  GL Caps: Using framebuffer using ARB_framebuffer_object extension  Using VBOs: Yes  Is Modded: Definitely; Client brand changed to 'forge'  Type: Client (map_client.txt)  Graphics mode: fancy  Resource Packs:   Current Language: English (US)  CPU: 9x ARMv8 Processor rev 4 (v8l)
    • Does this work? public static final RegistryObject<ForgeSpawnEggItem> SKELETON_SPAWN_EGG = ITEMS.register("skeleton_spawn_egg", () -> new ForgeSpawnEggItem(new Supplier<EntityType<? extends Mob>>() { @Override public EntityType<? extends Mob> get() { return EntityType.SKELETON; } }, 0x00FFA8, 0x326D59, new Item.Properties().tab(CreativeModeTab.TAB_MATERIALS)));  
  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.