跳到正文

Inventory Particles

为你的物品栏物品添加精美粒子效果!让你的物品栏更加生动、更有动感! ✨现已支持模组物品!✨

收藏

截图

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

指向 Discord 的链接 Github 链接横幅 [![支持链接横幅 [Boosty]](https://cdn.modrinth.com/data/cached_images/dce91fef079649dee277c52a998fc068e745e99e.png)](https://boosty.to/lopymine/donate)

CurseForge 链接横幅 Modrinth 链接横幅

Inventory Particles — 为物品栏中的物品添加大量全新粒子的视觉模组!借助它,你可以让物品栏变得更加生动活泼、富有动态感!当然,它完全在客户端运行。

游戏内展示

Label

Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase
Showcase

Just decoration here

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

你不需要做任何事情——模组会为你处理一切!

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

家族配置示例
{
	"keywords": [
		"powder",
		"gunpowder",
		"sugar",
		"dust",
		"dye",
		"ash",
		"ashen"
	],
	"tags": [
		"c:dusts"
	],
	"particles": [
		{
			"id": "family/dust/dust",
			"textures": [
				"inventory_particles:dust/dust_0.png",
				"inventory_particles:dust/dust_1.png",
				"inventory_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
}

Just decoration here

Inventory Particles 中的所有粒子都是数据驱动的!这意味着你只需使用资源包和一些基本配置就可以添加更多粒子!

你可以自定义:

  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
	},
	// or
	"size": {
		// https://nicmulvaney.com/easing
		"interpolation": "ease_in_quint",
		"sizes": {
			"0": {
				"width": 16.0,
				"height": 16.0,
				// Overrides "ease_in_quint"
				"interpolation": "linear"
			},
			"50": {
				"width": 32.0,
				"height": 32.0
			},
			"100": {
				"width": 64.0,
				"height": 64.0
			}
		}
	},

	"textures": [
		"inventory-particles:example/texture_0.png",
		"inventory-particles:example/texture_1.png"
	],
	
	"holders": [
		{
			"item": "minecraft:potion",
			"spawn_area": "example_spawn_area.png",
			"spawn_count": [0, 1],
			"spawn_frequency": [5, 20],
			"speed_coefficient": 0.3,

			"color": "#AARRGGBB",
			// or
			"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],
				"cursor_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],
				"cursor_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],
				"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],
				"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]
				}
			}
		}
	}
}

Just decoration here

Showcase

Icon 想支持模组和作者吗?只要把这个模组告诉大家就行了!

没错,你没看错。只要进行宣传,你就能很好地支持这个模组和创作者。知道这个模组的人越多,它获得的下载量就越高;下载量越高,就越能激励作者,并增加他们从网站获得的收入(简直就是免费的捐赠)。请记住,宣传不能太过 intrusive,也不能令人厌烦!

你能做些什么?

  • 制作视频评测或宣传视频
  • 把这个模组介绍给你的朋友
  • 直接下载这个模组(如果你想和它一起玩 :D)

📑 授权许可

查看原始模组仓库。

评论

登录后评论和评分

LopyMine 的其他作品

查看全部 →