Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Zenchantments without NMS - More enchantments without mods or resource packs. Spigot 1.16.1

License

Notifications You must be signed in to change notification settings

Geolykt/NMSless-Zenchantments

 
 

Repository files navigation

Development has moved over to Enchantments+, if you are a newer user, use that release instead. The current repo contains a few bugs and crashes that were not fixed and there's no need to keep using this one. You should either fork it, or waddle on. The reason behind this decision is to free from the old requirement of having to stick to the old Format of how things are done, however not much has changed overall and will be 100% compatible if using PR-47 lore. I do not recommend of using upstream due to reasons. Additionally the plugin has changed so much that it's more or less a new product while still being kindof the same.


This fork uses NBT tags to store enchantments, however still has alternative enchantment getters which makes it interchangeable with the regular plugin It also only intends to support 1.16.1 and 1.16.2, older may work however with a bit of commit reverting. Using older minecraft versions is generally not recommended after the commits of the 14th July, even if it's now a bit more easy to set up than when I initially wrote this, it's just tweaking some values now.

NMSless-Zenchantments

Description

Zenchantments is a custom enchantment plugin that adds 70+ new enchantments to the game, covering a multitude of different uses. These include target-tracing arrows, lumber axes, block-breaking lasers, and much more. These custom enchantments are obtained through the normal enchantment process and act like regular enchantments, capable of being combined and merged. The plugin requires no client-side mods or resource packs. A comprehensive configuration file enables fine-tuning of individual enchantments to tailor them to every server's gameplay.
This specific repository tries to create a more stable version of Zenchantments while also making it availiable for newer versions, the partent repo doesn't support. This fork does not bother to enlarge the list of enchantments it adds as of yet, but is purely bug-squashing driven, some Optimisation might also be performed whenever possible.

Download

See Releases for downloads

Compile

Compile this project like every other project out there

Compatibility

The current version of this plugin is fully compatible with Spigot version 1.16.1. Any versions under 1.16.1, will not work without tinkering, versions above, may, although with a few issues.

Contribute

Anyone is free to contribute to this repository via pull requests or comments, however keep in mind that this repository uses 4 space indentation.

Changes performed in this fork

  • Major changes:
    • Removed NMS
    • Using NBT tags to store enchantments other than invisble lore
    • Using Datapack tags instead of hardcoded values for some stuff
    • 1.16.1 and upwards compatible
    • Rewrote large portions of the compatibillity adapter
  • Minor changes:
    • Various minor performance boosts
    • The fire and aborist enchantment no longer use hardcoded recepies
    • Command blocks and console now can use more commands
    • Allow to target other players and using target modifiers in the enchantment command
    • Added informative enchantment use events - cannot be cancelled as of yet
    • Recoded the giant stack of if-else statements in the spectral class
    • The siphon enchantment can be nerfed; configurable in the patches.yml
  • Patches:
    • Patched a bug where blue ice blocks and soulsand blocks placed by the frozenstep and netherstep enchantemnts can be moved or removed; can be toggled
    • Patched a bug where the fire enchantment would work even when the player shouldn't be able to destroy a block
    • Patched a bug which would result in the abillity of changing blockstates in protected regions, for example via Towny or World guard; can be toggled
    • Patched a bug which would spam the console when the Weight enchantment is used
    • Patched a bug which would result in a unbreaking 1 enchanted item, see Zedly#40
    • Patched a bug which would result in console spam when a player with maximum or near maximum health is healed by the siphon enchantment [Issue #8](#8)
  • Code changes (doesn't affect behaviour as much):
    • A lot of whitespace changes; this repo is 100% 4-space indented
    • Removed unused variables and methods
    • General reduction of compiler warnings
    • Other QoL changes when it comes to building the project

About

Zenchantments without NMS - More enchantments without mods or resource packs. Spigot 1.16.1

Resources

License

Stars

Watchers

Forks

Languages

  • Java 100.0%