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

Tatuck

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tatuck

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. 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.
  2. 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
  3. 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'
  4. 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
  5. 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
  6. 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?
  7. 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!
  8. 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
  9. 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.