A lightweight and unintrusive plugin to add vanilla friendly attacking and mining with off-hand weapons and tools.
Acknowledgement
This plugin was made by Ranull, and imported via his GitLab repository. Minecraft 1.20.2 and higher wasn't supported, so I decided to fork it and make it compatible.
Original code was released under GPLv3. So everything will be kept under the same license here.
Supports:
- 1.9.*, 1.10.*, 1.11.*, 1.12.*, 1.13.*, 1.14.*, 1.15.*, 1.16.*, 1.17.*, 1.18.*, 1.19.*, 1.20.*
- Spigot, Paper, Purpur, Pufferfish, Airplane, Tuinity, CraftBukkit, Mohist, Magma, CatServer, MultiPaper
- GeyserMC (Bedrock Players)
- Forge/Bukkit Hybrid servers (Mohist, Magma, CatServer)
This plugin should be compatible with all protection plugins, plugins that prevent damage events and block break events. It is also compatible with all third party enchantment and skill plugins like McMMO.
Geyser:
Attacking works but without an animation for Bedrock clients. See GitHub issues: Geyser/issues/3480 GeyserOptionalPack/issues/40
Event API:
pom.xml inclusions for Maven
Spoiler: Repository
<repository>
<id>dualwield</id>
<url> https://maven.pkg.github.com/AvarionMC/dualwield/</url>
</repository>
<id>dualwield</id>
<url> https://maven.pkg.github.com/AvarionMC/dualwield/</url>
</repository>
Spoiler: Dependency
<dependency>
<groupId>com.ranull</groupId>
<artifactId>dualwield</artifactId>
<version>[..latest version..]</version>
<scope>provided</scope>
</dependency>
<groupId>com.ranull</groupId>
<artifactId>dualwield</artifactId>
<version>[..latest version..]</version>
<scope>provided</scope>
</dependency>
Permissions:
- dualwield.attack (Default)
- dualwield.mine (Default)
- dualwield.reload (OP)
Video by: OG Vampire
Screenshots:
Attacking with the off-hand
Mining with the off-hand
Usage
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.9, 1.10, 1.11
- 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.
DualWield is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 127 times (via Spigot). Download it and open it directly in the game.