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

How to use Gradle in NetBeans


Two
 Share

Recommended Posts

The following list has been build on try & error experience and might not be correct or perfect. If you feel that this can be improved, please feel free to comment and add your suggestions.

 

1. Install the NetBeans Gradle plugin

Tools -> Plugins -> Available Plugins -> search for "Gradle" -> install

 

2. Install the latest Gradle

As Forge ships with an outdated Gradle version that causes issues during debugging, you need to dowload the latest binaries from the official source

Forge Gradle has been updated, no need for manual install anymore, but guide kept for reference.

 

Extract the Zip into any directory (no installation necessary), then point Netbeans to this directory under Tools -> Options -> Miscellaneous -> Gradle -> Gradle Installation Directory

 

3. Download the latest/recommended Forge SRC zip

Extract it to a new directory, which will then be your project directory.

 

4. Setup Forge

Open a command line and go to that new directory to setup the decompile workspace:

gradlew setupDecompWorkspace

 

If you have issues and think you messed up the setup, run:

gradlew cleancache --refresh-dependencies

If that one fails: go to your \User\Home directory and delete the .gradle directory, then try again.

 

5. Open the project

File -> Open Project -> navigate to the dir where you extracted the files.

 

If you have not installed the latest Gradle, you will receive an error message about that at this point.

 

6. Run the client

To run the client you need to execute the 'runClient' task. If you want to tie that to the run button (F6) you need to first edit the built-in task as follows:

[*]Go to project properties -> Gradle project -> Manage Built-In Tasks

[*]Select the task 'Run' from the list

[*]Deselect 'Inherit' to enable edit, then under 'Tasks' replace "run" with "runClient"

6. Run the server

As in 6. just that you need to execute the task 'runServer' instead of 'runClient'. You can change the built-in run task accordingly as described above.

 

If you often switch between server and client compilation, you can add profiles to the project properties like 'Client' and 'Server' which have individual configurations of the 'Run' task. This makes switching a lot easier.

 

Hint: you can debug by using the debugClient and debugServer tasks as above.

 

7. Build the mod jar

To build a distributable mod jar, use the build button (F11).

The result file will be placed in "build\libs".

 

8. Customize your mod

Beside adding code you can customize your mod by editing the build.gradle file (Build Scripts -> double-click build.gradle).

Here you can edit "version", "group" and "archivesBaseName" to your likings.

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

Link to comment
Share on other sites

Edit your netbeans run configs directly, don't mess in the build.gradle.

 

This was one of my many attempts, but whatever I do, the arguments are always ignored even if definitely present, and I have no clue why.

 

Edit: I changed the tutorial so that it adds the required parameters to the run config. It doesn't fix the problem, however.

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

Link to comment
Share on other sites

Good to see someone besides myself working on mods with NetBeans.

 

Step 2. Typographic error, you have "Force" instead of "Forge".

 

Also, clarify "working directory". Do you mean, as it was previously, a subdirectory of the MCP stuff? Or, do you mean inside of the gradle path? Or, do you mean as a copy within the mod's structure? Hopefully, NOT the latter, ... I have enough mod projects that I would be frustrated if I had that many duplicates..........

Link to comment
Share on other sites

Use the force... eh.. Forge. ;)

 

The extracted ZIP is your working and project directory. But compared to earlier Forge versions, it is now much more tidy, as the Minecraft and Forge code has been moved into a jar by the team.

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

Link to comment
Share on other sites

Hello,

 

As I was running the same environment in debug mode, I've found that no argument is passed into the launched command.

 

The main class is set by the DevBasePlugin class but the "args" passed as well as the "fml.ignoreInvalidMinecraftCertificates" parameters never reaches the run task of the build.

 

I find the same errors using the command line.

 

Can anyone confirm that at least the command line scripts can perform a build ?

Link to comment
Share on other sites

I've been trying some more things after a reply from LexManos, and I am pretty sure that the failure to run is a Forge bug. See here: http://www.minecraftforge.net/forum/index.php/topic,15233.msg77271.html

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

Link to comment
Share on other sites

  • 2 weeks later...

Two, going off the run task you posted in this thread, I believe you have the wrong syntax for the args and jvmArgs methods, as pointed out by a Gradle dev here.  Instead of passing each set of arguments as a single string, pass each token separately, as follows:

