Random Item Generator Resurrected

Adds three configurable blocks that drop random items, spawn random entities, or give random enchanted books — complete with blacklist controls to keep unwanted or hazardous drops out.

File Details

RIGR 2.0.0

  • R
  • Aug 24, 2025
  • 47.61 KB
  • 1.6K
  • 1.20.1
  • Forge

File Name

random_item_generator_resurrected-2.0.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:rigr-935089:6923820")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changelog

Port & Core

  • Ported to Minecraft 1.20.1 (Forge 47.x), Java 19 toolchain.
  • Migrated registries to 1.20.1 APIs (DeferredRegister, new CreativeModeTab builder).
  • Updated mods.toml ranges: loaderVersion=[47,), minecraft=[1.20.1,1.21).

Features

  • Added custom Creative Tab (itemGroup.random_item_generator_resurrected.rig_tab) with all mod blocks.
  • Config system added (COMMON):
    • Resurrected Block: random_item_block.item_denylist (block drop blacklist by registry ID).
    • Entity Block → Blacklists
      • Toggles: projectiles, splash_potions, xp_bottles, armor_stand, vehicles, falling_blocks.
      • Hazards: lightning, explosives (Primed TNT, TNT minecart, End Crystal), fireballs (ghast/blaze/wither/dragon).
      • Denylist: explicit ids list for entity registry IDs.
  • (Optional) Config filename can be shortened (e.g. rigr-common.toml) via registerConfig(..., "rigr-common.toml").

Gameplay / Behavior

  • Resurrected Block
    • Drops random items from all registered items, respecting the item denylist.
    • Fortune scales number of drops. Silk Touch drops itself.
    • Ghost-block fix: on normal break the block does not become AIR; plays break effects, forces client re-render.
    • Spawns happy villager particles on use as feedback.
  • Entity Block
    • Spawns random entities (vanilla + modded), honoring blacklist toggles & denylist.
    • Added filters for falling blocks, lightning, explosives, fireballs, vehicles, armor stands, splash potions, XP bottles, and all projectiles.
    • Ghost-block fix & particle feedback identical to Resurrected Block.
  • Enchants Block
    • Drops random enchanted books; fortune scales rolls.
    • Ghost-block fix & particle feedback identical to Resurrected Block.
    • Silk Touch drops itself.

Removals / Breaking

  • Removed LootChestBlock and its BlockItem. (BREAKING: registry IDs removed.)
  • Removed CreativePickaxe item and all references. (BREAKING: registry ID removed.)
  • Removed right-click hint message & related config toggle.

Maintenance

  • Package root renamed to com.github.dklyntly.random_item_generator_resurrected.
  • Cleaned up deprecated imports/usages; unified naming & assets under assets/random_item_generator_resurrected/.