Giter VIP home page Giter VIP logo

unidentified-enchantments's Introduction

DOWNLOAD

Unidentified Enchantments

This mod hides the Enchantments on loot items, making them appear in the same way you find them in the enchantment table, unreadable. These loot items can be identified with a Scroll of Identification, after it has absorbed 5 levels (can be changed in the serverconfig) from the player. By placing a Scroll of Identification on top of an unidentified item, the scroll will be consumed and a random enchantment will be identified.

To incentivize identifying your loot weapons and armor, a couple of curses have been added. 

  • Curse of Hunger: While using the tool, or taking damage, you will use more hunger.
  • Curse of Weight: While this curse is applied to your armor, you will be slower in the water.
  • Curse of Insomnia: While this curse is applied to your armor, you can not sleep in a bed.
  • Curse of Vanity: Does nothing, but you don't know that ;p
  • Curse of Madness: Every so often, a harmless creeper will spawn close to you and blow up, dealing no damage. You are the only person who can see it.  

What to do when an enchantment is not hidden:

There are 2 main reasons for an enchantment to not be hidden:

 If the item is found in a modded structure's chest, my loot filter did not detect them. You can make an issue on github and mention which mod the structure belongs to. I'll add it to the filter to fix it.  if only some enchantments are not hidden, some other mod has also modified the loot after I've hidden it. To solve this the order of our "global loot modifiers" needs to be changed. This might sound complex but I've added a command to help you, see "Global Loot command".  

Global Loot command

This mod uses global loot modifiers to change loot tables. This might cause issues if the "hiddenloot" modifier is called before all enchantments/items have been added by other mods. For that reason this modifier must be at the bottom of the list. But changing the order can be hard if you don't know which modifiers are present so I've added a command to help.

  • /globalloot : Exports the current list of global loot modifiers to the "config" directory. The file will be named "global_loot_modifiers.json". This can be useful for pack makers to order them.
  • /globalloot replace : Replaces the current global loot modifiers with one that has the "hiddenloot" modifier as the last one. This is the simple way to fix that some enchantments are not hidden in custom modpacks. The order of other modifiers are not changed. For modpacks: This is achieved by making a datapack with a global loot modifiers overwrite. This means that on packs that already have a datapack it might create some issues. 
  • /globalloot delete : Removes the global loot modifiers overwrite made by /globalloot replace.   made during dechmodcontest

thanks to demonikhunter for the awesome texture!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.