args("--version", "1.6", "--tweakClass", "cpw.mods.fml.common.launcher.FMLTweaker", "--accessToken", "FML")
jvmArgs("-Xincgc",  "-Xmx1024M", "-Xms1024M", "-Djava.library.path=${project.buildDir}/natives",  "-Dfml.ignoreInvalidMinecraftCertificates=true")

 

That said, these run tasks appear to work for Forge version 1.6.4-9.11.1.964:

task runClient(type: JavaExec) {
    classpath = sourceSets.main.runtimeClasspath
    main = "net.minecraft.launchwrapper.Launch"
    args("--version", "1.6",
        "--tweakClass", "cpw.mods.fml.common.launcher.FMLTweaker",
        "--accessToken", "FML")
    jvmArgs("-Xincgc",
        "-Xmx1024M",
        "-Xms1024M",
        "-Djava.library.path=${project.buildDir}/natives",
        "-Dfml.ignoreInvalidMinecraftCertificates=true")
    workingDir("eclipse")
}

task runServer(type: JavaExec) {
    classpath = sourceSets.main.runtimeClasspath
    main = "cpw.mods.fml.relauncher.ServerLaunchWrapper"
    jvmArgs("-Xincgc", "-Dfml.ignoreInvalidMinecraftCertificates=true")
}

 

Note that you'll have to manually configure the project's properties in order for Netbeans' run button (or F6) to execute either of these tasks.  Also, keep in mind that if you use the clean task, it will delete your build folder along with the natives folder inside.  You can run the extractNatives task again to get it back.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Sorry for long time no answer and big thanks for the fix!

 

I just tested the change with the current Forge version (172-10.12.1.1061) and it works.

 

If you just hit the run tasks, it complains because no main class has been set. This is understandable because the script doesn't know if I want to run server or client obviously. It might be a good idea to default the run to runClient, because that is what most people want to run.

 

If I change the built-in run task to run 'runClient' instead, the client launches properly and everything seems to work fine. I got at some point an error about the lwjgl missing, but the second time I run "setupDecompWorkspace" the error was gone. No clue what caused that on my first try.

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

Link to comment
Share on other sites

I updated the initial post to reflect the changes. I still cannot figure out how to run individual tasks in NetBeans, just because the list of tasks is so huge that the window does not display any beyond the 'jar' task. Not sure what to do about this, but then you can always edit the run task to have it execute the proper 'runClient' or 'runServer' task.

My Mods

 

New Dawn - A completely new terrain engine for Minecraft

TwoTility - Blocks and Items for a better Minecraft

TwoGraves - Keeps your items safe on death

Link to comment
Share on other sites

  • 1 month later...

I'm now trying to use it from NetBeans. Build & run work fine, but in the editor I have a lot of errors - even though the build works just fine. At the top of the file I get an error that java.lang could not be loaded - so I suppose the remaining errors stem from that one.

 

