i want a mod that prevents wither skeletons from dropping stone swords that i can put directly in my mods folder
KodariSep 14 at 3:32 am 1
NoWitherSwordDrop
A lightweight Minecraft Fabric mod that prevents wither skeletons from dropping stone swords upon death. The mod intercepts the loot table generation for wither skeletons and removes the stone sword entry, ensuring that only other vanilla drops such as coal and bones are produced. Compatible with Minecraft 1.26.2 on the Fabric mod loader, the mod is designed to be a drop-in solution placed directly into the mods folder with no configuration required. It uses a simple mixin to modify the entity loot table behavior, making it ideal for players who find the stone sword drops undesirable or cluttering. The mod is client and server compatible, functioning seamlessly in both single-player and multiplayer environments without affecting other mob drops or gameplay mechanics.
Create a minimal Fabric 26.2 mod project targeting Java 25.
Remove stone swords from wither skeleton loot through a server-side loot-table modification callback.
Add metadata, build configuration, source code, and required resources so the output JAR can be placed directly in
mods.
Created a Fabric 26.2 data-only mod that removes stone sword drops from wither skeletons while preserving coal, bones, and wither skeleton skull drops.
Build it with:
Shell
gradle build
Then copy:
Plain Text
build/libs/no-wither-skeleton-swords-1.0.0.jar
into your Minecraft mods folder.
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
5 149
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30