great-lounge Monday 13 December 2021

31 messages6 people

  1. Jack PapelTeam

    Lmao what is this for real
  2. kalucky0Team

    Looks like it's real
  3. Azzyypaaras pinned a message.

  4. SollyTeam

    Anyone know if there's a nicer way to handle private internal classes?
    @Mixin(GameOptions.class)
    public abstract class GameOptionsMixin {
        @SuppressWarnings({"InvalidInjectorMethodSignature", "ReferenceToMixin"})
        @Inject(method = "accept", at = @At("TAIL"))
        private void accept(@Coerce Object visitor, CallbackInfo ci) {
            GameOptions_VisitorAccessor vis = ((GameOptions_VisitorAccessor) visitor);
    
            TestModClient.spamConsole = vis.callVisitBoolean("spamConsole", TestModClient.spamConsole);
        }
    
        @Mixin(targets = "net.minecraft.client.option.GameOptions$Visitor")
        private interface GameOptions_VisitorAccessor {
            @Invoker
            boolean callVisitBoolean(String key, boolean current);
        }
    }
    (edited)
  5. Jack PapelTeam

    That looks fine enough to me, and readable. Personally I'd opt for two separate files though
  6. SollyTeam

    They are in two separate files(edited)
  7. Jack PapelTeam

    Oh nevermind I get what you were asking
  8. SollyTeam

    A bit nicer
    @Mixin(GameOptions.class)
    public abstract class GameOptionsMixin {
        @SuppressWarnings({"InvalidInjectorMethodSignature", "ReferenceToMixin"})
        @Inject(method = "accept", at = @At("TAIL"))
        private void accept(@Coerce GameOptions_VisitorAccessor visitor, CallbackInfo ci) {
            TestModClient.spamConsole = visitor.callVisitBoolean("spamConsole", TestModClient.spamConsole);
        }
    
        @Mixin(targets = "net.minecraft.client.option.GameOptions$Visitor")
        private interface GameOptions_VisitorAccessor {
            @Invoker
            boolean callVisitBoolean(String key, boolean current);
        }
    }
  9. Larry Cable Guy

    @Azzyypaaras add :damn: please
  10. AzzyypaarasTeam

    Replying toLarry Cable Guy@Azzyypaaras add :damn: please

    get me the image
  11. Larry Cable Guy

    Image shared by Larry Cable Guy
  12. AzzyypaarasTeam

    Replying toLarry Cable Guyan attachment

    that image is ginormous
  13. Larry Cable Guy

    Image shared by Larry Cable Guy
  14. AzzyypaarasTeam

    :damn:
  15. Larry Cable Guy

    :damn:
  16. AzzyypaarasTeam

    the crust makes it better
  17. Larry Cable Guy

    wait did you fucking take the tiny one and just puff that to the limit
  18. Visual_Anxiety

    👋
  19. Jack PapelTeam

    Hello
  20. Visual_Anxiety

    just want to say y'all are doing really well with the your take on the Aether mod, I especially love the design of the Moas, they're so pretty!
  21. Jack PapelTeam

    Thanks! @Azzyypaaras
  22. AzzyypaarasTeam

    :tater: