跳到正文

PotionControl

作者:nischhelm

Allows to modify all properties of vanilla & modded potions & potion types, adds additional properties

收藏

截图

介绍

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

Requires FermiumBooter and BetterConfig.

This is for modpack creators.

I initially made this mod because i just wanted to unregister certain potions and potion types, but then it kinda evolved to a full control mod just like Enchantment Control. 

Using the same mixin backbone as Enchantment Control, this mod allows to modify all vanilla and some custom properties of all potions and potion types.

The (on first startup automatically inferred) json files of each potion and potion type allow to modify those properties.

NOTE: json files in _/inferred-inactive_ are inactive. You need to move the desired ones manually to _/active_.

Potions:

Allows to modify:

  • ingame name and description (in names.txt and descriptions.txt)
  • whether it is a good or bad effect
  • the liquid color and the display (hover tooltip) color
  • which items can remove them (curative items)
  • its attribute modifiers
  • its max amplifier and max duration (custom property)
  • whether its instant and/or repeating and its repeating period
  • whether it should prioritise higher duration over higher amplifiers when combining a new with an existing effect of the same type (custom property)
  • whether and on which level (1-4) it is found on the beacon GUI
  • incompatibilities with potions removing or blocking each other
  • can blacklist entities or mobs with a specific tag from getting this potion

Potion Types:

_\= (lists of) specific potion effects with specific amplifiers and durations, brewable_

Allows to modify:

  • which effect(s) at which amplifier+duration are on this potion type (and whether they show particles/are beacon style)
  • which brewing recipes create or use this potion type (this allows to overwrite brewing recipes and create custom ones)
  • duration of the effects on tipped arrows
  • how long this potion type takes to brew 

To modify potions and potion types, create a potionid.json file in the respective and automatically generated “modid” subfolder in _/install/config/potiontypes/active_. Can also copy and edit from _/install/config/potiontypes/inferred-inactive_.

The mod config also allows to unregister certain potions+types and modify the brewing time globally.

Fixes

Theres also some small fixes included:

  • Allows potion levels up to 32k instead of max 128 (above 128 would behave + save weirdly with 255=-1)
  • Display potion levels at any lvl not just 1-3, in vanilla inventory & DS HUDs overlay
  • Fixed error log of potion descriptions thats meant to create potion descriptions lang files printing out the wrong missing lang keys

Logo by Artsy

常见问题

PotionControl 支持哪些 Minecraft 版本?

PotionControl 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

PotionControl 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

nischhelm 的其他作品

查看全部 →