Giter Club home page Giter Club logo

togglesneak's Introduction

ToggleSneak mod

The OG ToggleSneak back in 1.7.10/1.8. Supports toggling sneaking, sprinting, and fly boosting.

The controls are tinkered to be the exact same as the original. Meaning the mod can determine between toggling and holding the sneak/sprint button without any extra hassle.

Originally coded by u/ScrobDobbins. Updated (and now mostly rewritten) by Ringosham

Downloads

I don't use the release tab. Use the Curseforge link here

Installing

Uses Forge

Versions older than 3.3 requires PlayerAPI for 1.12. Obtainable in this repository

Contributing

Bug reports

Please report them under issues. Describe what went wrong and how do you reproduce it. If it is a crash, please include your crash report as well.

Pull requests

If you can make it more efficient, feel free to make a pull request.

License

This mod is licensed under MIT. Copyright goes to u/ScrobDobbins, Ringosham, and its contributors.

togglesneak's People

Contributors

navarr avatar ringosham avatar sarkos avatar

Stargazers

 avatar

Watchers

 avatar

togglesneak's Issues

Rewrite PlayerBase to be compatible with 1.12

Right now the PlayerBase class is the exact same as 1.8 which means all 1.12 player movements will likely crash the game or don't work.

Probably just copy the class from source and edit upon it.

1.8.9

Hey, there is no issue, but can you please make this mod for version 1.8.9? I want to use it when I play Hypixel SkyBlock and I'm not used to hold sneak.

Sprinting not working as intended

Toggling sprinting only lets you sprint when you're already moving forward. If you stop running the sprinting stops, and you have to toggle it off and on while moving forward to resume a sprint again. The same occurs if you toggle sprinting on while not moving forward - you won't be able to sprint unless you toggle it off and on while moving forward.

Sneaking and sprinting should not be enabled at the same time

You can toggle sneak and sprint at the same time. However, while sneaking, the player also inherits the properties of sprinting. This generates sprinting particles and making sound even if you are sneaking. This will affect PvP and hiding tactics.

Incompatible with Construct's Armory

When you right click on the Armor Forge, it causes the following error:

java.lang.ClassCastException: c4.conarm.client.gui.PreviewPlayer cannot be cast to net.minecraft.client.entity.EntityPlayerSP
at deez.togglesneak.ToggleSneakEvents.onTick(ToggleSneakEvents.java:37)

Fix toggle sneak

Sneaking is currently handled by MovementInputFromOptions and the old implementation cannot override that.

Sneak hold threshold

The current threshold for determining between toggling and holding the movement keys is 300ms. Planning to make this variable customizable in case people would like to use this mod while also want to speed bridge.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.