diff --git a/README.md b/README.md index faa777f..a87a13b 100644 --- a/README.md +++ b/README.md @@ -17,15 +17,6 @@ Improve horses by removing stupid stuff and adding useful stuff. ![player sitting in a bamboo raft in a river with a horse](https://cdn.modrinth.com/data/cached_images/d2faef4b56e873ee8a20816b5276e52aa1b20bbc.png) -
- - Fix rubber banding on stairs/slabs "Horse moved wrongly!" - (MC-100830) - - - ![side by side comparison of going up a staircase with/without the mod. The without frequently goes back a couple of steps in a disorienting manner. The with doesn't have that and results in travel being faster](https://i.imgur.com/bXu7lt4.gif) -
-
Saddled Horses don't wander @@ -105,6 +96,14 @@ Improve horses by removing stupid stuff and adding useful stuff.
### Legacy features (removed due to them being added to the game officially) +
+ + [Server Side] Fix rubber banding on stairs/slabs "Horse moved wrongly!" + (MC-100830) (1.16.5 - 1.21.3) + + +![side by side comparison of going up a staircase with/without the mod. The without frequently goes back a couple of steps in a disorienting manner. The with doesn't have that and results in travel being faster](https://i.imgur.com/bXu7lt4.gif) +
[Server Side] diff --git a/gradle.properties b/gradle.properties index 8b5388c..f84ef83 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/develop/ -minecraft_version=1.21.3 -yarn_mappings=1.21.3+build.2 +minecraft_version=1.21.4 +yarn_mappings=1.21.4+build.2 loader_version=0.16.9 # Mod Properties mod_version=2.2.0 maven_group=com.HorseBuff archives_base_name=HorseBuff # Dependencies -fabric_version=0.112.1+1.21.3 -cloth_config_version=16.0.143 -mod_menu_version=12.0.0 -mixinextras_version=0.4.1 \ No newline at end of file +fabric_version=0.112.2+1.21.4 +cloth_config_version=17.0.144 +mod_menu_version=13.0.0-beta.1 +mixinextras_version=0.3.5 \ No newline at end of file diff --git a/src/main/java/net/F53/HorseBuff/config/ModConfig.java b/src/main/java/net/F53/HorseBuff/config/ModConfig.java index 2af96b6..725c8dc 100644 --- a/src/main/java/net/F53/HorseBuff/config/ModConfig.java +++ b/src/main/java/net/F53/HorseBuff/config/ModConfig.java @@ -14,10 +14,6 @@ public class ModConfig implements ConfigData{ @ConfigEntry.Gui.Tooltip public boolean noWander = true; - @ConfigEntry.Category("Server") - @ConfigEntry.Gui.Tooltip - public boolean rubberBand = true; - @ConfigEntry.Category("Server") @ConfigEntry.Gui.Tooltip public boolean breakSpeed = true; diff --git a/src/main/java/net/F53/HorseBuff/mixin/Client/LlamaDecorFeatureRendererMixin.java b/src/main/java/net/F53/HorseBuff/mixin/Client/LlamaDecorFeatureRendererMixin.java index 5fc4d5d..b6d6f63 100644 --- a/src/main/java/net/F53/HorseBuff/mixin/Client/LlamaDecorFeatureRendererMixin.java +++ b/src/main/java/net/F53/HorseBuff/mixin/Client/LlamaDecorFeatureRendererMixin.java @@ -14,7 +14,7 @@ @Mixin(value = LlamaDecorFeatureRenderer.class, priority = 960) public class LlamaDecorFeatureRendererMixin { - @Inject(method = "render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/entity/state/LlamaEntityRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Identifier;I)V", + @Inject(method = "render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/entity/state/LlamaEntityRenderState;Lnet/minecraft/item/ItemStack;Lnet/minecraft/registry/RegistryKey;I)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/entity/model/LlamaEntityModel;setAngles(Lnet/minecraft/client/render/entity/state/LlamaEntityRenderState;)V", shift = At.Shift.AFTER)) void updatePlayerPassenger(CallbackInfo callbackInfo, @Local(argsOnly = true) LlamaEntityRenderState llamaEntityRenderState, @Local LlamaEntityModel llamaEntityModel) { diff --git a/src/main/java/net/F53/HorseBuff/mixin/Client/TransparentEquipment.java b/src/main/java/net/F53/HorseBuff/mixin/Client/TransparentEquipment.java index da14ac4..6e18603 100644 --- a/src/main/java/net/F53/HorseBuff/mixin/Client/TransparentEquipment.java +++ b/src/main/java/net/F53/HorseBuff/mixin/Client/TransparentEquipment.java @@ -21,7 +21,7 @@ @Mixin(value = EquipmentRenderer.class, priority = 960) public abstract class TransparentEquipment { - @WrapOperation(method = "render(Lnet/minecraft/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/model/Model;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/util/Identifier;)V", + @WrapOperation(method = "render(Lnet/minecraft/client/render/entity/equipment/EquipmentModel$LayerType;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/client/model/Model;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/util/Identifier;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/RenderLayer;getArmorCutoutNoCull(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;")) RenderLayer makeRenderLayerTranslucent(Identifier texture, Operation original, @Local(argsOnly = true) Model model, @Share("alpha") LocalIntRef alpha) { if(model instanceof ExtendedRideableEquippableEntityModel extendedRideableEquippableEntityModel) { @@ -31,7 +31,7 @@ RenderLayer makeRenderLayerTranslucent(Identifier texture, Operation=0.15.11", - "minecraft": ">=1.21.3", + "minecraft": ">=1.21.4", "java": ">=21", "fabric-api": "*", "cloth-config": "*" diff --git a/src/main/resources/horsebuff.mixins.json b/src/main/resources/horsebuff.mixins.json index 72c9628..9040af6 100644 --- a/src/main/resources/horsebuff.mixins.json +++ b/src/main/resources/horsebuff.mixins.json @@ -6,7 +6,6 @@ "mixins": [ "Server.AllowRaft", "Server.MountedModifiers", - "Server.MovementCheck", "Server.NoBuck", "Server.NoWander" ],