Loot Table Utilities
More Red adds the following data types for use with loot tables.
| History |
|---|
The morered:set_wire_count loot function modifies the count of an itemstack based on the blockstate properties of the wire block that dropped the item, such that a number of wires are dropped equal to the number of wires in the broken blockstate. It is only effective in loot table entries that have blockstate context, and only effective for blocks that extend AbstractWireBlock:
- Red Alloy Wire
- Colored Network Cables
- Bundled Network Cable
The function has no arguments; the following function object is sufficient:
{
"function": "morered:set_wire_count"
}| Version | Changelog |
|---|---|
| 1.16.5-2.1.0.0 | Added "morered:set_wire_count" loot function for use with wire blocks |