Finally get your Custom Enchants working with Anvils on Bedrock!
- Make sure Geyser and/or floodgate is in your plugins
- Download and install PacketEvents version 2.7.0
- Download and place this plugin in the plugins folder.
- Restart/Start server
Proxy Setup (Checkout ApiaryProxy btw)
- Install Geyser on proxy
- Install floodgate on servers behind proxy and proxy (more info, under "Proxy Servers" tab)
- Install this plugin and PacketEvents on servers behind the proxy
- Run servers to generate files/directories
- Move "GeyserAnvilFix-Mapping.json" (Located in this plugin's folder) to Geyser's "custom-mappings" folder
- Move "GeyserAnvilFix-Pack.mcpack" (same place) to Geyser's "packs" folder
- Allows Bedrock players to use Anvils with custom enchantments
- Compatible with 1.21.X servers
- Uses PacketEvents instead of ProtocolLib for packet handling
- Supports multiple anvil interaction modes (Always, When Sneaking, When Not Sneaking)
This plugin is a rewrite of the original Geyser Anvil Fix concept.
Original concept credits to Sideways Sky
A Spigot/Paper plugin that provides a custom anvil interface for Bedrock players (via GeyserMC), enabling them to use custom enchantments properly.
- Custom anvil interface specifically designed for Bedrock players
- Allows Bedrock players to use anvils with custom enchantments
- Compatible with Minecraft 1.21.X servers
- Option to access vanilla anvil interface if needed
- Multiple activation modes (Always, When Sneaking, When Not Sneaking)
- Spigot or Paper 1.21.X
- GeyserMC or Floodgate
- PacketEvents 2.7.0
- Install GeyserMC and/or Floodgate
- Install PacketEvents version 2.7.0
- Download and place BedrockAnvil in your plugins folder
- Restart your server
If you're using a proxy setup (like Velocity, BungeeCord, or ApiaryProxy):
- Install Geyser on your proxy
- Install Floodgate on both your proxy and backend servers (more info)
- Install BedrockAnvil and PacketEvents on your backend servers
- Run servers to generate necessary files
- Move mapping and resource pack files to Geyser's directories
# BedrockAnvil Configuration
anvil:
# When should the anvil interface be replaced with the custom interface for Bedrock players
# ENABLED - Always replace the anvil interface (default)
# DISABLED - Never replace the anvil interface
# SNEAKING - Only replace the anvil interface when the player is sneaking
# NOTSNEAKING - Only replace the anvil interface when the player is not sneaking
mode: "ENABLED"
# Whether to show a button that allows opening the vanilla anvil interface
# This is useful for players who want to access the vanilla functionality
forward: true
# Enable debug logging (will be verbose)
debug: falseSee IMPLEMENTATION.md for details on building the plugin from source and the technical implementation details.
Note: There are known issues with PacketEvents import paths in the code. You'll need to manually install the correct version of PacketEvents (2.7.0) and ensure the import paths match the actual library structure.
This plugin is available under the MIT License. See the LICENSE file for more details.
- Special thanks to the developers of PacketEvents, Geyser, and Floodgate
- Inspired by the concept from Geyser Recipe Fix by Sideways Sky