ModsJava
[API] HandSwitchEvent [1.9]
Java mod listed for Minecraft 1.9. Download on the author's site.
⬇ Download on SpigotThis simple API adds an
PlayerSwitchHandEvent which is called when a player switches to the off-hand.
Depends on PacketListenerAPI
Usage
Links
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
}
public void on(PlayerSwitchHandEvent event) {
event.getPlayer();// The Player
event.isAssign();// true if the off-hand was previously empty
}
Links
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.