IOUCreative
你是否有时只想建造,却不想拥有一个拥有无限资源的世界?
你是否厌倦了总是需要制作一个创造模式的副本世界,
然后在生存模式中一块一块地重新建造相同的东西?
如果你可以在创造模式下随意建造你想要的东西,
然后在生存模式中慢慢偿还这些方块的费用呢?
请注意: 这个模组只是一个这种“混合”游戏模式的概念验证,
如果它确实好玩,我希望它能激发有人在将来制作出更好的版本。
它是做什么的?
主要有两个功能:
- 创造模式与生存模式的独立物品栏
- 记录你在创造模式中放置/破坏的所有方块数量
独立的物品栏
如果你曾经在切换到创造模式时不小心清空了自己辛苦获得的装备,
那么这个功能就是为你准备的!
每当加载该模组并切换游戏模式时,它会自动保存和恢复你的物品
以及装备,分别对应创造模式和生存模式。把它想象成有一个标有“CREATIVE(创造)”的箱子用于存放你的创造模式物品,还有一个标有“SURVIVAL(生存)”的箱子用于存放非创造模式物品。
追踪创造模式下的建筑
当你在创造模式中时,模组会追踪你破坏和放置的所有方块,
以计算你欠下每种物品的数量。
提示: 如果你在创造模式中快速建造一些东西来测试效果,然后又全部拆除,
那么你应该(希望如此)不会比开始时增加额外的债务。
如何使用
此模组完全在服务器端运行,因此如果你玩单人游戏,
或者你是 LAN 游戏的房主,你只需要将其安装到客户端即可。
-
一旦模组安装完成,你的物品栏(和装备)将针对两种游戏模式分别存储。
(旁观者模式和冒险模式在技术上也是使用“SURVIVAL(生存)”物品栏。)
-
然后你可以随时切换到创造模式并开始建造,当你切换回
其他游戏模式时,你会看到你欠下的物品列表已更新。
你可以随时使用 /iouc list 命令查看此列表。
-
在生存模式中,使用 /iouc pay <owed_item> [<quantity>] 命令来偿还债务,前提是你背包中要有相应的物品。如果不输入具体数量,默认每次扣除一组(stack),
你也可以使用 "all" 让系统自动扣除你背包中的所有相关物品。
提示: 你可以点击列表中的物品,系统会自动为该物品填充支付命令。
从 v0.0.2 版本开始,你还可以使用 /iouc pay-all 命令代替。
其他细节
模组将所有自定义数据存储在过世界维度(Overworld)的数据文件夹中(位于
dimensions/minecraft/overworld/data/ioucreative)。它不会直接修改任何原版物品栏数据,
因此,在不损坏存档风险的情况下卸载该模组是完全安全的,但一如既往
在安装之前请备份你的世界。
一些问题与待解决的疑问
- 多格方块(床、门、大型植物等)仅在破坏其“下半部分”时被计入。
- 实体和其他特殊物品(船、物品展示框等)未被追踪
- 掉落物以及放入容器中的物品未被追踪
- 对于生存模式中无法获取的方块该怎么办?
- 玩家是否应该能够“提取”负数债务的物品?
- 是否应该有一种系统来追踪团队/社区项目?
- 还有更多……
欢迎分享你自己的想法 ;)
IOUCreative
Do you sometimes just want to build, but don't want a world with unlimited resources?
Are you tired of always having to make a creative copy of your world,
then building the same thing again block by block in survival?
What if you could just build what you want in creative,
then pay off the blocks for it later in survival?
Please note: This mod is a small proof of concept for this "hybrid" game mode,
If it turns out to be fun, I hope it can inspire someone to make a better version at some point.
What does it do?
There are two main features:
- Separate inventories for creative & survival
- Keep a tally of all the blocks you place / break in creative
Separate Inventories
If you ever accidentally cleared your hard-earned gear while popping into creative mode,
this feature is for you!
Whenever you switch game modes while the mod is loaded, it will store and restore your items
and equipment for creative and survival mode automatically. Think of it as having a chest
labeled "CREATIVE" for your creative inventory and one labeled "SURVIVAL" for your non-creative inventory.
Keeping track of creative builds
While you are in creative, the mod will track all the blocks you break and place
to keep count of how many of each item you owe.
Tip: If you quickly build something in creative to see if it works, then break it all again,
you should (hopefully) end up with no additional debt compared to what you started with.
How to use
This mod is fully server-side, so you only need to install it to your client if you are playing singleplayer,
or you are the one hosting a game on LAN.
-
Once the mod is installed, your inventory (and equipment) will be stored separately for both game modes.
(Spectator & adventure mode technically use the "SURVIVAL" inventory too.)
-
You can then also switch to creative mode at any time and just start building, once you switch back
to another game mode, you will see the updated list of items you owe.
You may check this list at any time using the /iouc list command.
-
In survival, use the /iouc pay <owed_item> [<quantity>] command to pay off your debt while having the
item in your inventory. If you do not enter a specific quantity, it defaults to a stack at a time,
you may also use "all" to let it grab all the items in your inventory.
Tip: You can click on an item in the list to automatically fill in the payout command for that item.
Since v0.0.2 you can also use the /iouc pay-all command instead.
Additional details
The mod stores all of its custom data within the overworld dimension's data folder (under
dimensions/minecraft/overworld/data/ioucreative). It does not directly modify any vanilla inventory data,
as such, it should be completely safe to remove the mod without the risk of corruption, but as always
please back up your worlds before installing it.
Some problems & open questions
- Multi-block items (beds, doors, large plants) are only counted when the "lower" half is broken.
- Entities and other special items (boats, item-frames, etc.) are not tracked
- Dropped items and items placed in inventories are not tracked
- What to do about blocks unobtainable in survival?
- Should players be able to "withdraw" negative debt items?
- How do you avoid it becoming a free storage system?
- Should there be some sort of system for tracking group / community projects?
- And many more...
Feel free to share your own ideas ;)
评论 0
登录后参与评分
还没有评论,来抢沙发吧