Miscellaneous - RCXcrafter/EmbersRekindled GitHub Wiki

Loot Modifiers

embers:grandhammer

Voids all items if its conditions are met.

embers:superheater

Autosmelts all items if its conditions are met.

Item Predicates

embers:augment

This predicate matches if the item has at least the specified level of the specified augment. This is used by the superheater loot modifier.

Parameters:

  • augment (String) id of the augment
  • level (integer) level of the augment (optional, default: 1)

Example:

{
  "type": "embers:superheater",
  "conditions": [
    {
      "condition": "minecraft:match_tool",
      "predicate": {
        "type": "embers:augment",
        "augment": "embers:superheater",
        "level": 1
      }
    }
  ]
}

Structure Types

embers:cave_structure

This structure type is identical to minecraft:jigsaw except that it attempts to find cave floors anywhere below its generation point and places the structure at a random one. If it can't find any, it will randomly place the structure anywhere below the generation point. Used by the small ruin structures.

Structure Processors

embers:entity_mobilizer

This processor modifies the nbt of all entities in the structure to set NoAI to false and PersistenceRequired to true.

embers:crystal_seed_processor

This processor is used to randomly assign a level to all crystal seeds that generate in a structure.

Parameters:

  • min_xp (integer) minimum amount of xp for the seed
  • max_xp (integer) maximum amount of xp for the seed
  • size (integer) size of the nuggets floating around the seed from 0 to 1000

Example:

{
  "processors": [
    {
      "max_xp": 5050000,
      "min_xp": 210000,
      "processor_type": "embers:crystal_seed_processor",
      "size": 900
    },
    {
      "processor_type": "embers:entity_mobilizer"
    }
  ]
}