跳到正文

Magic Totems

作者:Daripher

Totems endowed with magical powers

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

 

Various totems appear in the world. Each is endowed with different magical properties. Some of them can save your life, others can take it away.

 

Found totems can be activated to receive a potion effect. After that, the totem cannot be used for some time.

Totems can contain any potion effect (configurable).

By default, you can collect totems with a silk touch tool.

 

CHANGING TOTEMS DROPS

To modify loot from totems, you need to make a data pack that will contain your custom loot tables.

 

The mod contains six loot tables, two for each totem (top and bottom block), bottom and top blocks loot tables should be similar.

By default, these loot tables make totems drop itself only when broken with a silk touch tool and copy its effect.

 

There are three example loot tables that can help you understand how to change drops from totems. Note that all three are made for a surface totem block.

 

CONFIG

surface_totems_frequency

 How often surface totems will generate

 Should always be higher than zero

 

nether_totems_frequency

 How often nether totems will generate

 Should always be higher than zero

 

underground_totems_frequency

 How often underground totems will generate

 Should always be higher than zero

 

max_amplifier

 Maximum amplifier of applied potion effect

 Should always be higher or equal to zero

 

min_duration, max_duration

 Should always be higher than zero

 

min_cooldown, max_cooldown

 Should always be higher than zero

 

shuffle

 If set to true, totem effect will be randomized after each use

 

mystery_icon

 If set to true, the effect icon will be replaced with a mystery icon

 

reveal_after_use

 If set to true, mystery effect will reveal after use

 

blacklist

 List of effects that should not be found in totems

 Example: blacklist = [“minecraft:mining_fatigue”,”minecraft:instant_damage”]

 You can also use value <mod_id>:* to blacklist whole mod’s effects

 Example: blacklist = [“survive:*”]

 WARNING: Do not blacklist all the effects in game or the mod will crash

 

whitelist

 List of effects that should be found in totems

 Example: whitelist = [“minecraft:instant_health”,”minecraft:regeneration”]

 You can also use value <mod_id>:* to whitelist whole mod’s effects

 Example: whitelist = [“minecraft:*”]

 

exclude_negative

 If set to true, no harmful effects will be found in totems

 

play_sounds

 Whether to play sounds when using a totem

 

常见问题

Magic Totems 支持哪些 Minecraft 版本?

Magic Totems 支持 Minecraft Java 版 1.18.2–1.19.2,共 4 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Magic Totems 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Daripher 的其他作品

查看全部 →