Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rozmir-rohi/keep-inventory-lose-xp

Players keep Inventory but drop XP on Death.
https://github.com/rozmir-rohi/keep-inventory-lose-xp

forge minecraft-mod

Last synced: 9 days ago
JSON representation

Players keep Inventory but drop XP on Death.

Awesome Lists containing this project

README

        

# Keep Inventory Lose XP
Players keep Inventory but drop same XP as vanilla on Death.

## Credits & License Conditions:

**Silly511** - Original inspiration for the mod, and code for setting gamerules was sourced from ConnectionHandler.class in the "Keeping Inventory" mod, this works within the custom license conditions.

**sergiusonesimus** - Code for detecting player deaths was sourced from GravestoneEventHandler.class in the "GraveStones - Die Classy Updated" mod under the GNU Affero General Public License.

**unclecat_** - Provided code for removing XP from players (https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/2503178-remove-xp-from-player-forge).

**SnubMansters** - Their forum post helped me understand how to make and use config files (https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/2467087-config-file-entity-ids).

### Use of anatawa12's Fork of ForgeGradle 1.2 within Project:
The source code of this project uses anatawa12's fork of ForgeGradle 1.2 as a library under the GNU Lesser General Public License v2.1 (https://choosealicense.com/licenses/lgpl-2.1/).

Compiled versions of this mod are permitted under section 5 of the original license, "A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work...is not a derivative work of the Library"; consequently the conditions of the original license do not apply to the work.

The source code of this mod is permitted under section 6 of the original license, "you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice" provided that:
* Private modifications are allowed.
* Notice is given that the Library is used and a copy of it's original license is provided.
* Access is provided to the source code of the Library.

The source code for anatawa12's fork of ForgeGradle 1.2 can be found here: https://github.com/anatawa12/ForgeGradle-1.2