Home›Java›Mods›[API] HandSwitchEvent [1.9]
ModsJava

[API] HandSwitchEvent [1.9]

Java mod listed for Minecraft 1.9. Download on the author's site.

⬇ Download on Spigot
This simple API adds an PlayerSwitchHandEvent which is called when a player switches to the off-hand.

Depends on PacketListenerAPI

Usage
Code (Text):
@EventHandler
            public void on(PlayerSwitchHandEvent event) {
                event.getPlayer();// The Player
                event.isAssign();// true if the off-hand was previously empty
            }

Links
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[API] HandSwitchEvent [1.9] is a free Minecraft Java mod. Compatible with Minecraft 1.9. Downloaded 238 times (via Spigot). Download it and open it directly in the game.

Explore more