mod-dev-talk Friday 31 December 2021

129 messages5 people

  1. Jack PapelTeam

    This mixin bugs me for some reason
    Image shared by Jack Papel
  2. cr24Team

    couldn't this be done by overriding the method in the farmland block extension
  3. Jack PapelTeam

    Method's static(edited)
  4. cr24Team

    o
  5. Jack PapelTeam

    Needs to be added to FAPI imo
  6. AzzyypaarasTeam

    Replying toJack PapelIt would be nice if there was an API that did farmland better, like with a map from…

    That sounds like it would fit nicely into incubus core
  7. Jack PapelTeam

    Sure
  8. cr24Team

    /.minecraft/mods(edited)
  9. Jack PapelTeam

    Yeah I guess that's good enough
  10. Jack PapelTeam

    The way we do DynamicColorBlocks is strange and seemingly unnecessary
  11. AzzyypaarasTeam

    Replying toJack PapelI think the DynamicColorBlock interface is not needed at all really

    Shoot for changes if you want, our current impl is ripped off of BetterEnd
  12. Jack PapelTeam

    Gotcha
  13. AzzyypaarasTeam

    Not like inspired, I straight up copy pasted it and renamed a few methods for clarity
  14. Jack PapelTeam

    Oh gotcha lmao
  15. AzzyypaarasTeam

    yeah
  16. Jack PapelTeam

    Waiting on christmas
  17. AzzyypaarasTeam

    I mean but like, before that, I already know the whole useful part of the team is on the other side of the world
  18. Jack PapelTeam

    Not sure
  19. AzzyypaarasTeam

    My last memory was @gudenau unfucking stuff
  20. Jack PapelTeam

    Did we end up not having to convert our java features? I believe so
  21. AzzyypaarasTeam

    Ah, right
  22. gudenau

    Yeah.
  23. AzzyypaarasTeam

    We converted to json
  24. gudenau

    Mojang changed things.(edited)
  25. AzzyypaarasTeam

    Then gud came in
  26. gudenau

    Json: Weird runtime errors Java: Weird compile time errors
  27. Jack PapelTeam

    The current build runs
  28. gudenau

    It generates now?
  29. Jack PapelTeam

    Last I checked
  30. gudenau

    Anyway, I am running two instances of mixin in Minecraft. AMA
    Image shared by gudenau
  31. AzzyypaarasTeam

    Question: why
  32. gudenau

    All will be clear later.
  33. AzzyypaarasTeam

    :concernedtater:
  34. Jack PapelTeam

    Speaking of java swing
  35. gudenau

    org.spongepowered.asm.service.ServiceInitialisationException: LaunchWrapper is not available
        at sponge.mixin@0.10.7+mixin.0.8.4/org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapperBootstrap.bootstrap(MixinServiceLaunchWrapperBootstrap.java:61)
        at sponge.mixin@0.10.7+mixin.0.8.4/org.spongepowered.asm.service.MixinService.runBootServices(MixinService.java:152)
        at sponge.mixin@0.10.7+mixin.0.8.4/org.spongepowered.asm.service.MixinService.<init>(MixinService.java:143)
        at sponge.mixin@0.10.7+mixin.0.8.4/org.spongepowered.asm.service.MixinService.getInstance(MixinService.java:169)
        at sponge.mixin@0.10.7+mixin.0.8.4/org.spongepowered.asm.service.MixinService.boot(MixinService.java:179)
        at sponge.mixin@0.10.7+mixin.0.8.4/org.spongepowered.asm.launch.MixinBootstrap.<clinit>(MixinBootstrap.java:87)
        at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
        at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155)
    Hmm.
  36. AzzyypaarasTeam

    Replying toJack PapelI was making changes to InstallerGUI a few hours ago

    Oh right that exists
  37. Jack PapelTeam

    The default icons for java swing are so crusty
  38. gudenau

    From this:
    this.bootstrapServiceLoader = ServiceLoader.<IMixinServiceBootstrap>load(IMixinServiceBootstrap.class, this.getClass().getClassLoader());
    to this
    if(getClass().getModule().getName() != null){
        this.bootstrapServiceLoader = ServiceLoader.<IMixinServiceBootstrap>load(IMixinServiceBootstrapHack.class, this.getClass().getClassLoader());
    }else{
        this.bootstrapServiceLoader = ServiceLoader.<IMixinServiceBootstrap>load(IMixinServiceBootstrap.class, this.getClass().getClassLoader());
    }
  39. AzzyypaarasTeam

    Replying toJack PapelMaybe earlier yet

    :hyperconcern:
  40. Jack PapelTeam

    Image shared by Jack Papel
  41. gudenau

    You can change those.
  42. AzzyypaarasTeam

    Better idea: I make custom icons that actually look good because oh gods that is crusty
  43. gudenau

    Similar process.
  44. Jack PapelTeam

    The icons have to be this size btw, it won't scale it automatically
  45. AzzyypaarasTeam

    Resize it manually
  46. gudenau

    You should be able to do that in code.
  47. AzzyypaarasTeam

    Solution: rewrite this as an electron app :malice:
  48. Jack PapelTeam

    Replying togudenauYou should be able to do that in code.

    "You" as in someone who actually knows swing, maybe
  49. AzzyypaarasTeam

    Replying toJack Papel"You" as in someone who actually knows swing, maybe

    To be fair, you are pursuing CS, and half of CS is figuring shit out
  50. Jack PapelTeam

    I did a little bit of figuring out, but resizing images evades me
  51. AzzyypaarasTeam

    Imho the ideal would be it being able to install fabric and AR
  52. gudenauPinned

    Something something
    BufferedImage source = ImageIO.read("farts.png");
    BufferedImage dest = new BufferedImage(64, 64, BufferedImage.FORMAT_4BYTE_ARGB);
    var graphics = dest.createGraphics();
    try{
        dest.drawImage(source, 0, 0, 64, 64, 0, 0, source.getWidth(), source.getHeight(), null);
    }finally{
        graphics.destroy();
    }
    Or something.
  53. AzzyypaarasTeam

    ...and with fabric I mean floader and fapi
  54. gudenau

    Swing should support DPI scaling now.
  55. AzzyypaarasTeam

    "farts.png"
    brap 😳 🥴
  56. Jack PapelTeam

    This is what it does in my not-yet-pushed commit
    Image shared by Jack Papel
  57. AzzyypaarasTeam

    Ah
  58. Jack PapelTeam

    It did a similar thing before but with a different icon and it said "The Aether"
  59. AzzyypaarasTeam

    Yeah that sounds like an @kalucky0 moment
  60. Jack Papel pinned a message.

  61. AzzyypaarasTeam

    Gud is now the official random programming knowledge fountain
  62. gudenau

    That isn't 100%, but it was from memory.
  63. Jack PapelTeam

    Tbh the cat maid dress is one of the weakest femboy outfits
  64. AzzyypaarasTeam

    True true
  65. Jack PapelTeam

    It's like gay but not in a gay way
  66. AzzyypaarasTeam

    Now, thigh highs + oversized sweater
  67. AzzyypaarasTeam

    Replying toJack PapelIt's like gay but not in a gay way

    It is straight
  68. cr24Team

    :huh:
  69. gudenau

    I have been using Java for over a decade, how would I not know about AWT? :V
  70. AzzyypaarasTeam

    Replying tocr24:huh:

    :tomfoolery:
  71. AzzyypaarasTeam

    Replying togudenauI have been using Java for over a decade, how would I not know about AWT? :V

    In other words, you've been using java for longer than half the people playing this game have been alive
  72. Jack PapelTeam

    Depending how much more than a decade, possibly more than the lead dev has been alive
  73. AzzyypaarasTeam

    Replying toJack PapelDepending how much more than a decade, possibly more than the lead dev has been alive

    iirc he is not that much older than me, so he would have needed to start coding java since he was babbeh
  74. Jack PapelTeam

    Not impossible 🤷‍♀️
  75. gudenau

    I started when I was like, 12 or so.
  76. AzzyypaarasTeam

    Suckling on the tit while cursing the java devs for half of every design decision they've made
  77. gudenau

    Alright.
  78. kalucky0Team

    Replying toAzzyypaarasYeah that sounds like an @kalucky0 moment

    I haven't touched the code for months
  79. AzzyypaarasTeam

    Replying tokalucky0I haven't touched the code for months

    big kal moment
  80. kalucky0Team

    I haven't touched your spaghetti
  81. AzzyypaarasTeam

    :huh:
  82. Jack PapelTeam

    Replying tokalucky0I haven't touched the code for months

    InstalledGUI hadn't been modified for almost a year until yesterday