Huge update
- Completely revamped settings
- Added the ability to set custom particle textures.
- Added the ability to set custom beam/particle display settings for each item via NBT
- Expanded support for custom item rarities. Now rarities can be defined through a resource pack in the file
assets/lootbeams/custom_rarities.json
- For custom rarities through JSON, beam/particle display settings can be specified
- These rarities can be applied to an item by assigning it the NBT
custom_rarity_id
(String) - If both
custom_rarity_id
andcustom_rarity
are set,custom_rarity
will take priority
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
}
},
{
"id": "fire_infused",
"name": "Fire infused", // also may be a translation string
"color": "#ff4400",
"config": {
"glow_effect_radius": 1,
"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
}
},
{
"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
}
}
]
}
Snowy rarity effect:
minecraft:custom_data {
custom_rarity_id: "snowy"
}
Fire infused rarity effect:
minecraft:custom_data {
custom_rarity_id: "fire_infused"
}
Love rarity effect:
minecraft:custom_data {
custom_rarity_id: "love"
}
Smoke rarity effect:
minecraft:custom_data {
custom_rarity_id: "smoke"
}
Multiple configs at the same time: