Improve the README

This commit is contained in:
Johannes Frohnmeyer 2022-06-25 22:40:48 +02:00
parent 579146c7f7
commit e5fbe28836
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 16 additions and 2 deletions

View File

@ -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
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

View File

@ -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<Boolean> cir) {
if(other instanceof MendingEnchantment) cir.setReturnValue(true);
if (other instanceof MendingEnchantment) cir.setReturnValue(true);
}
}