diff --git a/README.md b/README.md index 2d2a61b5..83c95df6 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,6 @@ individual rule and how it interprets the incoming packet. - New feature: Performance improvements to rendering colored custom models (+~5 fps) - New feature: Performance improvements to rendering all custom models (+~15 fps) - Player heads now support showing any skin texture instead of requiring a player uuid. This fixes issues with showing the skins of disguised players. -- Removed model culling improvements as they are obsolete in 1.20 TODOs: - Add a system to determine when a server is running an outdated protocol version \ No newline at end of file diff --git a/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LevelRendererMixin.java.depr b/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LevelRendererMixin.java similarity index 94% rename from fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LevelRendererMixin.java.depr rename to fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LevelRendererMixin.java index 76210a10..c5a4ce70 100644 --- a/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LevelRendererMixin.java.depr +++ b/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LevelRendererMixin.java @@ -1,4 +1,4 @@ -package com.noxcrew.noxesium.mixin.client.entity; +package com.noxcrew.noxesium.mixin.entity; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.LevelRenderer; diff --git a/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LivingEntityMixin.java.depr b/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LivingEntityMixin.java similarity index 96% rename from fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LivingEntityMixin.java.depr rename to fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LivingEntityMixin.java index a6ed7613..d490c1fa 100644 --- a/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LivingEntityMixin.java.depr +++ b/fabric/src/main/java/com/noxcrew/noxesium/mixin/entity/LivingEntityMixin.java @@ -1,4 +1,4 @@ -package com.noxcrew.noxesium.mixin.client.entity; +package com.noxcrew.noxesium.mixin.entity; import com.mojang.blaze3d.vertex.DefaultVertexFormat; import com.mojang.blaze3d.vertex.PoseStack; @@ -34,6 +34,11 @@ /** * Update the culling bounding box for armor stands to include the hitbox of the model on their head or arms. + * + * This patch will be dropped in the future as usage of display entities is preferred over armor stands. Display + * entities allow you to modify these culling hitboxes on the server-side which allows for finer control and wider + * adoption. This patch only works for servers that specifically use head items on armor stands which makes it + * ill-suited for wide adoption. */ @Mixin(LivingEntity.class) public abstract class LivingEntityMixin { diff --git a/fabric/src/main/resources/noxesium.mixins.json b/fabric/src/main/resources/noxesium.mixins.json index 32df5443..5eba8b3e 100644 --- a/fabric/src/main/resources/noxesium.mixins.json +++ b/fabric/src/main/resources/noxesium.mixins.json @@ -22,6 +22,7 @@ "component.MinecraftExt", "component.SkinManagerExt", "component.SkullBlockEntityExt", + "entity.LevelRendererMixin", "info.MinecraftMixin", "info.OptionInstanceExt", "info.OptionInstanceMixin", @@ -39,5 +40,8 @@ ], "injectors": { "defaultRequire": 1 - } + }, + "mixins": [ + "entity.LivingEntityMixin" + ] }