跳到正文

Keep Inventory Lose XP

作者:Rozmir

Players keep Inventory but drop experience on death.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Project Status: Finished & Finalized

The developer of this project is retired and does not respond to private messages or GitHub issues.

 

Automatically sets keepInventory to true in worlds without the need for cheats to be enabled.

On death, players will keep their inventory but drop experience on death. The amount of experience lost can be configured through the config file, by default it is set to the vanilla Minecraft amount.

 

 

 

Modpacks:

Use freely, no permission is required, although credit is appreciated.

 

 

 

Credits & Licence 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 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 Forge Gradle 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.

 

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

 

 

All licence conditions have been adhered to with the application of the GNU General Public License, disclosure of source code, notice of anatawa12’s fork of ForgeGradle 2.1 being used within the source code, and inclusion of a copy of anatawa12’s ForgeGradle 2.1 license within the source code.

 

常见问题

Keep Inventory Lose XP 支持哪些 Minecraft 版本?

Keep Inventory Lose XP 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Keep Inventory Lose XP 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Rozmir 的其他作品

查看全部 →