mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 11:27:54 +01:00
update neoforge & fix mixins
This commit is contained in:
parent
f2c0b79085
commit
5313585f3e
3 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ abstract class LevelRendererMixin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Group(name = "afterParticles", min = 2, max = 2)
|
@Group(name = "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$afterParticles$fabric(CallbackInfo ci) {
|
private void flywheel$afterParticles$fabric(CallbackInfo ci) {
|
||||||
if (flywheel$renderContext != null) {
|
if (flywheel$renderContext != null) {
|
||||||
|
|
|
@ -37,7 +37,7 @@ abstract class MinecraftMixin {
|
||||||
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$22", at = @At("HEAD"))
|
@Inject(method = "lambda$reloadResourcePacks$21", 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));
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ mod_homepage = https://github.com/Jozufozu/Flywheel
|
||||||
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.1)
|
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.95-beta,)
|
neoforge_version_range = [21.0.167,)
|
||||||
|
|
||||||
# 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.95-beta
|
neoforge_version = 21.0.167
|
||||||
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