物品粒子

物品粒子

为你的世界物品添加精美粒子效果!支持掉落物与手持物品!

Discord 服务器链接 GitHub 链接横幅 Boosty 赞助链接横幅

CurseForge 链接横幅 Modrinth 链接横幅

“描述”标题

Item Particles —— 一款视觉模组,为你的世界中的物品添加了大量新粒子!使用此模组后,它们将看起来更具互动性和动态感!完全客户端模组。

此模组基于我的另一个模组:Inventory Particles。

所以,如果你已经熟悉它,那么你将会看到相同的粒子,只不过这次是在世界里!

1) 第三人称视角

第三人称视角

2) 第一人称视角

第一人称视角

3) 掉落物品

掉落物品

4-5) 物品展示架与物品展示框中的物品

物品展示架与物品展示框

🤔 “粒子似乎太多了”

如果觉得粒子太多,你可以轻松地在配置菜单中调整它们的数量和冷却时间,以完美契合你的游戏体验!

相关图片

装饰图片

“兼容性”标题

你可能想知道这个模组如何处理来自其他模组的物品?从 v2.0.0 版本开始,该模组拥有其自己的生成“家族”粒子的系统!

你无需做任何事——模组会为你处理好一切!

简而言之: 模组包含定义物品“类别”和“变种”的配置文件。它会分析物品,并根据这些配置分配粒子,可能还会重新着色,并为物品本身设置独特的生成区域。

家族配置示例

{
    "keywords": [
        "powder",
        "gunpowder",
        "sugar",
        "dust",
        "dye",
        "ash",
        "ashen"
    ],
    "tags": [
        "c:dusts"
    ],
    "particles": [
        {
            "id": "family/dust/dust",
            "textures": [
                "item_particles:dust/dust_0.png",
                "item_particles:dust/dust_1.png",
                "item_particles:dust/dust_2.png"
            ],
            "texture_generation_mode": {
                "luminance": true,
                "saturation": true,
                "frequency": true
            },
            "spawn_count": [0, 2],
            "spawn_frequency": [10, 20],
            "speed_coefficient": 0.25,
            "nbt_conditions_match": "any",
            "nbt_conditions": []
        }
    ],
    "family_groups": [],
    "compatible": false,
    "priority": 1500
}

装饰图片

“可配置”标题

所有粒子都是数据驱动的!这意味着你可以仅通过使用资源包和一些基础配置来添加更多粒子!

你可以自定义:

  1. 物理效果(加速度、制动、冲量等)
  2. 旋转(实际和视觉)
  3. 尺寸(+ 动画)
  4. 颜色(+ 动画)
  5. 纹理(+ 动画)
  6. 宿主(生成粒子的物品)
  7. 生成区域(仅需额外纹理)
  8. 存活时间(刻)
  9. 以及其他小细节 ^^

查看官方 Wiki 以了解其工作原理!

配置示例

{
    "life_time": 100,
    "animation_type": "stretch",
    "animation_speed": 1.0,

    "size": {
        "width": 8.0,
        "height": 8.0
    },
    // 或者
    "size": {
        // <https://nicmulvaney.com/easing>
        "interpolation": "ease_in_quint",
        "sizes": {
            "0": {
                "width": 16.0,
                "height": 16.0,
                // 覆盖 "ease_in_quint"
                "interpolation": "linear"
            },
            "50": {
                "width": 32.0,
                "height": 32.0
            },
            "100": {
                "width": 64.0,
                "height": 64.0
            }
        }
    },

    "textures": [
        "item_particles:example/texture_0.png",
        "item_particles:example/texture_1.png"
    ],

    "holders": [
        {
            "item": "minecraft:potion",

            "spawn_area": "example_spawn_area.png",
            // 或者
            "spawn_area": "#full",
            // 或者
            "spawn_area": {
                "minecraft:block/grass_block_side": "particles_area_on_side.png",
                "minecraft:block/grass_block_top": "particles_area_on_top.png"
            },
            // 或者
            "spawn_area": {
                "minecraft:block/grass_block_side": "#full",
                "minecraft:block/grass_block_top": "particles_area_on_top.png"
            },

            "spawn_count": [0, 1],
            "spawn_frequency": [5, 20],
            "speed_coefficient": 0.3,

            "color": "#AARRGGBB",
            // 或者
            "color": {
                // mixed, random, random_static, gradient, gradient_random_static, gradient_loop, gradient_bounce
                "mode": "gradient",
                "values": ["#FF8CC091", "#003700", "nbt", "nbt_list"],
                "speed": 5.0
            },

            "nbt_conditions_match": "none",
            "nbt_conditions": [
                {
                    "this_name": "components",
                    "this_type": "object",
                    "next_match": "any",
                    "next": {
                        "this_name": "minecraft:potion_contents",
                        "this_type": "object",
                        "next_match": "any",
                        "next": [
                            {
                                "this_name": "potion",
                                "this_type": "string",
                                "check_value": "minecraft:water"
                            }
                        ]
                    }
                }
            ]
        }
    ],

    "physics": {
        "base": {
            "x_speed": {
                "impulse": [0.0, 0.0],
                "impulse_bidirectional": false,
                "acceleration": 0.0,
                "acceleration_bidirectional": false,
                "max_acceleration": [-100.0, 100.0],
                "braking": 0.0,
                "turbulence": [0.0, 0.0],
                "impulse_inherit_coefficient": 1.0
            },
            "y_speed": {
                "impulse": [0.0, 0.0],
                "impulse_bidirectional": false,
                "acceleration": 0.0,
                "acceleration_bidirectional": false,
                "max_acceleration": [-100.0, 100.0],
                "braking": 0.0,
                "turbulence": [0.0, 0.0],
                "impulse_inherit_coefficient": 1.0
            },
            "angle_speed": {
                "impulse": [1.0, 1.5],
                "impulse_bidirectional": false,
                "acceleration": 0.0,
                "acceleration_bidirectional": false,
                "max_acceleration": [-100.0, 100.0],
                "braking": 0.0,
                "turbulence": [0.0, 0.0]
            }
        },
        "rotation": {
            "particle": {
                "spawn_angle": [0.0, 360.0],
                "spawn_azimuth": [0.0, 360.0],
                "rotate_in_movement_direction": false,
                "speed": {
                    "impulse": [0.0, 0.0],
                    "impulse_bidirectional": false,
                    "acceleration": 0.0,
                    "acceleration_bidirectional": false,
                    "max_acceleration": 0.0,
                    "braking": 0.0,
                    "turbulence": [0.0, 0.0]
                }
            },
            "texture": {
                "spawn_angle": [0.0, 0.0],
                "spawn_azimuth": [0.0, 360.0],
                "rotate_in_movement_direction": false,
                "speed": {
                    "impulse": [0.0, 0.0],
                    "impulse_bidirectional": true,
                    "acceleration": 0.0,
                    "acceleration_bidirectional": false,
                    "max_acceleration": 0.0,
                    "braking": 0.0,
                    "turbulence": [0.0, 0.0]
                }
            }
        }
    }
}

装饰图片

展示

图标 想要支持模组和作者?只需将这款模组分享给所有人!

是的,你没看错。仅仅通过宣传,你就能很好地支持模组和作者。知道这款模组的人越多,下载量就越高,更多的下载量会给作者带来良好的动力,并增加网站收入(实际上相当于免费捐赠)。请记住,宣传不可带有侵扰性且令人讨厌!

你可以做什么?

  • 制作视频评测/广告
  • 将这款模组推荐给你的朋友
  • 直接下载这款模组(如果你想玩的话 :D)

📑 许可协议

查看原始模组仓库。