Skip to content

MREComponent Class

Parameters

NameTypeDefaultDescription
tableStringmreThe loot table to generate

Methods

onUse

Example

js
new MREComponent("mre");
json
{
  "format_version": "1.21.20",
  "minecraft:block": {
    "description": {
      "identifier": "wiki:custom_mre"
    },
    "component": {
      "minecraft:custom_components": ["wiki:custom_mre"]
    }
  }
}

Not associated with or approved by Mojang Studios or Microsoft