User Tools

Site Tools


tutorial:mixin_your_first_mixin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:mixin_your_first_mixin [2025/12/30 17:16] – Add missing semicolon in example logger call gauntreclusetutorial:mixin_your_first_mixin [2025/12/30 17:16] (current) – Add missing semicolon in example logger call (again) gauntrecluse
Line 101: Line 101:
     @Inject(method = "method_3735", at = @At(value = "HEAD"))     @Inject(method = "method_3735", at = @At(value = "HEAD"))
     private void logOnWorldLoad(CallbackInfo ci) {     private void logOnWorldLoad(CallbackInfo ci) {
-        ExampleMod.LOGGER.info("MinecraftServer$method_3735 has started!")+        ExampleMod.LOGGER.info("MinecraftServer$method_3735 has started!");
     }     }
 } }
tutorial/mixin_your_first_mixin.txt · Last modified: 2025/12/30 17:16 by gauntrecluse