mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 11:27:54 +01:00
Mixin Fixin'
This commit is contained in:
parent
dfbd451fdb
commit
1cce5da673
3 changed files with 6 additions and 6 deletions
|
@ -111,7 +111,7 @@ abstract class LevelRendererMixin {
|
||||||
flywheel$dispatch(RenderStage.AFTER_TRANSLUCENT_TERRAIN);
|
flywheel$dispatch(RenderStage.AFTER_TRANSLUCENT_TERRAIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Group(name = "onStage$afterParticles", min = 2, max = 2)
|
@Group(name = "onStage$afterParticles", min = 2, max = 3)
|
||||||
@Inject(method = "renderLevel", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;F)V", shift = Shift.AFTER))
|
@Inject(method = "renderLevel", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;F)V", shift = Shift.AFTER))
|
||||||
private void flywheel$onStage$afterParticles$fabric(CallbackInfo ci) {
|
private void flywheel$onStage$afterParticles$fabric(CallbackInfo ci) {
|
||||||
flywheel$dispatch(RenderStage.AFTER_PARTICLES);
|
flywheel$dispatch(RenderStage.AFTER_PARTICLES);
|
||||||
|
|
|
@ -32,12 +32,12 @@ abstract class MinecraftMixin {
|
||||||
return arg0;
|
return arg0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(method = "lambda$new$7", at = @At("HEAD"))
|
@Inject(method = "lambda$new$8", at = @At("HEAD"))
|
||||||
private void flywheel$onEndInitialResourceReload(@Coerce Object gameLoadCookie, Optional<Throwable> error, CallbackInfo ci) {
|
private void flywheel$onEndInitialResourceReload(@Coerce Object gameLoadCookie, Optional<Throwable> error, CallbackInfo ci) {
|
||||||
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, true, error));
|
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, true, error));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(method = "lambda$reloadResourcePacks$39", at = @At("HEAD"))
|
@Inject(method = "lambda$reloadResourcePacks$22", at = @At("HEAD"))
|
||||||
private void flywheel$onEndManualResourceReload(boolean recovery, @Coerce Object gameLoadCookie, CompletableFuture<Void> completablefuture, Optional<Throwable> error, CallbackInfo ci) {
|
private void flywheel$onEndManualResourceReload(boolean recovery, @Coerce Object gameLoadCookie, CompletableFuture<Void> completablefuture, Optional<Throwable> error, CallbackInfo ci) {
|
||||||
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, false, error));
|
NeoForge.EVENT_BUS.post(new EndClientResourceReloadEvent((Minecraft) (Object) this, resourceManager, false, error));
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,9 +13,9 @@ mod_homepage = https://github.com/Jozufozu/Flywheel
|
||||||
|
|
||||||
# Mod dependency declarations
|
# Mod dependency declarations
|
||||||
minecraft_semver_version_range = >=1.21 <1.21.1
|
minecraft_semver_version_range = >=1.21 <1.21.1
|
||||||
minecraft_maven_version_range = [1.21,1.21.0)
|
minecraft_maven_version_range = [1.21,1.21.1)
|
||||||
fabric_api_version_range = >=0.100.6
|
fabric_api_version_range = >=0.100.6
|
||||||
neoforge_version_range = [21.0.79-beta,)
|
neoforge_version_range = [21.0.95-beta,)
|
||||||
|
|
||||||
# General build dependency versions
|
# General build dependency versions
|
||||||
java_version = 21
|
java_version = 21
|
||||||
|
@ -25,7 +25,7 @@ parchment_version = 2024.07.07
|
||||||
|
|
||||||
# Minecraft build dependency versions
|
# Minecraft build dependency versions
|
||||||
minecraft_version = 1.21
|
minecraft_version = 1.21
|
||||||
neoforge_version = 21.0.79-beta
|
neoforge_version = 21.0.95-beta
|
||||||
fabric_loader_version = 0.15.11
|
fabric_loader_version = 0.15.11
|
||||||
fabric_api_version = 0.100.6+1.21
|
fabric_api_version = 0.100.6+1.21
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue