|
|
粒子发生器 (ParticleGenerator)Github |相关wiki |源站链接支持: fabric , forgeParticleGenerator是一个Minecraft模组,主要为建筑师和地图制作者而创建。它在游戏中增加了粒子发生器方块。
Particle Generator方块非常灵活,并且使用它比使用命令方块更加方便和高效。它允许您从一个方块中生成多个粒子,或者设置生成粒子的位置和速度随机化。
用法
指令
/pgen show - 显示粒子发生器的边缘
/pgen hide - 隐藏粒子发生器的边缘
/pgen locate - 在粒子发生器内添加标记
/pgen info - 显示有关模组的信息
/pgen help - 显示帮助信息
粒子发生器方块状态
position=[center(默认)/top(顶部)/bottom(底部)] - 确定粒子生成的位置
粒子发生器NBT标签
Particles:[{...}] - 复合列表:
id:\"\" - 粒子ID
Motion:[x,y,z] - 粒子速度 [每游戏刻](在大多数情况下)
MotionRand:[x,y,z] - \"Motion\"值的随机化
PositionOffset:[x,y,z] - 粒子位置的偏移
PositionRand:[x,y,z] - 粒子位置的随机化
Interval:int - 粒子之间的间隔 [游戏刻]
Probability:double - 粒子生成的概率
ParticleCount:int - 生成时的粒子数量
ParticleMaxCount:int - 粒子的最大数量
AdditionalTags:{} - 附加标签(如方块ID)
UseAnimateTick:bool - 在动态刻上产生粒子
对于位置和运动,随机值范围是从val-(rand/2)到val+(rand/2)。
对于粒子数量,随机值范围是从ParticleCount到ParticleMaxCount。
默认情况下,UseAnimateTick标签设置为false。意味着粒子将尝试每个游戏刻生成,并且它们的生成速率可以使用Interval和Propability标签来操纵。当设置为true时,粒子将尝试在调用animateTick方法时生成。这将允许您重新创建例如火把和许多其他方块的粒子生成速率,这些方块使用animateTick生成粒子。
如果您想生成需要附加方块或物品ID的粒子(例如方块粒子),请添加标签AdditionalTags:{id:\"some_block_id\"}。
有用的Minecraft BlockItem NBT标签
BlockStateTag:{} - 指定方块状态
BlockEntityTag:{} - 指定方块NBT标签
示例
简单的烟雾粒子发生器
使用/setblock命令:/setblock ~ ~ ~ pgen:particle_generator{Particles:[{id:\"smoke\"}],UseAnimateTick:true}
使用/give命令:/give @p pgen:particle_generator{BlockEntityTag:{Particles:[{id:\"smoke\"}],UseAnimateTick:true}}
类似篝火的粒子发生器
https://raw.githubusercontent.com/mt1006/mc-pgen-mod/_common/screenshots/example2.png]
使用/setblock命令:/setblock ~ ~ ~ pgen:particle_generator[position=bottom]{Particles:[{id:\"campfire_cosy_smoke\",Motion:[0.0,0.07,0.0],PositionRand:[0.67,0.0,0.67],ParticleCount:2,ParticleMaxCount:3,Probability:0.11}]}
使用/give命令:/give @p pgen:particle_generator{BlockStateTag:{position:\"bottom\"},BlockEntityTag:{Particles:[{id:\"campfire_cosy_smoke\",Motion:[0.0,0.07,0.0],PositionRand:[0.67,0.0,0.67],ParticleCount:2,ParticleMaxCount:3,Probability:0.11}]}}
您可以通过使用
截图:
https://i.sodamc.com/modrinth/3X6y7T7cxm.jpg?x-oss-process=style/forge2]https://i.sodamc.com/modrinth/ik7J9Hbc20.jpg?x-oss-process=style/forge2]
来自Modrinth所有游戏版本1.21.61.21.71.21.81.21.51.21.41.21.21.21.31.211.21.11.20.31.20.41.201.20.11.20.51.20.61.20.21.19.41.19.31.19.21.18.21.16.5所有类型fabricneoforgeforge1.1 - Fabric 1.21.6ParticleGenerator-FABRIC-1.21.6-1.1.jar下载1.1-fabric-1.21.6#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1-fabric-1.21.6支持游戏: 1.21.6, 1.21.7, 1.21.8类型:FabricRelease下载次数: 401.1 - NeoForge 1.21.6ParticleGenerator-NEOFORGE-1.21.6-1.1.jar下载1.1-neoforge-1.21.6#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1-neoforge-1.21.6支持游戏: 1.21.6, 1.21.7, 1.21.8类型:NeoForgeRelease下载次数: 101.1 - Fabric 1.21.5ParticleGenerator-FABRIC-1.21.5-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.5类型:FabricRelease下载次数: 711.1 - NeoForge 1.21.5ParticleGenerator-NEOFORGE-1.21.5-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.5类型:NeoForgeRelease下载次数: 221.1 - Fabric 1.21.4ParticleGenerator-FABRIC-1.21.4-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.4类型:FabricRelease下载次数: 811.1 - NeoForge 1.21.4ParticleGenerator-NEOFORGE-1.21.4-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.4类型:NeoForgeRelease下载次数: 461.1 - Fabric 1.21.3ParticleGenerator-FABRIC-1.21.3-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.2, 1.21.3类型:FabricRelease下载次数: 371.1 - NeoForge 1.21.3ParticleGenerator-NEOFORGE-1.21.3-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.2, 1.21.3类型:NeoForgeRelease下载次数: 251.1 - Forge 1.21.3ParticleGenerator-FORGE-1.21.3-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.2, 1.21.3类型:ForgeRelease下载次数: 211.1 - Fabric 1.21.1ParticleGenerator-FABRIC-1.21.1-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21, 1.21.1类型:FabricRelease下载次数: 971.1 - NeoForge 1.21.1ParticleGenerator-NEOFORGE-1.21.1-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21, 1.21.1类型:NeoForgeRelease下载次数: 671.1 - Forge 1.21.1ParticleGenerator-FORGE-1.21.1-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.21.1类型:ForgeRelease下载次数: 331.1 - Fabric 1.20.4ParticleGenerator-FABRIC-1.20.4-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.20.3, 1.20.4类型:FabricRelease下载次数: 501.1 - Forge 1.20.4ParticleGenerator-FORGE-1.20.4-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.20.3, 1.20.4类型:ForgeRelease下载次数: 201.1 - Fabric 1.20.1ParticleGenerator-FABRIC-1.20.1-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.20, 1.20.1类型:FabricRelease下载次数: 2811.1 - Forge 1.20.1ParticleGenerator-FORGE-1.20.1-1.1.jar下载1.1#Release-Particle Generators now have outline after using \"/pgen show\".-Removed locate particle and \"/pgen locate\" command.-Changed Particle Generator block item model.-Description is now more descriptive.展开版本: 1.1支持游戏: 1.20, 1.20.1类型:ForgeRelease下载次数: 1881.0.3 - Fabric 1.21.3ParticleGenerator-FABRIC-1.21.3-1.0.3.jar下载1.0.3#Release-Help message is now translatable.-Version information is no longer sent to logs during startup.展开版本: 1.0.3支持游戏: 1.21.2, 1.21.3类型:FabricRelease下载次数: 451.0.3 - NeoForge 1.21.3ParticleGenerator-NEOFORGE-1.21.3-1.0.3.jar下载1.0.3#Release-Help message is now translatable.-Version information is no longer sent to logs during startup.展开版本: 1.0.3支持游戏: 1.21.2, 1.21.3类型:NeoForgeRelease下载次数: 341.0.2 - NeoForge 1.21ParticleGenerator-NEOFORGE-1.21-1.0.2.jar下载1.0.2#Release-Minor improvements.展开版本: 1.0.2支持游戏: 1.21, 1.21.1类型:NeoForgeRelease下载次数: 651.0.2 - Fabric 1.21ParticleGenerator-FABRIC-1.21-1.0.2.jar下载1.0.2#Release-Minor improvements.展开版本: 1.0.2支持游戏: 1.21, 1.21.1类型:FabricRelease下载次数: 2371.0.2 - Forge 1.21ParticleGenerator-FORGE-1.21-1.0.2.jar下载1.0.2#Release-Minor improvements.展开版本: 1.0.2支持游戏: 1.21, 1.21.1类型:ForgeRelease下载次数: 711.0.2 - Forge 1.20.6ParticleGenerator-FORGE-1.20.6-1.0.2.jar下载1.0.2#Release-Minor improvements.展开版本: 1.0.2支持游戏: 1.20.5, 1.20.6类型:ForgeRelease下载次数: 601.0.2 - Fabric 1.20.6ParticleGenerator-FABRIC-1.20.6-1.0.2.jar下载1.0.2#Release-Minor improvements.展开版本: 1.0.2支持游戏: 1.20.5, 1.20.6类型:FabricRelease下载次数: 811.0.1 - Fabric 1.20.4ParticleGenerator-FABRIC-1.20.4-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.20.3, 1.20.4类型:FabricRelease下载次数: 1511.0.1 - Forge 1.20.4ParticleGenerator-FORGE-1.20.4-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.20.3, 1.20.4类型:ForgeRelease下载次数: 671.0.1 - Fabric 1.20.2ParticleGenerator-FABRIC-1.20.2-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.20.2类型:FabricRelease下载次数: 1061.0.1 - Forge 1.20.2ParticleGenerator-FORGE-1.20.2-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.20.2类型:ForgeRelease下载次数: 801.0.1 - Fabric 1.20.1ParticleGenerator-FABRIC-1.20.1-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.20, 1.20.1类型:FabricRelease下载次数: 4121.0.1 - Forge 1.20.1ParticleGenerator-FORGE-1.20.1-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.20, 1.20.1类型:ForgeRelease下载次数: 2341.0.1 - Fabric 1.19.4ParticleGenerator-FABRIC-1.19.4-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.19.4类型:FabricRelease下载次数: 1001.0.1 - Forge 1.19.4ParticleGenerator-FORGE-1.19.4-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.19.4类型:ForgeRelease下载次数: 901.0.1 - Fabric 1.19.3ParticleGenerator-FABRIC-1.19.3-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.19.3类型:FabricRelease下载次数: 751.0.1 - Forge 1.19.3ParticleGenerator-FORGE-1.19.3-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.19.3类型:ForgeRelease下载次数: 721.0.1 - Fabric 1.19.2ParticleGenerator-FABRIC-1.19.2-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.19.2类型:FabricRelease下载次数: 1121.0.1 - Forge 1.19.2ParticleGenerator-FORGE-1.19.2-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.19.2类型:ForgeRelease下载次数: 1231.0.1 - Fabric 1.18.2ParticleGenerator-FABRIC-1.18.2-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.18.2类型:FabricRelease下载次数: 1011.0.1 - Forge 1.18.2ParticleGenerator-FORGE-1.18.2-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.18.2类型:ForgeRelease下载次数: 951.0.1 - Fabric 1.16.5ParticleGenerator-FABRIC-1.16.5-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.16.5类型:FabricRelease下载次数: 1511.0.1 - Forge 1.16.5ParticleGenerator-FORGE-1.16.5-1.0.1.jar下载1.0.1#Release展开版本: 1.0.1支持游戏: 1.16.5类型:ForgeRelease下载次数: 113全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
粒子发生器 |
楼主
2025-8-10 18:48:56
回复(0)
收起回复
|