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


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About DarkEyeDragon

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. I'm replacing the GuiConfirmOpenLink implementation with my own. So i need to get the textcomponent thats clicked to extract the URL from it. Unless there's any other way of doing this? Edit: I found out theres getClickEvent method (duhh) which makes things a lot easier. String link = Objects.requireNonNull(textComponent.getStyle().getClickEvent()).getValue(); Thanks for the help! this issue is resolved now ?
  2. Well not really. It's more to prove i'm actually formatting the TextComponent properly. and (hopefully) adding it correctly to the chat. so that the issue must be in retreiving the textcomonent Edit: my entire point being. Is there a way to get multiple (aka the whole textcomponent) lines using getTextComponent? as it name suggests it would return an entire textcomponent and not cut off halfway because the other part is on a new line
  3. So i'm trying to get a ITextComponent from chat using ITextComponent textComponent = Minecraft.getMinecraft().ingameGUI.getChatGUI().getChatComponent(Mouse.getX(), Mouse.getY()); however it only returns the text on the current line. Bit of context: I'm trying to resolve image urls and display a preview of them ingame. that all works well however with links longer than a single chatline it only returns the line you click on. I don't see why this is happening however as its added to a single ITextComponent this is the code that extracts and formats URL's
  4. So if you look at the forge modloader config, theres quite a lot of different options. I've managed to figure out the basic ones like: input string, input int, boolean, arraylist etc however, is there a place where i can see ALL of them? In particular i'm looking for "Cycle value string", "Pattern Validated String" and "Mod ID Selector"
  5. Okay... and whats the alternative then? They just seemed to have removed them and added no alternative?
  6. minecraft { srgExtra "PK: org/apache/httpcomponents com/darkeyedragon/screenshotuploader/client/org/apache/httpcomponents" } I am assuming you're talking about this? However i tried to add them and i just got errors: Could not find method srgExtra() for arguments [PK: org/pache/httpcomponents com/darkeyedragon/screenshotuploader/client/org/pache/httpcomponents] on object of type net.minecraftforge.gradle.user.patcherUser.forge.ForgeExtension.
  7. So after trying to solve this issue for a couple of hours now i have no idea's on what to do to fix this. My mod depends on 2 apache libs "fluent-hc" and "httpmime" they get included in my mod jar. but still somehow cant be loaded when asked to. Is there any special procedure i need to go trough for them to load properly? my current build.gradle: configurations { shade compile.extendsFrom shade } buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } } dependencies {
  8. Okay scratch that. Regular uploading works (using the imgur API) my custom uploading (wich uses libraries) doesn't do anything. i get the message an upload is started. however nothing happens. (i checked my mod and all the required libs were there). Nothing from the process is logged either. And even if the upload server was unreachable it should still give me a message that uploading has failed. Any idea why this is happening? Edit: it works all fine when ran in intellij
  9. well either way.it seems to work now. Thanks
  10. do i still need to include Pulsar then? i tried just shading in my dependancies but that didnt seem to work dependencies { shade group: 'org.apache.httpcomponents', name: 'fluent-hc', version: '4.5.5' shade group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.3.1' } intellij gives me this: 'add' in 'org.gradle.api.artifacts.dsl.DependencyHandler' cannot be applied to '(['group':java.lang.String, 'name':java.lang.String,...])' This inspection reports assignments with incompatible types
  11. configurations { shade compile.extendsFrom shade } buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } maven { name = 'Tethys (drakon.io)' url = "http://tethys.drakon.io/maven" } } dependencies { classpath 'io.drakon:pulsar:1.2.1' classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. version =
  12. So, me again. When running the client in Intellij everything works as expected. however when i build my jar, add it to my mods folder start up my game and load in any world everything works fine untill i press any key then it just crashes I am think i'm missing an dependancy? my build.graddle looks like this: buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' classpath 'com.github.jengelman.g
  13. it still not doing it for me... no matter what i put in that file. Its not giving any kind of error or any response whatsoever
  14. also my src if ur curious or need more info: https://github.com/DarkEyeDragon/ScreenshotUploader
  15. I can't get versioning to work in any way possible. I've looked at the examples, heck even tried the forge json format. my update.json file is located here: http://darkeyedragon.me/mods/updates/screenshotuploader.json it works fine for forge however. I have no idea what i'm doing wrong here. Feel free to ask for more information if this isn't everything you need.
  • Create New...

Important Information

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