概览
注意:新增的两个方块目前还没有制作配方!
本模组为 Minecraft 添加了两个新内容:
- 碎物机(Shredder):一个允许玩家将物品粉碎以从中获取资源点数的方块。物品的资源点数基于其价值确定,而该价值由其在配方中被使用或合成的用途决定(熟悉 Project E 的玩家会知道,运作方式完全相同)。
- 商店(Shop):用于购买此前被粉碎的物品,需支付比粉碎该物品所得点数多出的配置金额(默认为粉碎所得点数的两倍)。
依赖项
本模组需要 Create 模组才能正常运行
可选安装 KubeJS 以便通过脚本修改点数值(详见下文)
注意事项
- 你只能购买那些曾被粉碎过的物品(与 Project E 的区别)
- 碎物机需要旋转动力才能运行
- 特定物品的资源点数可配置(详见下文)
- 本模组将在一段时间内仅支持 Forge
- 只有放置碎物机的玩家才能获得物品粉碎后的点数,即使其他玩家使用该机器
- 如果玩家离线,碎物机仍可粉碎物品,但所有者不会因此获得点数
自定义点数值
使用物品 ID 和标签(带 "#" 前缀)均可生效,尽管在使用标签时有时会出现一些问题。
你可以自定义设置的数值也用于重新计算所有未指定的数值,因此你无需手动调整它们。例如,当你更改木棍的价值时,不需要将所有包含木棍的合成配方都调整为匹配你的新木棍价值。
KubeJS
若要更改单个物品的点数值,请在 server_scripts 文件夹中的文件中添加以下内容,并将 item_id 和 value 替换为你想要的内容:
ATEvents.mapping(event => {
event.setRP("item_id", value)
});
custom_rp.json
在配置文件文件夹 AmazingTrading 中你会找到此文件。
要更改物品数值,请添加以下内容:
{
"entries": [
{
"item": "item_id",
"rp": value
},
{
"item": "item_id2",
"rp": value2
}
]
}
鸣谢
Overview
NOTE: Both added Blocks don't have recipes yet!
This mod adds two new things into Minecraft:
- The Shredder is a block which allows the player to crush items down to gain resource points from them. Resource points of an item are based on its value which is determined from the recipes it is used in or created of (For players who know Project E, thats exactly how it works)
- The Shop is used to buy the before shredded items for a configurable amount more points you got when shredding the item. (default is twice the amount)
Dependencies
This mod needs the Create mod to function
Optionally you can install KubeJS to modify point values from a script (see below)
Notes
- You can only buy the items which were shredded (difference to Project E)
- The Shredder needs rotational power to function
- Resource point values of specific items can be configured (see below)
- This mod will stay Forge only for a while
- Only the player who placed the shredder will receive the points for items, even if other players use it
- If a player is offline the shredder still can shred items but the owner doesn't get points for it
Custom point values
Using item ids and tags ( with the "#" prefix) should both work, although there seem to be some problems sometimes when using tags.
The values you can customly set are also used to recalculate all non-specified values, so you don't have to change them youself. E.g. when changing the value of a stick you don't have to change all things that include a stick to match your new value for sticks.
KubeJS
to change point values of singular items add the following to a file in the
server_scripts folder and replace use the item_id and value you want:
ATEvents.mapping(event => {
event.setRP("item_id", value)
});
custom_rp.json
In the config folder AmazingTrading you find this file.
To change item values you add the following:
{
"entries": [
{
"item": "item_id",
"rp": value
},
{
"item": "item_id2",
"rp": value2
}
]
}
Credits
- Lavundel: Shop model, texture and mod logo
- GREEN_POLSKA: gui inspiration
- Project E: resource point calculation code
- Simple Storage Network: shop gui code
- Create Live 5: kickstarting this project
评论 0
登录后参与评分
还没有评论,来抢沙发吧