Corgam / CagedMobs

CagedMobs repository
GNU Lesser General Public License v2.1
4 stars 7 forks source link

Added precise DnaSampler usage matching #49

Closed yanang007 closed 1 year ago

yanang007 commented 2 years ago

This is providing a more precise usage searching in JEI as some of my players were complaining about being struggling to locate the requirements for a specific entity, and failed to put DNA samples into cages. Please let me know if any improvement is required.

Changes

  1. Updated JEI API for compliance to their API changes.
  2. Added subtype interpreter for samplers to differentiate them from each other by sampled entity.
  3. Added both samplers with and without NBT tags into JEI recipes. Samplers without NBT is added as hidden ingredient, just for universal usage searching.
Corgam commented 1 year ago

Looks perfect, however in the new update I have already updated the code for compliance with their API changes. Therefore, I have just copied the subtype changes. Thank you!