ItemPhysic 1.7.10 Kotmatross fork
一个 Minecraft Forge 模组,为投掷出的物品添加物理效果。
原始项目
依赖项:
- [1.2.8+]
- [1.2.7-]
与原始版本的变更:
HRudyPlayZ:
-
添加了一些与燃烧物品列表相关的设置。你可以选择哪些物品会在火/岩浆等中燃烧或不燃烧。
- 你也可以反转此设置。
-
添加了一些与浮动物品列表相关的设置。你可以选择哪些物品会在液体中漂浮或不漂浮。
- 你也可以反转此设置。
-
优化了配置文件的样式,为每个选项添加了描述。
-
在模组列表中添加了精美的颜色格式。
My (Kotmatross):
-
修复了一个物品拾取面板无法缩放以适应屏幕大小的 bug
-
从头重写了整个列表系统(burnList 和 floatList)(修复了大量 bug)
-
添加了 OreDictionary 支持(你可以添加大量的物品组,而无需单独添加每一个)
-
添加了物品元数据支持(以提高准确性)
-
添加了 Forge 流体系统支持(用于 floatList)
-
默认支持部分原版物品,以及 Thaumcraft 和 etfuturum
-
添加了对
OreDictionary.WILDCARD_VALUE的补丁
-
-
完全格式化 README 文件
-
修复了浮动物品到达表面时旋转过快的问题
-
修复了物品消失选项无效的问题
-
回溯移植了物品在蛛网中减速的功能
-
添加了禁用 HUD 上方“Power:”文本的配置选项,并使“Power:”可翻译
-
修复了当物品具有 3D 模型时其纹理未被隐藏的问题
-
修复了来自 hbm's ntm 的爆炸/水力危害无效的问题
-
添加了负责物品对仙人掌抗性的配置选项
-
添加了抗爆炸物品列表
-
添加了不可摧毁物品列表
-
添加了耐硫酸物品列表(hbm's ntm)
-
修复了物品在 Thaumcraft 基座上旋转的问题
-
修复了物品在 Mo' Creatures 蚂蚁身体上旋转的问题
-
回溯移植了显示工具提示的选项
-
回溯移植了引燃物品的功能
-
回溯移植了物品掉落的声音
列表文档说明:
参数:
| 参数名称 | 类型 | 默认值 | 示例 |
|---|---|---|---|
modid |
String (abc) | - | minecraft / etfuturum / hbm / Thaumcraft |
itemname |
String (abc) | - | stick / beetroot / item.part_generic / blockCustomOre |
metadata |
Int (123) | 0 | 0 / 4 / 1 / 5 |
ignoremeta |
Boolean (true/false) | false | true / false |
fluid |
String (abc) | fluid.tile.water |
如果是原版(水/岩浆)- fluid.tile.water fluid.tile.lava,否则(如 Thermal Foundation 等)- fluid.redstone 等 |
burnList(燃烧列表):
最小语法:
modid:itemname- 示例:
minecraft:blaze_rod
- 示例:
表示来自 "modid" 的 "itemname" 物品在岩浆中不会燃烧。
最大语法:
- 1)
modid:itemname:metadata- 示例:
minecraft:golden_apple:1//附魔版
- 示例:
或
- 2)
modid:itemname:ignoremeta- 示例:
etfuturum:netherite_sword:true
- 示例:
表示来自 "modid" 的 "itemname" 物品:1)带有特定元数据 "metadata" 2)带有任意元数据的物品在岩浆中不会燃烧。
当设置 B:invertBurnList=true 时,逻辑完全相反:列表中指定的物品将是唯一会燃烧的物品。
(这意味着所有不在此列表中的其他物品都不会燃烧)
floatList(浮动列表):
最小语法:
modid:itemname- 示例:
minecraft:stick
- 示例:
表示来自 "modid" 的 "itemname" 物品会在水中漂浮。
最大语法:
- 1)
modid:itemname:metadata:fluids[]...- 示例:
etfuturum:tipped_arrow:8227:fluid.tile.lava
- 示例:
或
- 2)
modid:itemname:ignoremeta:fluids[]...- 示例:
etfuturum:netherite_sword:true:fluid.tile.lava:fluid.redstone
- 示例:
表示来自 "modid" 的 "itemname" 物品:1)带有特定元数据 "metadata" 2)带有任意元数据的物品会在指定流体 "fluids[]" 中漂浮。
当设置 B:invertFloatList=true 时,逻辑完全相反:列表中指定的物品将是唯一不会在指定流体中漂浮的物品。
(这意味着所有不在此列表中的其他物品都会在所有流体中漂浮)
注意指定流体时:如果是原版水/岩浆,请使用 fluid.tile.water 或 fluid.tile.lava。当指定模组流体时,直接使用 fluid.fluidname(不带 .tile)
ignitingItemsList(引燃物品列表):
最小语法:
modidItem:itemname:modidBlock:blockname:chance- 示例:
minecraft:torch:minecraft:fire:10
- 示例:
表示来自 "modidItem" 的 "itemname" 物品有 "chance" 的概率将其下方的 "modidBlock" 的 "blockname" 方块点燃。
可能难以理解,但其实更简单:
modidItem:itemname - 来自某个模组的物品。我们称之为“A”
modidBlock:blockname - 来自某个模组的方块。我们称之为“B”
chance - 一个介于 1 到 100 之间的数字
因此,如果物品“A”掉落到地面,则有一定概率它可以将所在位置的方块替换为方块“B”(仅当物品“A”位于空气或草方块中时才会发生替换)
最大语法:
- 1)
modidItem:itemname:metadataItem:modidBlock:blockname:metadataBlock:chance- 示例:
minecraft:red_flower:6:minecraft:stained_glass_pane:5:100
- 示例:
或者
- 2)
modidItem:itemname:ignoremetaItem:modidBlock:blockname:ignoremetaItem:chance- 示例:
minecraft:golden_sword:true:minecraft:stained_glass_pane:7:100
- 示例:
其余部分相同,但此处增加了是否忽略元数据(metadata)的指示(默认元数据为 0)。
当设置 B:invertIgnitingItemsList=true 时,逻辑完全相反:此列表中指定的物品将不会引燃方块(其他所有物品将以原版火的方式引燃方块)。
额外语法:
oredict:modidBlock:blockname:chance
对于 explosionList / undestroyableList / sulfuricAcidList,其语法与 burnList 完全相同。
待办事项:
| 待办功能名称 | 优先级 | 状态 |
|---|---|---|
| 修复物品到达表面后无限高速旋转的问题 | 高 | ✅ |
| 修复物品消失选项无效的问题 | 高 | ✅ |
| 修复来自 HBM's NTM 的爆炸/水解危害未生效的问题 | 高 | ✅ |
| 修复具有 3D 模型时物品纹理未被隐藏的问题 | 高 | ✅ |
| 添加抗爆炸物品列表 | 高 | ✅ |
| 添加不可摧毁物品列表(祝你好运移除它们) | 高 | ✅ |
| 添加控制物品对仙人掌抵抗性的配置选项 | 高 | ✅ |
| 添加耐硫酸物品列表(HBM's NTM) | 高 | ✅ |
| 添加禁用 HUD 上方 "Power:" 文本的配置选项 && 使 "Power:" 可翻译 | 中 | ✅ |
| 修复物品在 Thaumcraft 基座上旋转的问题 | 中 | ✅ |
| 修复物品在 Mo' Creatures 蚂蚁身上旋转的问题 | 中 | ✅ |
| 回溯移植引燃物品功能 | 低 | ✅ |
| 回溯移植物品掉落音效 | 低 | ✅ |
| 回溯移植显示提示框选项 | 低 | ✅ |
ItemPhysic 1.7.10 Kotmatross fork
A minecraft forge mod that adds some physic to thrown items.
Original project
Dependencies:
- [1.2.8+]
- [1.2.7-]
Changes from the original version:
HRudyPlayZ:
-
Added some settings related to the burning items list. You can choose which items will or will not burn in fire/lava etc.
- You can also invert this setting.
-
Added some settings related to floating items list. You can choose which items will or will not float in liquids.
- You can also invert this setting.
-
Made the config look better, with descriptions for each option.
-
Added a fancy color format in the mod list.
My (Kotmatross):
-
Fixed a bug where the item pickup panel wouldn't scale to fit the screen size
-
Rewritten the entire list system (burnList and floatList) from scratch (fixes a LOT of bugs)
-
Added OreDictionary support (you can add huge groups of items without adding each one separately)
-
Added item metadata support (for greater accuracy)
-
Added forge fluid system support (for floatList)
-
Added default support for some vanilla items, as well as Thaumcraft and etfuturum
-
Added patch for
OreDictionary.WILDCARD_VALUE
-
-
Fully formatted README
-
Fixed floating items spinning very fast when they reach the surface
-
Fixed item despawn option not working
-
Backported items slowing down in the cobweb
-
Added a config option to disable "Power:" text above HUD && make "Power:" translatable
-
Fixed item textures not being hidden if the item has a 3D model
-
Fixed explosive/hydroactive hazards from hbm's ntm not working
-
Added config option responsible for the resistance of items to cactus
-
Added List of items that are explosion resistant
-
Added List of items that are undestroyable
-
Added List of items that are sulfuric acid-resistant (hbm's ntm)
-
Fixed items spinning on Thaumcraft pedestals
-
Fix items spinning on Mo' Creatures ants body
-
Backported show tooltip option
-
Backported igniting items
-
Backported item fall sounds
Documentation on lists:
parameters:
| Parameter name | Type | Default | Example |
|---|---|---|---|
modid |
String (abc) | - | minecraft / etfuturum / hbm / Thaumcraft |
itemname |
String (abc) | - | stick / beetroot / item.part_generic / blockCustomOre |
metadata |
Int (123) | 0 | 0 / 4 / 1 / 5 |
ignoremeta |
Boolean (true/false) | false | true / false |
fluid |
String (abc) | fluid.tile.water |
if vanilla (water/lava) - fluid.tile.water fluid.tile.lava, else (thermal foundation, etc) - fluid.redstone, etc |
burnList:
Minimum syntax:
modid:itemname- Example:
minecraft:blaze_rod
- Example:
Means that item "itemname" from "modid" will NOT burn in lava
Maximum syntax:
- 1)
modid:itemname:metadata- Example:
minecraft:golden_apple:1//enchanted
- Example:
OR
- 2)
modid:itemname:ignoremeta- Example:
etfuturum:netherite_sword:true
- Example:
Means that item "itemname" from "modid" : 1)with metadata "metadata" 2)with any metadata will NOT burn in lava
With B:invertBurnList=true everything is exactly the opposite: the items specified in this list will be the only ones that WILL burn
(it follows that absolutely all other items not on this list will NOT burn)
floatList:
Minimum syntax:
modid:itemname- Example:
minecraft:stick
- Example:
Means that item "itemname" from "modid" will float in water
Maximum syntax:
- 1)
modid:itemname:metadata:fluids[]...- Example:
etfuturum:tipped_arrow:8227:fluid.tile.lava
- Example:
OR
- 2)
modid:itemname:ignoremeta:fluids[]...- Example:
etfuturum:netherite_sword:true:fluid.tile.lava:fluid.redstone
- Example:
Means that item "itemname" from "modid": 1)with metadata "metadata" 2)with any metadata WILL float in fluids "fluids[]"
With B:invertFloatList=true everything is exactly the opposite: the items specified in this list will be the only ones that will NOT float in the specified fluids.
(it follows that absolutely all other items not on this list WILL float in all fluids)
Note when specifying fluids: if it's vanilla water/lava, use fluid.tile.water or fluid.tile.lava. When specifying mod fluids, just use fluid.fluidname (without .tile)
ignitingItemsList:
Minimum syntax:
modidItem:itemname:modidBlock:blockname:chance- Example:
minecraft:torch:minecraft:fire:10
- Example:
Means item "itemname" from "modidItem" will ignite block underneath it with the block "blockname" from "modidBlock" with a chance of "chance"
May be difficult to understand, but it's much simpler:
modidItem:itemname - an item from some mod. Let's call it "A"
modidBlock:blockname - a block from some mod. Let's call it "B"
chance - a number, from 1 to 100
So, if an item “A” falls to the ground, then with this chance it can replace the block in which it is located with a block “B” (the replacement can only occur if the item “A” is in an air or grass block)
Maximum syntax:
- 1)
modidItem:itemname:metadataItem:modidBlock:blockname:metadataBlock:chance- Example:
minecraft:red_flower:6:minecraft:stained_glass_pane:5:100
- Example:
OR
- 2)
modidItem:itemname:ignoremetaItem:modidBlock:blockname:ignoremetaItem:chance- Example:
minecraft:golden_sword:true:minecraft:stained_glass_pane:7:100
- Example:
everything is the same, but now with indication of metadata/its absence (default metadata is 0)
With B:invertIgnitingItemsList=true everything is exactly the opposite: the items specified in this list will be the only ones that will NOT ignite blocks (all other items will ignite blocks with vanilla fire)
EXTRA syntax:
oredict:modidBlock:blockname:chance
For explosionList / undestroyableList / sulfuricAcidList the syntax is exactly the same as for burnList
TODO:
| Name of TODO feature | Priority | State |
|---|---|---|
| Fix floating items spinning eternally (very fast) when they reach the surface | High | ✅ |
| Fix item despawn option not working | High | ✅ |
| Fix explosive/hydroactive hazards from hbm's ntm not working | High | ✅ |
| Fix item textures not being hidden if the item has a 3D model | High | ✅ |
| Add List of items that are explosion resistant | High | ✅ |
| Add List of items that are undestroyable (good luck getting rid of them) | High | ✅ |
| Add config option responsible for the resistance of items to cactus | High | ✅ |
| Add List of items that are sulfuric acid-resistant (hbm's ntm) | High | ✅ |
| Add a config option to disable "Power:" text above HUD && make "Power:" translatable | Medium | ✅ |
| Fix items spinning on Thaumcraft pedestals | Medium | ✅ |
| Fix items spinning on Mo' Creatures ants body | Medium | ✅ |
| Backport igniting items | Low | ✅ |
| Backport item fall sounds | Low | ✅ |
| Backport show tooltip option | Low | ✅ |
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
下载 ItemPhysic Legacy Unofficial
- 添加了支持 Tinkers Construct 物品在客户端体验物理效果的功能,由 @Gamingb3ast 实现
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