Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/31/18 in all areas

  1. Hello, ForgeGradle appears to have been rewritten for the 1.13 versions (out in development stage), and commands like gradlew setupDecompWorkspace no longer work. I am having trouble setting this up with eclipse. Any help would be appreciated. Thanks.
    1 point
  2. As there have been few attempts to create this functionality (that I can find) I decided that I'd have to do this myself. And seeing as it boodly doesn't exist anywhere, I thought I'd share. It does not extend GuiTextField, though it probably could, but it was easier to just take everything that was GuiTextField and make a new class and just make changes as needed, particularly as a lot of GuiTextField's fields were private and thus not visible to a subclass (using getters and setters was frustrating, as many setters either didn't exist or had annoying side effects, such as ignoring newlines and up/down arrow keys). https://gist.github.com/Draco18s/2b02762b597e67a9b887aed241f25077 Known issues: Minimum height of 2 lines enforced (are you really going to complain?) Does not support multi-line selections (they are trouble some to handle; rendering, copying, etc) Does not feature a scroll bar (yet) Mouse wheel scrolling clamped to range that keeps the cursor within the visible text box range (technical limitation; could be overcome, but the limitation relates to automatically scrolling the cursor into range when using the arrow keys) Page up/down not supported (yet) Sometimes the selection highlight appears in edge-case situations that cause the cursor to reposition due to another (e.g. moving from one line to another when pasting multi-line content, etc) Up/down arrow cursor movement is "by column" rather than "by rendered position" as I can't be arsed to figure out where the carat should go instead (my usage will be moving to a monospaced font, where those two values are the same).
    1 point
  3. Resolved, in order to not require the client to have the mod installed simply set acceptableRemoteVersions to "*"
    1 point
  4. Thanks! (Didn't this forum used to have a 'thank you' button?) Between you and examples in the Botania GitHub, which I strongly recommend for examples of any imaginable kind of crafting use-case, I got things working. After lots of crashing and pulling hair out over typos and a really subtle program flow bug that only manifested when I selectively disabled some items. The code I'm working on is here: https://github.com/Sinhika/SimpleOres2/tree/1.12
    1 point
  5. No. You'll need to look at the Forge source code, examples in other mods and forum threads where people have asked similar questions. I explain how to do this here:
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.