mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-02-05 01:34:58 +01:00
Fix incorrect mixin plugin name
This commit is contained in:
parent
4c94abc2e8
commit
1031a8e71e
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ import net.minecraft.world.level.block.entity.BlockEntity;
|
||||||
|
|
||||||
@Mixin(value = ChunkRenderRebuildTask.class, remap = false)
|
@Mixin(value = ChunkRenderRebuildTask.class, remap = false)
|
||||||
public class ChunkRenderRebuildTaskMixin {
|
public class ChunkRenderRebuildTaskMixin {
|
||||||
@Redirect(method = "performBuild", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher;getRenderer(Lnet/minecraft/world/level/block/entity/BlockEntity;)Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderer;"))
|
@Redirect(method = "performBuild", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher;getRenderer(Lnet/minecraft/world/level/block/entity/BlockEntity;)Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderer;", remap = true))
|
||||||
private BlockEntityRenderer<?> flywheel$redirectGetRenderer(BlockEntityRenderDispatcher dispatcher, BlockEntity blockEntity) {
|
private BlockEntityRenderer<?> flywheel$redirectGetRenderer(BlockEntityRenderDispatcher dispatcher, BlockEntity blockEntity) {
|
||||||
if (InstancedRenderDispatcher.tryAddBlockEntity(blockEntity)) {
|
if (InstancedRenderDispatcher.tryAddBlockEntity(blockEntity)) {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"package": "com.jozufozu.flywheel.mixin.sodium",
|
"package": "com.jozufozu.flywheel.mixin.sodium",
|
||||||
"compatibilityLevel": "JAVA_17",
|
"compatibilityLevel": "JAVA_17",
|
||||||
"refmap": "flywheel.refmap.json",
|
"refmap": "flywheel.refmap.json",
|
||||||
"plugin": "com.jozufozu.flywheel.mixin.sodium.SodiumMixinConfigPlugin",
|
"plugin": "com.jozufozu.flywheel.mixin.sodium.SodiumMixinPlugin",
|
||||||
"client": [
|
"client": [
|
||||||
"ChunkRenderRebuildTaskMixin",
|
"ChunkRenderRebuildTaskMixin",
|
||||||
"FlywheelCompatMixin"
|
"FlywheelCompatMixin"
|
||||||
|
|
Loading…
Reference in a new issue