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

Tatuck

Members
  • Content Count

    18
  • Joined

  • Last visited

Everything posted by Tatuck

  1. And how can I use it in my mod? I think I need to use keytool but does that mean everyone who uses my mod will have to use keytool too?
  2. Hello. I am trying to create a mod which connects to a an URL using SSL (MongoDB Atlas), I was searching and I found the user would have to install the certificate before of using the mod. But I didn't like that. So I found this: System.setProperty("jdk.tls.trustNameService", "true"); But it doesn't work. What can I do?
  3. Finally!!! Thank you! It worked perfectly! I run "gradlew reobfShadowJar" and it worked perfectly! Thanks for your help!
  4. I didn't know I had to reobfuscate the mod, I created it using: "gradlew shadowJar"
  5. My build.gradle: buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } mavenCentral() jcenter() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.1.+', changing: true } } plugins { id 'com.github.johnrengelman.shadow' version '6.1.0' } apply plugin: 'net.minecraftforge.gradle' // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. apply plugin: 'eclipse' apply plugin: 'maven-publish' version = '1.0' group =
  6. I have tried but for some reason Minecraft doesn't detect the compiled mod. I don't think it is giving me an error because I have checked the logs but I found nothing.
  7. Hello. I am trying to use a gradle librarie in my mod. But when I use "gradlew build" it doesn't compile my librarie and in-game it shows me an error (classnotfoundexception). How can I do that? Thanks
  8. Hello. I am trying to use an external library in my mod, so I thought I had to create a fatjar so I used Shadow Plugin. But now I think it is not compiling Minecraft library. This is my build.gradle: buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } mavenCentral() jcenter() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.1.+', changing: true } } plugins { id 'com.github.johnrengelman.shadow' version '6.1.0' } apply plugin: 'net.minecraftforge.gradle'
  9. Okay. I have tried again with shadow, I did it like it's shown here: https://github.com/Choonster-Minecraft-Mods/GradleShadowTestMod/blob/master/build.gradle but no, it doesn't work. It shows me this error: com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/gradle/api/internal/java/JavaLibrary What can I do? UPDATE: If it's needed, my build.gradle: buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } mavenCentral() jcenter() } dependencies { classpath gro
  10. Okay, I have tried and it created a file larger but it doesn't work. It doesn't show up in Minecraft. Writing this in the bottom of my build.gradle file: buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "com.github.jengelman.gradle.plugins:shadow:6.1.0" } } apply plugin: "com.github.johnrengelman.shadow" Also, I have tried using Forge shading like this: configurations { shade compile.extendsFrom shade } dependencies { minecraft 'net.minecraftforge:forge:1.16.5-36.1.0' shade 'org.m
  11. Alright. But is the player going to need to download two files instead of just one? And, do you know how can I do it?
  12. Hello. I am trying to use MongoDB on a mod, I have written compile 'org.mongodb:mongodb-driver-sync:4.2.3' in the dependencies (build.gradle), when I start the mod by starting "runClient" on IntelliJ it works perfectly. But when I drop the file generated (build/libs/name-version.jar) using "gradlew build" it shows me this error: java.lang.NoClassDefFoundError: org/bson/conversions/Bson What can I do? Should I import the library using other method? Which method? Thanks!
  13. Hello. I want to create custom commands for client-side, but all the tutorials I see are for past versions and they no longer work. If you don't have a tutorial, any example? Thanks
  14. Hello, I am trying to create a mod which shows the angle of a sound. I mean, if a chicken cackles in your left, I want to be able to get exactly the angle of the chicken. Sorry for the drawing but I think it makes an idea of what I want. @SubscribeEvent public static void soundAngle(PlaySoundEvent e){ ISound sound = e.getResultSound(); }
×
×
  • Create New...

Important Information

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