diff --git a/README.md b/README.md index 49d7af2..d1e7962 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ YesCheat provides hacky overwrites for "anticheat" methods in minecraft that do not check some aspects of the validity of inputs\ -Use case: prevent a slow server from randomly moving/stopping players \ No newline at end of file +This can be used (for example) on servers with slow network connections to improve rubber banding, +or when experimenting with Minecraft's features at their extremes. + +Over time, the mod has also accumulated several QoL features I wanted on my server but didn't want to create a separate mod for. +None of them can be configured, since this was originally developed for my own server and not intended to be used elsewhere. + +The following features are implemented: +- Chests are never blocked +- Enchantments aren't capped at 255 +- The EULA file is ignored +- Container screens aren't closed when moving away from them +- The mending enchantment can be applied at the same time as others +- Blocks can be broken at any distance +- Remove movement checks ("fixes" rubber banding) +- Villagers follow emerald blocks \ No newline at end of file diff --git a/src/main/java/io/gitlab/jfronny/yescheat/mixin/InfinityEnchantmentMixin.java b/src/main/java/io/gitlab/jfronny/yescheat/mixin/InfinityEnchantmentMixin.java index 499ac23..1b6fb8f 100644 --- a/src/main/java/io/gitlab/jfronny/yescheat/mixin/InfinityEnchantmentMixin.java +++ b/src/main/java/io/gitlab/jfronny/yescheat/mixin/InfinityEnchantmentMixin.java @@ -12,6 +12,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; public class InfinityEnchantmentMixin { @Inject(method = "canAccept", at = @At("HEAD"), cancellable = true) private void differs(Enchantment other, CallbackInfoReturnable cir) { - if(other instanceof MendingEnchantment) cir.setReturnValue(true); + if (other instanceof MendingEnchantment) cir.setReturnValue(true); } }