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


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Lagg

  • Rank
    Tree Puncher


  • Gender
  • Location
  • Personal Text
    New, learning to code :3
  1. Thanks so much, it worked!
  2. I'm using the discord jda as a dependency for my mod, and I recently had a problem here, but I'm still stuck on combining this new shadow jar with the original jar. For reference, this is the gradle shadow plugin I'm using When I run gradlew build with this in my build.gradle: buildscript { repositories { jcenter() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT' classpath 'com.github.jengelman.gra
  3. Ok so I've done a bit more stuff with the gradle shadow plugin @loordgek posted, but now I have an issue with minecraft obfuscation. When I run gradlew build with this in my build.gradle: buildscript { repositories { jcenter() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT' classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2' } } apply plugin: 'net.minecraftforge.gradle.forge' apply plugin
  4. http://www.mediafire.com/file/wzu11q1wcrahag4/laggview-1.0.jar
  5. I don't quite understand what you mean by this, am I supposed to use shadow to insert org.slf4j into the existing jar? I've already looked at the jar from inside winrar and org.slf4j seems to be there - it just doesn't seem to be compiled at runtime. Could you explain a bit more?
  6. I'm currently making a mod that uses discord jda, but I'm running into some issues when running the mod. When I run it through eclipse, it works just fine - no problems at all. When I run gradlew build, export it with all the dependency jars in the libs folder (picture below), and then run minecraft, it gives me this: [19:03:17] [Client thread/ERROR]: Caught exception from laggview java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at net.dv8tion.jda.core.utils.JDALogger.<clinit>(JDALogger.java:52) ~[JDALogger.class:?] at net.dv8tion.jda.core.entities.impl.JDA
  7. Sorry I didn't realize this section wasn't for questions, I've moved the thread here.
  8. I'm making a client-side hud mod that I want to tell me the last person that hit me, but I'm not sure how to go about it. The LivingHurtEvent has this info, but it's only server side , so I'm trying to find an alternative that's client side. I read a thread about something similar to this, where it was suggested the original poster either check every tick if the player's health decreases or look around for a packet that sends that info. Checking if my player's health is decreasing won't tell me what hit me, but I was wondering if anybody knew if any packets used this i
  9. I'm trying to register a client-side command, and here's the code I'm using so far: public class Test extends CommandBase { @Override public String getName() { return "test"; } @Override public String getCommandUsage(ICommandSender icommandsender) { return "command usage test"; } @Override public void execute(ICommandSender sender, String[] args) throws CommandException { Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("command works! yay!")); } } And then in the main mod class: @EventHandler public void init(FMLInitializationEvent event)
  10. Hi, I'm sort of new to making mods with forge, and also sort of new to really big Java projects. I'm having trouble with getting the display name of the scoreboard on the right side of the screen. A lot of servers use the scoreboard for different stuff and I'm trying to be able to read it. I've already found that I can get the names of all the "Players" by using: Minecraft.getMinecraft().theWorld.getScoreboard().getObjectiveNames() So for example, here I can get the names of Player995 Player996 and Player994. The problem is, I can't seem to get the display name at the top. I
  • Create New...

Important Information

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