mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 11:27:54 +01:00
uncomment the comments
"i commented out the particle stuff for testing something uh you can revert that" -IMS
This commit is contained in:
parent
475b1d8d7d
commit
f2c0b79085
1 changed files with 2 additions and 6 deletions
|
@ -14,10 +14,6 @@ import org.spongepowered.asm.mixin.injection.Group;
|
||||||
import org.spongepowered.asm.mixin.injection.Inject;
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
|
|
||||||
import com.llamalad7.mixinextras.sugar.Share;
|
|
||||||
import com.llamalad7.mixinextras.sugar.ref.LocalRef;
|
|
||||||
import com.mojang.blaze3d.vertex.PoseStack;
|
|
||||||
|
|
||||||
import dev.engine_room.flywheel.api.visualization.VisualizationManager;
|
import dev.engine_room.flywheel.api.visualization.VisualizationManager;
|
||||||
import dev.engine_room.flywheel.impl.FlwImplXplat;
|
import dev.engine_room.flywheel.impl.FlwImplXplat;
|
||||||
import dev.engine_room.flywheel.impl.event.RenderContextImpl;
|
import dev.engine_room.flywheel.impl.event.RenderContextImpl;
|
||||||
|
@ -113,8 +109,8 @@ abstract class LevelRendererMixin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//@Group(name = "afterParticles")
|
@Group(name = "afterParticles")
|
||||||
//@Inject(method = "renderLevel", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/particle/ParticleEngine;render(Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;FLnet/minecraft/client/renderer/culling/Frustum;Ljava/util/function/Predicate;)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;FLnet/minecraft/client/renderer/culling/Frustum;Ljava/util/function/Predicate;)V", shift = Shift.AFTER))
|
||||||
private void flywheel$afterParticles$forge(CallbackInfo ci) {
|
private void flywheel$afterParticles$forge(CallbackInfo ci) {
|
||||||
if (flywheel$renderContext != null) {
|
if (flywheel$renderContext != null) {
|
||||||
VisualizationManager manager = VisualizationManager.get(level);
|
VisualizationManager manager = VisualizationManager.get(level);
|
||||||
|
|
Loading…
Reference in a new issue