HomeJavaModsVaultLootBeams
VaultLootBeams
ModsJava

VaultLootBeams

by JustAHuman_xD · on CurseForge

A fork of the Popular Loot Beams mod modified for VaultHunters 3rd Edition adding extremely configurable colored beams on dropped items!

⬇ Download on CurseForge

Vault Loot Beams

A fork of the Popular Loot Beams mod modified specifically for the VaultHunters 3rd Edition modpack. Please note that multiple of this mod's "new" features were featurs backported from the original Loot Beams mod for newer game versions. Thus, I cannot take full credit for those features, even if I did change or rewrite their implementation's for this fork.

Features

Loot Beams

Configured items dropped on the ground will have a colored loot beam projecting from them. This beam has many configurable properties listed below.

Rendering Requirements

Rendering Properties

ColorGroup

A color group associates an ItemList with a list of colors. If there are multiple colors, they will be cycled between via a gradient effect. Color groups can be defined in a number of ways:

Full Map Example:

{
  "color_map": {
    "minecraft:diamond": 0x00FF00, // Single color for a single item
    "minecraft:*_axe": ["#FF0000", "0x00FF00"], // Multiple colors for a partial item identifier
    "favorites": { // Full color group with an item list and inlined color
      "items": [
        "minecraft:diamond",
        "minecraft:*_sword",
        "minecraft:netherite_ingot"
      ],
      "colors": 0xFFFF00
    },
    "other_favorites": { // Full color group with an item list and multiple colors
      "items": [
        "minecraft:golden_apple",
        "minecraft:enchanted_golden_apple"
      ],
      "colors": ["#FF00FF", "#00FFFF"]
    }
  }
}

Loot Beam Particles

ParticleGroup

Beam Nameplates

Loot beams can optionally render a nameplate for the item as well, showing the name, its count (optional), and rarity (optional).

Loot Beam Sounds

LootBeamHolder

This is a simple api interface that can be implemented by items within mods for designating an item as a loot beam holder.
This allows the item to have a loot beam rendered for it without needing to be in the render whitelist or to pass the render condition while also allowing the beams color to be dynamically determined based on the item's properties.
The interface has 2 methods, shouldRenderBeam(ItemEntity, ItemStack) and getBeamColor(ItemEntity, ItemStack).
You can optionally register a LootBeamHolder through the LootBeamHolderRegistry instead of implementing the interface directly.

Config

Vault Loot Beams uses a json config file to configure its features. You can directly edit the file and reload it in-game using the specified hotkey, or you can use the in-game config editor (opened with the specified hotkey) to modify the config. There are a few custom config option types used for multiple config options detailed below.

ItemCondition

A condition applied to items that will either pass or fail for the relevant config option.

ItemList

An item list is a special type of list that is used to collect items for various config options. Item lists can either be inlined as a singular entry, or as a full list of entries. Entries can be formatted in a number of ways:

Vault Hunters Integration

Vault Loot Beams comes with a built-in default config addition when used with The Vault mod. The integration does 2 things:

  1. Implements LootBeamHolder for the following items, allowing for dynamic colors based on the items properties
    • Augments, Blessings, Potions, Vault Crystals, Catalysts, Inscriptions, Jewels, and Tools
  2. Adds a number of Vault Hunters items & colors to the default config.
    • Whitelists all vault armor, mainhands, offhands, and curios.
    • Whitelists gemstones, keypieces, blank keys, unidentified keys, knowledge stars, and antiques.
    • Provides colors for artifacts, inscriptions, lost bounty, old notes, bounty pearls, catalysts, card deck, pogs, all treasure keys, and all seals.

Bug Fixes & Optimizations

There are a number of new bug fixes and optimizations in this fork that should allow you to use loot beams without any worry for performance.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

VaultLootBeams is a free Minecraft Java mod. Compatible with Minecraft 1.18.2. Downloaded 373,471 times (via CurseForge). Download it and open it directly in the game.

Explore more