Jump to content

delvr

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by delvr

  1. I just solved the problem - it was caused by having "apply plugin: 'forge'" in a local file imported by build.gradle with "apply from:" instead of directly inside build.gradle. This had always worked for me but it seems the latest ForgeGradle 1.2 snapshot doesn't like it.
  2. Hi, I'm getting this error whenever I attempt to run any task (build, setupDecompWorkSpace etc) on my existing IntelliJ project's build.gradle: A problem occurred evaluating script. > Failed to apply plugin [id 'forge'] > resource GradleStart.java not found. Stacktrace ends with: Caused by: java.lang.IllegalArgumentException: resource GradleStart.java not found. at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145) at com.google.common.io.Resources.getResource(Resources.java:197) at net.minecraftforge.gradle.tasks.CreateStartTask.addResource(CreateStartTask.java:118) at net.minecraftforge.gradle.user.UserBasePlugin.tasks(UserBasePlugin.java:636) at net.minecraftforge.gradle.user.UserBasePlugin.applyPlugin(UserBasePlugin.java:87) at net.minecraftforge.gradle.user.patch.UserPatchBasePlugin.applyPlugin(UserPatchBasePlugin.java:44) at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:148) at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:49) at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35) at org.gradle.api.internal.plugins.RulesCapablePluginApplicator.applyImperative(RulesCapablePluginApplicator.java:42) at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:133) ... 65 more I do see said Java file in my user .gradle\caches\modules-2\files-2.1\net.minecraftforge.gradle\ForgeGradle\1.2-SNAPSHOT\7c022f7189f49b5064399d85a1271ef9c90384d1\ForgeGradle-1.2-SNAPSHOT.jar. Last time it worked was about a week ago I believe. I haven't yet found a change of mine that would have caused this. Things I've tried: - Deleting user .gradle/ directory - Deleting project .gradle/ and gradle/ directories and getting a fresh Gradle wrapper - Gradle versions 2.1, 2.2 and 2.3 - Forge versions 10.13.2.1291 and 10.13.2.1307-1.7.10 - Retrying periodically over the course of two days Any help would be greatly appreciated. Thanks!
  3. Good to hear you got it to work! Here I'm still trying - where do you call addSubstitutionAlias() for the block and item? I ask because looking at the code makes me think that substitution needs to happen pre-registration (in Block.registerBlocks) but that's before any mods are loaded. There's always the coremod approach, but it would involve Minecraft objects that are not yet initialized. Any advice? Thanks!
  4. Hello players, this mod introduces walkable soil slopes and more to Minecraft. This means you can now walk up gentle slopes of grass, sand etc. without continually jumping. This works by making soil blocks* act as stairs, whose shape varies according to the elevation of neighboring blocks. Visually, the soil blocks are still the same cubes as before. A config option allows the same behavior for "natural" stone such as that found in caves. Additionally, soil is affected by gravity (falls down when unsupported) and will spread sideways into piles when landing or freshly placed. This makes creating slopes easier, but it also makes early-game shelters more challenging. Fine-grained soils such as sand and gravel can also spread as a response to nearby block changes, and so hitting a sand wall can cause a significant collapse. Config options allow control over this falling/spreading behavior. *Soil blocks are: Dirt, Grass, Mycelium, Farmland, Clay, Sand, Gravel, Sand, Soul Sand and Snow. Please let me know what you think of this mod, and any bug reports or suggestions you may have. Enjoy! Compatibility This mod requires Minecraft 1.7.2 and Forge 10.12.1 (revision 10.12.1.1060 and newer). It was built with revision 10.12.1.1082; use this specific version for maximum compatibility. Note: do NOT use revisions 1070-1072 as they can cause a crash. Installation [*]If you don't already have a compatible version of Forge, download the Forge 10.12.1.1082 installer (or if not using Windows, go to the Forge download page to get the jar archive). Then run the installer and choose "Install Client". [*]Download repose-1.7.2-1.0.0.jar and place it in the "mods" subdirectory of the Minecraft install. (On Windows, that's %APPDATA%/.minecraft/mods) [*]Run the Minecraft launcher and select the compatible Forge profile. Click "Play". To confirm that the mod was properly loaded, click Mods on the main Minecraft menu and look for it in the list. The mod is also available on curse.com and has a Minecraft Forums thread. Configuration To configure Repose, click Mods on the Minecraft main menu and scroll down to the "Repose" entry. Then click Config to access the mod options. Each option has a tooltip help. All options are saved in config/repose.properties under the main Minecraft directory and can be edited there if needed, although the in-game menu already provides access to all options.
  5. Soarxyn, did adding the launch configuration argument (-Djava.library.path) work for you? TearN8, your question is about Eclipse but this thread is about IntelliJ IDEA. You should perhaps ask it in another thread.
  6. Glad to see you've got it sorted out. There's another, Forge-specific way to do this through the "minecraft" task: minecraft { replaceIn "path/to/file.java" replace "PLACEHOLDER", someProperty replace "OTHER_PLACEHOLDER", otherProperty }
×
×
  • Create New...

Important Information

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