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


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About DoctorC

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm trying to do some data generating (recipes specifically), but the GatherDataEvent event isn't firing. This is my current code: @Mod.EventBusSubscriber(modid = Main.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class ModNameDataGenerator { private ModNameDataGenerator() {} @SubscribeEvent public static void gatherData(GatherDataEvent event) { Main.LOGGER.log(Level.INFO, "Enter Data gen"); DataGenerator gen = event.getGenerator(); if (event.includeServer()) { Main.LOGGER.log(Level.INFO, "Enter Data gen server"); gen
  2. Ah, so replacing anything inside the mods.toml would not be useful at all?
  3. Because it's easier to define everything in gradle.properties, and not have to think about the other files.
  4. I read something somewhere that suggested using processResources to replace things in mods.toml. Having little experience with ForgeGradle, I'm not sure what the problem is. This is my current processResources (build.gradle): // Process Resources on build processResources { inputs.property 'mod_version', version inputs.property 'mod_id', archivesBaseName from (sourceSets.main.resources.srcDirs) { include 'META-INF/mods.toml' expand 'mod_version': version expand 'mod_id': archivesBaseName expand 'mod_name': "${mod_name}"
  5. At the moment I'm using Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection("String here"), null); But, it's giving a java.awt.HeadlessException: at sun.awt.HeadlessToolkit.getSystemClipboard(HeadlessToolkit.java:309) I've checked some source code and It's pretty much identical. Does anyone know what is causing this and how I could solve it?
  6. Okay, managed to find the solution. under minecraft/runs/client I set args to '--username', 'Insert EMAIL Here', '--password', 'Insert Password Here' and then runClient. I didn't need to genIntellijRuns.
  7. I added them under minecraft/runs/args and then re-ran genIntellijRuns but runClient was still unauthenticated.
  8. Okay, how would I do that? They're not under 'VM Options'.
  9. Edit Configurations... then added to Arguments.
  10. It seems to be coming up with an error: Unknown command-line option '--username'. (I'm using IntelliJ)
  11. How would one login with their Minecraft account for the runClient task?
  12. Thanks! I didn't realise that adding to the list would update it in-game without having to set it.
  13. There don't seem to be any functions to change the tooltip.
  • Create New...

Important Information

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