Coder Social home page Coder Social logo

autoswitch's Introduction

AutoSwitch

AutoSwitch is a very advanced mod that automatically switches your tools and weapons.

See http://is.gd/ThebombzensMods#AutoSwitch for details.

Note: If you want to contribute, feel free! Just send me a pull request and I'll review it before adding it.

Reporting Bugs

You can report bugs on the bug tracker at Github.

If your bug report is about incorrect behavior or a crash, remember to provide a link to a debug log. Do this by enabling debug logging in the config screen. Then, trigger the bug (preferably in creative mode, set "Use in Creative" to ON). Then send me the file .minecraft → mods → AutoSwitch → DEBUG.txt by putting it on a paste site like https://gist.github.com/, http://pastebin.com/, or https://0x0.st/. Remember to disable debug when you're done.

Compiling

First, you need to clone ThebombzenAPI to the same directory that you cloned AutoSwitch. i.e. you should see ThebombzenAPI/ and AutoSwitch/ in the same directory.

Then navigate to AutoSwitch and run:

$ ./build.sh

This will create the directory "build" which and all build supplies inside of it, and should create a finished AutoSwitch jar file upon completion.

On Windows? Sorry, you're on your own. I don't know how to write CMD Batch files.

Eclipse

Once you've run the buildscript at least once, you can go to Eclipse and select File -> Import -> Existing Projects to Workspace, and select AutoSwitch as the root project directory. If you have the Git plugin it should recognize AutoSwitch as a git respository.

Releases

The releases in the upper-right contain intermediary releases that don't bump the version number. This is to publish hotfixes without reminding everyone to update.

autoswitch's People

Contributors

traneptora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

autoswitch's Issues

Mod uninstalled, but still auto-switch items

Problem: simple. I installed the latest version through 9minecraft.com.(I found it there). Then, whenever it switch weapons, the graphic somehow jumps the frame. It means when I hit the dirt block with an axe, it switch to shovel and start digging and this particular moment, the frame stucked for a milisecond.

**Problem2:**So I uninstall the mod. but it still functioning.(no idea how.) I uninstall and reinstall minecraft doesn't solve the problem. Sometimes, it switch to a wrong tool.(guess its a bug.) But why is it still working after I delete everything in the ".minecraft" file under "%appdata%"?

Discussion: Does it store data somewhere else? Does it change the Minecraft jar sooooo deep that a re-install dont eleminate the function?

WhatIamDoing I am spending time picking the mod I wanna play with, and try to doing a streaming and a server. And the water is too deep. Plz help.

Li.

dirt grass and gravel and other shovel minable blocks

i seen that this issue was made be for but you weren't able to get what you need.
i was wondering if there a way it can be fix.
so my shovel is diamond shovel with eff 4 fortune 3 unb 3 and ever time i try to mine grass ore any block that need to be mined bye my shovel it put my hand out or a use an item.
thx for reading.

getCorrectMemoryFile

Every time I attempt to join my friends' realm server with zenapi installed, I crash with the following report.
https://pastebin.com/zpaejgGb

It only happens on the realms server, I've tested by connecting to all of my other 1.12.2 servers without issue.

Using Pickaxe instead of shovel for gravel and dirt

Pickaxe is Efficiency V, Unbreaking III, Fortune III, Mending
Shovel is Efficiency IV, Unbreaking III, Fortune II, Mending, Curse of Vanishing.

The 1.12.2 version of this mod insists on changing to the Pickaxe when hitting gravel or dirt, when it should pick the shovel.

Minebot incompatibility

Here is the relevant part of the stack trace:

java.lang.IndexOutOfBoundsException
    at java.nio.Buffer.checkIndex(Unknown Source)
    at java.nio.DirectByteBuffer.get(Unknown Source)
    at org.lwjgl.input.Keyboard.isKeyDown(Keyboard.java:407)
    at thebombzen.mods.thebombzenapi.ThebombzenAPI.isExtendedKeyDown(ThebombzenAPI.java:427)
    at thebombzen.mods.autoswitch.AutoSwitch.clientTick(AutoSwitch.java:170)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_16_AutoSwitch_clientTick_ClientTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:55)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:331)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1711)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080)

Minebot replaces some keybinds with its own subclass in order to simulate mouse and key presses but your mod doesn't accout for the changed keycode.

I found another mod with the same problem and proposed a fix here that may apply in this case too.

Mod Does not work with TapeMouse Mod

When using tapemouse to set attack to 0 ticks it wont switch pickaxes or shovel. but when i manually hold mouse with tapemouse on it works fine. But when i wanna afk wirh tapemouse I was hoping for the mod to auto switch picks and shovels since i am on a skyblock server

1.12 Update

Is there an Update coming for 1.12 or is this repository inactive ?

The mod doesn't seem to take attack speed into account

With mod items, I always switch to axes when I attack mobs because they deal a bit more damage. But they're like half as fast so the DPS is way lower!

EDIT: Okay, couple of steps further into madness: Now I've recreated the issue with an enderman and vanilla diamond sword and axe AFTER I put "W @diamond_axe = 0" in the WEAPON OVERRIDES...????

EDIT: I AM CONFUSED!
Draconic Evolution items on skeleton -> picks sword
Vanilla diamond items on skeleton -> picks sword
Draconic Evolution items on enderman -> picks axe
Vanilla diamond items on enderman -> picks axe
What's up with the endermen???

EDIT: bit of a rough start on my thought process - playing with:
Minecraft 1.12.2
Forge 14.32.1.2555
Autoswitch 5.6.2

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.