All imports seem to work fine, though. Anyone else experiencing this issue too? It makes it rather impractical to work with as the editor is full of errors.

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

    • Hi! I experienced the same issue. Check if you replaced examplemod with your mod id in ln. 103 of the build.gradle. This line: "args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')"
    • It's originally Arabic but I changed it to English   [29Nov2021 13:35:13.629] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Alsefri1423, --version, 1.17.1-forge-37.0.126, --gameDir, C:\Users\Gaming\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Gaming\AppData\Roaming\.minecraft\assets, --assetIndex, 1.17, --uuid, a889dee5cd184fe7b91ede11d2acd85f, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 37.0.126, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038] [29Nov2021 13:35:13.633] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 16.0.1 by Microsoft [29Nov2021 13:35:13.652] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness] [29Nov2021 13:35:13.666] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [29Nov2021 13:35:13.677] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,object_holder_definalize,runtime_enum_extender,capability_token_subclass,capability_inject_definalize,accesstransformer,runtimedistcleaner] [29Nov2021 13:35:13.687] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [29Nov2021 13:35:13.692] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: java.util.stream.ReferencePipeline$3@7e3f95fe [29Nov2021 13:35:13.701] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml] [29Nov2021 13:35:13.701] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [29Nov2021 13:35:13.702] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [29Nov2021 13:35:13.702] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin [29Nov2021 13:35:13.702] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [29Nov2021 13:35:13.704] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [29Nov2021 13:35:13.704] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 1.0 loading [29Nov2021 13:35:13.704] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 9.0.7+91+master.8569cdf [29Nov2021 13:35:13.705] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [29Nov2021 13:35:13.705] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 5.0.3+70+master.d7d405b [29Nov2021 13:35:13.705] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner [29Nov2021 13:35:13.707] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 5.0.1+15+master.dc5a2922 [29Nov2021 13:35:13.708] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 4.0.10+24+master.876d7985 [29Nov2021 13:35:13.708] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 4 [29Nov2021 13:35:13.709] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [29Nov2021 13:35:13.710] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [29Nov2021 13:35:13.716] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [29Nov2021 13:35:13.717] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin [29Nov2021 13:35:13.730] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@13e39c73 [29Nov2021 13:35:13.746] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Users/Gaming/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar%2318! Service=ModLauncher Env=CLIENT [29Nov2021 13:35:13.749] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager [29Nov2021 13:35:13.750] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2) [29Nov2021 13:35:13.751] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2) [29Nov2021 13:35:13.752] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2) [29Nov2021 13:35:13.753] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2) [29Nov2021 13:35:13.754] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2) [29Nov2021 13:35:13.756] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin [29Nov2021 13:35:13.756] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [29Nov2021 13:35:13.757] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories [29Nov2021 13:35:13.758] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\Gaming\AppData\Roaming\.minecraft [29Nov2021 13:35:13.759] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\Gaming\AppData\Roaming\.minecraft [29Nov2021 13:35:13.760] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\Gaming\AppData\Roaming\.minecraft\mods [29Nov2021 13:35:13.760] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\Gaming\AppData\Roaming\.minecraft\mods [29Nov2021 13:35:13.760] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\Gaming\AppData\Roaming\.minecraft\config [29Nov2021 13:35:13.761] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\Gaming\AppData\Roaming\.minecraft\config [29Nov2021 13:35:13.761] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\Gaming\AppData\Roaming\.minecraft\config\fml.toml [29Nov2021 13:35:13.761] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration [29Nov2021 13:35:13.803] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing default config directory directory : C:\Users\Gaming\AppData\Roaming\.minecraft\defaultconfigs [29Nov2021 13:35:13.803] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing ModFile [29Nov2021 13:35:13.807] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing launch handler [29Nov2021 13:35:13.807] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Using forgeclient as launch service [29Nov2021 13:35:13.825] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Received command line version data  : VersionInfo[forgeVersion=37.0.126, mcVersion=1.17.1, mcpVersion=20210706.113038, forgeGroup=net.minecraftforge] [29Nov2021 13:35:13.827] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [29Nov2021 13:35:13.827] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'srg' [29Nov2021 13:35:13.828] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {} [29Nov2021 13:35:13.828] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [29Nov2021 13:35:13.829] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin [29Nov2021 13:35:13.829] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin [29Nov2021 13:35:13.829] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [29Nov2021 13:35:13.829] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan [29Nov2021 13:35:13.839] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: [] [29Nov2021 13:35:13.840] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null) [29Nov2021 13:35:14.152] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file client-1.17.1-20210706.113038-srg.jar with {minecraft} mods - versions {1.17.1} [29Nov2021 13:35:14.154] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\Gaming\AppData\Roaming\.minecraft\libraries\net\minecraft\client\1.17.1-20210706.113038\client-1.17.1-20210706.113038-srg.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]] [29Nov2021 13:35:14.155] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\Gaming\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.17.1-37.0.126\forge-1.17.1-37.0.126-universal.jar [29Nov2021 13:35:14.159] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file forge-1.17.1-37.0.126-universal.jar with {forge} mods - versions {37.0.126} [29Nov2021 13:35:14.159] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\Gaming\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.17.1-37.0.126\forge-1.17.1-37.0.126-universal.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]] [29Nov2021 13:35:14.184] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod field_to_method with Javascript path coremods/field_to_method.js [29Nov2021 13:35:14.184] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod field_to_instanceof with Javascript path coremods/field_to_instanceof.js [29Nov2021 13:35:14.184] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod add_bouncer_method with Javascript path coremods/add_bouncer_method.js [29Nov2021 13:35:14.185] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/field_to_method.js [29Nov2021 13:35:14.185] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/field_to_instanceof.js [29Nov2021 13:35:14.185] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/add_bouncer_method.js [29Nov2021 13:35:14.186] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml [29Nov2021 13:35:14.329] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found 2 language providers [29Nov2021 13:35:14.330] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1.0 [29Nov2021 13:35:14.331] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider javafml, version 37 [29Nov2021 13:35:14.337] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 0 mod requirements (0 mandatory, 0 optional) [29Nov2021 13:35:14.337] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 0 mod requirements missing (0 mandatory, 0 optional) [29Nov2021 13:35:14.702] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers [29Nov2021 13:35:14.703] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service mixin [29Nov2021 13:35:14.703] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service mixin [29Nov2021 13:35:14.703] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml [29Nov2021 13:35:14.703] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading coremod transformers [29Nov2021 13:35:14.704] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_method.js [29Nov2021 13:35:14.895] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully [29Nov2021 13:35:14.895] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_instanceof.js [29Nov2021 13:35:14.972] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully [29Nov2021 13:35:14.972] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/add_bouncer_method.js [29Nov2021 13:35:15.001] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully [29Nov2021 13:35:15.008] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3cd9aa64 to Target : CLASS {Lnet/minecraft/world/effect/MobEffectInstance;} {} {V} [29Nov2021 13:35:15.009] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@36480b2d to Target : CLASS {Lnet/minecraft/world/item/BucketItem;} {} {V} [29Nov2021 13:35:15.009] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@27d33393 to Target : CLASS {Lnet/minecraft/world/level/block/StairBlock;} {} {V} [29Nov2021 13:35:15.009] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@1f6917fb to Target : CLASS {Lnet/minecraft/world/level/block/FlowerPotBlock;} {} {V} [29Nov2021 13:35:15.010] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@41eb94bc to Target : CLASS {Lnet/minecraft/world/item/ItemStack;} {} {V} [29Nov2021 13:35:15.010] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@378cfecf to Target : CLASS {Lnet/minecraft/network/play/client/CClientSettingsPacket;} {} {V} [29Nov2021 13:35:15.010] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml [29Nov2021 13:35:15.293] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [29Nov2021 13:35:15.293] [main/DEBUG] [mixin/]: Processing launch tasks for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [29Nov2021 13:35:15.294] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(minecraft) [29Nov2021 13:35:15.294] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(minecraft) [29Nov2021 13:35:15.294] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(minecraft) [29Nov2021 13:35:15.294] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(minecraft) [29Nov2021 13:35:15.294] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(minecraft) [29Nov2021 13:35:15.294] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)] [29Nov2021 13:35:15.294] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(forge) [29Nov2021 13:35:15.295] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(forge) [29Nov2021 13:35:15.295] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(forge) [29Nov2021 13:35:15.295] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(forge) [29Nov2021 13:35:15.295] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(forge) [29Nov2021 13:35:15.295] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)] [29Nov2021 13:35:15.295] [main/DEBUG] [mixin/]: inject() running with 3 agents [29Nov2021 13:35:15.295] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [29Nov2021 13:35:15.296] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)] [29Nov2021 13:35:15.296] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)] [29Nov2021 13:35:15.296] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclient' with arguments [--version, 1.17.1-forge-37.0.126, --gameDir, C:\Users\Gaming\AppData\Roaming\.minecraft, --assetsDir, C:\Users\Gaming\AppData\Roaming\.minecraft\assets, --uuid, a889dee5cd184fe7b91ede11d2acd85f, --username, Alsefri1423, --assetIndex, 1.17, --accessToken, ????????, --userType, msa, --versionType, release] [29Nov2021 13:35:15.426] [main/DEBUG] [mixin/]: Error cleaning class output directory: .mixin.out [29Nov2021 13:35:15.430] [main/DEBUG] [mixin/]: Preparing mixins for MixinEnvironment[DEFAULT] [29Nov2021 13:35:16.468] [pool-3-thread-1/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/level/block/StairBlock [29Nov2021 13:35:16.553] [pool-3-thread-1/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/level/block/FlowerPotBlock [29Nov2021 13:35:17.364] [pool-3-thread-1/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/item/ItemStack [29Nov2021 13:35:20.139] [pool-3-thread-1/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/item/BucketItem [29Nov2021 13:35:20.261] [pool-3-thread-1/DEBUG] [net.minecraftforge.coremod.transformer.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/effect/MobEffectInstance [29Nov2021 13:35:21.370] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [29Nov2021 13:35:23.946] [Render thread/DEBUG] [net.minecraftforge.fml.ModWorkManager/LOADING]: Using 4 threads for parallel mod-loading [29Nov2021 13:35:23.954] [Render thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLJavaModLanguageProvider/LOADING]: Loading FMLModContainer from classloader cpw.mods.modlauncher.TransformingClassLoader@1e253c9d - got cpw.mods.cl.ModuleClassLoader@607b2792 [29Nov2021 13:35:23.954] [Render thread/DEBUG] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Creating FMLModContainer instance for net.minecraftforge.common.ForgeMod [29Nov2021 13:35:24.366] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Config file forge-client.toml for forge tracking [29Nov2021 13:35:24.366] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Config file forge-server.toml for forge tracking [29Nov2021 13:35:24.366] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Config file forge-common.toml for forge tracking [29Nov2021 13:35:24.413] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.javafmlmod.AutomaticEventSubscriber/LOADING]: Attempting to inject @EventBusSubscriber classes into the eventbus for forge [29Nov2021 13:35:24.415] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.javafmlmod.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.common.ForgeSpawnEggItem$CommonHandler to MOD [29Nov2021 13:35:24.417] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.javafmlmod.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.common.ForgeSpawnEggItem$ColorRegisterHandler to MOD [29Nov2021 13:35:24.421] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.javafmlmod.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.client.model.ModelDataManager to FORGE [29Nov2021 13:35:24.422] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.javafmlmod.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.client.ForgeHooksClient$ClientEvents to MOD [29Nov2021 13:35:26.011] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded [29Nov2021 13:35:26.417] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Loading configs type CLIENT [29Nov2021 13:35:26.418] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for C:\Users\Gaming\AppData\Roaming\.minecraft\config\forge-client.toml [29Nov2021 13:35:26.419] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file C:\Users\Gaming\AppData\Roaming\.minecraft\config\forge-client.toml [29Nov2021 13:35:26.442] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file C:\Users\Gaming\AppData\Roaming\.minecraft\config\forge-client.toml for changes [29Nov2021 13:35:26.447] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Loading configs type COMMON [29Nov2021 13:35:26.447] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for C:\Users\Gaming\AppData\Roaming\.minecraft\config\forge-common.toml [29Nov2021 13:35:26.448] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file C:\Users\Gaming\AppData\Roaming\.minecraft\config\forge-common.toml [29Nov2021 13:35:26.448] [modloading-worker-2/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file C:\Users\Gaming\AppData\Roaming\.minecraft\config\forge-common.toml for changes [29Nov2021 13:35:26.669] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [29Nov2021 13:35:38.816] [Forge Version Check/DEBUG] [net.minecraftforge.fml.VersionChecker/]: [forge] Received version check data: {   "homepage": "https://files.minecraftforge.net/net/minecraftforge/forge/",   "promos": {     "1.1-latest": "1.3.4.29",     "1.2.3-latest": "1.4.1.64",     "1.2.4-latest": "2.0.0.68",     "1.2.5-latest": "3.4.9.171",     "1.3.2-latest": "4.3.5.318",     "1.4.0-latest": "5.0.0.326",     "1.4.1-latest": "6.0.0.329",     "1.4.2-latest": "6.0.1.355",     "1.4.3-latest": "6.2.1.358",     "1.4.4-latest": "6.3.0.378",     "1.4.5-latest": "6.4.2.448",     "1.4.6-latest": "6.5.0.489",     "1.4.7-latest": "6.6.2.534",     "1.5-latest": "7.7.0.598",     "1.5.1-latest": "7.7.2.682",     "1.5.2-latest": "7.8.1.738",     "1.5.2-recommended": "7.8.1.738",     "1.6.1-latest": "8.9.0.775",     "1.6.2-latest": "9.10.1.871",     "1.6.2-recommended": "9.10.1.871",     "1.6.3-latest": "9.11.0.878",     "1.6.4-latest": "9.11.1.1345",     "1.6.4-recommended": "9.11.1.1345",     "1.7.2-latest": "10.12.2.1161",     "1.7.2-recommended": "10.12.2.1161",     "1.7.10_pre4-latest": "10.12.2.1149",     "1.7.10-latest": "10.13.4.1614",     "1.7.10-recommended": "10.13.4.1614",     "1.8-latest": "11.14.4.1577",     "1.8-recommended": "11.14.4.1563",     "1.8.8-latest": "11.15.0.1655",     "1.8.9-latest": "11.15.1.2318",     "1.8.9-recommended": "11.15.1.2318",     "1.9-latest": "12.16.1.1938",     "1.9-recommended": "12.16.1.1887",     "1.9.4-latest": "12.17.0.2317",     "1.9.4-recommended": "12.17.0.2317",     "1.10-latest": "12.18.0.2000",     "1.10.2-latest": "12.18.3.2511",     "1.10.2-recommended": "12.18.3.2511",     "1.11-latest": "13.19.1.2199",     "1.11-recommended": "13.19.1.2189",     "1.11.2-latest": "13.20.1.2588",     "1.11.2-recommended": "13.20.1.2588",     "1.12-latest": "14.21.1.2443",     "1.12-recommended": "14.21.1.2387",     "1.12.1-latest": "14.22.1.2485",     "1.12.1-recommended": "14.22.1.2478",     "1.12.2-latest": "14.23.5.2855",     "1.12.2-recommended": "14.23.5.2855",     "1.13.2-latest": "25.0.219",     "1.14.2-latest": "26.0.63",     "1.14.3-latest": "27.0.60",     "1.14.4-latest": "28.2.23",     "1.14.4-recommended": "28.2.0",     "1.15-latest": "29.0.4",     "1.15.1-latest": "30.0.51",     "1.15.2-latest": "31.2.55",     "1.15.2-recommended": "31.2.0",     "1.16.1-latest": "32.0.108",     "1.16.2-latest": "33.0.61",     "1.16.3-latest": "34.1.42",     "1.16.3-recommended": "34.1.0",     "1.16.4-latest": "35.1.37",     "1.16.4-recommended": "35.1.4",     "1.16.5-latest": "36.2.19",     "1.16.5-recommended": "36.2.0",     "1.17.1-latest": "37.0.126"   } } [29Nov2021 13:35:38.817] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: BETA Current: 37.0.126 Target: 37.0.126 [29Nov2021 13:36:00.780] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [29Nov2021 13:36:00.918] [Server thread/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing serverconfig directory : C:\Users\Gaming\AppData\Roaming\.minecraft\saves\New World\serverconfig [29Nov2021 13:36:00.919] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Loading configs type SERVER [29Nov2021 13:36:00.919] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for C:\Users\Gaming\AppData\Roaming\.minecraft\saves\New World\serverconfig\forge-server.toml [29Nov2021 13:36:00.936] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file C:\Users\Gaming\AppData\Roaming\.minecraft\saves\New World\serverconfig\forge-server.toml [29Nov2021 13:36:00.940] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file C:\Users\Gaming\AppData\Roaming\.minecraft\saves\New World\serverconfig\forge-server.toml for changes [29Nov2021 13:36:14.844] [Server thread/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing serverconfig directory : C:\Users\Gaming\AppData\Roaming\.minecraft\saves\New World\serverconfig [29Nov2021 13:36:14.844] [Server thread/DEBUG] [net.minecraftforge.fml.config.ConfigTracker/CONFIG]: Unloading configs type SERVER       (this log from a note named debug)  
    • I am analyzing falling blocks, but that will take some time to do. If anyone could provide any input, I would appreciate it.
    • Better yet, how do I animate them from the server? I know there is some kind of interpolation. How do I use it to animate the blocks in as few packets as possible?
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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