Loot beams for items

A 1.21 Fabric client-side Minecraft mod that adds colorful and customizable loot beams to dropped items!
Loot Beams are added to all items by default and they change colors depending on the items name. You can, however, specify a whitelist/blacklist for Beams, color overrides, and even NBT tags to change their color! (like "lootbeams.color:"0xFFFFFF").
Beams also have nametags that show up when looking at an item or crouching so you can see what an item is without even picking it up. This mod is client-side, meaning it will run on vanilla servers and forge servers that do not have this mod installed!
Also this version fixes many bugs of original version:


And implement new features:
{custom_rarity:{name:"Legendary",color:"#FF9900"}}{custom_rarity:{name:"my.custom.rarity.legendary",color:"#FF9900"}}New features:
Droplight (like in Droplights mod)




_colored postfix, example: cake_colored.png)Added a resource pack example.
assets/lootbeams/textures/ground_glow_effects/

assets/lootbeams/textures/particle/. Particles can be animated with .mcmeta file.

assets/lootbeams/custom_rarities.jsoncustom_rarity_id (String)custom_rarity_id and custom_rarity are set, custom_rarity will take priority/lootbeams item-custom-config available

Below are some examples of beam configuration with the new features.
custom_rarities.json example:
{
"custom_rarities": [
{
"id": "snowy",
"name": "Snowy", // also may be a translation string
"color": "#ddeeff",
"config": {
"trails": false,
"particle_use_constant_vertical_speed": true,
"render_name_color": false,
"render_rarity_color": true,
"particle_random_y": false,
"particle_y_offset": 2,
"particle_lifetime": 40,
"particle_size": 0.5,
"particle_speed": 0.00001,
"particle_speed_x": 0.1,
"particle_speed_y": -0.004,
"particle_speed_z": 0.1,
"particle_count": 10,
"pulse_glow": false,
"rotate_glow": false,
"glow_effect_texture": "lootbeams:vortex_2", // For this effect you need resource pack example (listed below)
"glow_effect_radius": 1,
"glow_effect_alpha": 1
},
"selectors": [ // Applies this rarity to all items cantains "snow" in name
"%Snow", "%snow"
]
},
{
"id": "fire_infused",
"name": "Fire infused", // also may be a translation string
"color": "#ff4400",
"animated_color": "2_#ff4400_#ff0000_#ffff00", // Can be used if Prism installed
"config": {
"trails": false,
"render_name_color": false,
"render_rarity_color": true,
"particle_random_y": false,
"spin_around_beam": false,
"particle_texture": "lootbeams:animated_fire",
"particle_size": 2,
"particle_radius": 0.4,
"particle_speed": 0.00001,
"particle_speed_y": 0,
"particle_count": 20,
"pulse_glow": true,
"rotate_glow": false,
"glow_effect_texture": "lootbeams:glow",
"pulse_glow_min_alpha": 0.6,
"pulse_glow_max_alpha": 0.8,
"pulse_glow_min_radius": 0.75,
"pulse_glow_max_radius": 1
},
"selectors": [ // Applies this rarity to all items cantains "Nether" in name, and excludes "erite" (netherite), "Wart", "Sprouts", "Star" and "Quartz"
"%ether+~%erite+~%Wart+~%Sprouts+~%Star+~%Quartz"
]
},
{
"id": "love",
"name": "Love", // also may be a translation string
"color": "#ff6666",
"config": {
"beam_height": 3,
"beam_alpha": 0.6,
"trails": false,
"render_name_color": false,
"render_rarity_color": true,
"particle_texture": "lootbeams:heart",
"particle_size": 1,
"particle_speed_y": 0.0003,
"particle_count": 20
},
"selectors": [ // Applies this rarity to pink bed
"minecraft:pink_bed"
]
},
{
"id": "---emerald---",
"name": "---emerald---",
"color": "#40ff80",
"config": {
"render_item_rarity": false,
"pulse_glow": false,
"rotate_glow": false,
"glow_effect_texture": "lootbeams:tech_1", // For this effect you need resource pack example (listed below)
"glow_effect_radius": 1,
"glow_effect_alpha": 1
},
"selectors": [ // Applies this rarity to emerald
"minecraft:emerald"
]
}
]
}
Snowy rarity effect:
minecraft:custom_data { // If version < 1.20.5 then "tag:"
custom_rarity_id: "snowy"
}

Fire infused rarity effect:
minecraft:custom_data { // If version < 1.20.5 then "tag:"
custom_rarity_id: "fire_infused"
}

Love rarity effect:
minecraft:custom_data { // If version < 1.20.5 then "tag:"
custom_rarity_id: "love"
}

Smoke rarity effect:
minecraft:custom_data { // If version < 1.20.5 then "tag:"
custom_rarity_id: "smoke"
}

Multiple configs at the same time:

Conversation