Wiki 9Minecraft More Red Wiki
More Red WikiDocumentation › Loot Table Utilities

Loot Table Utilities

More Red adds the following data types for use with loot tables.

History
  1. Loot Functions
    1. Set Wire Count
  2. History

Loot Functions

Set Wire Count

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"
}

History

Version Changelog
1.16.5-2.1.0.0 Added "morered:set_wire_count" loot function for use with wire blocks