EntityScaleCore
A difficulty scaling mod that changes mob strength based on distance, days, depth, and areas.
介绍
I created this for my custom MOD, SIS.
You can experiment a bit with the API. If you’re building something, please note that the Forge version throws an error due to obfuscation; please download the unobfuscated version here.
Development example: EntityScaleZoningBlock
自作MOD、SISのために作成しました
APIを使い少し遊べます。もし作る際forge版のみ難読化処理でエラーを吐くため難読化処理していないものをコチラからダウンロードしてください。
開発例:EntityScaleZoningBlock
Difficulty Multiplier Calculation
EntityScaleCore calculates the final difficulty multiplier for mobs using the following formula:
Final Multiplier
= (1 + Distance Bonus + Day Bonus + Depth Bonus + Other Modifiers)
× Area Multiplier
Distance Bonus
The difficulty increases based on the distance from the origin.
Distance
= √(ΔX² + ΔY² × Y_WEIGHT + ΔZ²)
Distance Bonus
= max(0, (Distance – Start Distance) / Blocks Per Level)
× Bonus Per Level
Default settings:
Start Distance = 1000 blocks
Blocks Per Level = 100 blocks
Bonus Per Level = +0.1
Maximum Bonus = +10.0
Y_WEIGHT = 0.25
Day Bonus
The difficulty increases as the world progresses.
Days
= Game Time ÷ 24000
Day Bonus
= Days × Bonus Per Day
Default setting:
Bonus Per Day = +0.01
If the maximum bonus is enabled:
Day Bonus
= min(Days × Bonus Per Day, Maximum Bonus)
Depth Bonus
The difficulty increases as the mob is located below the origin.
Depth
= max(0, Origin Y – Current Y)
Depth Bonus
= Depth × Bonus Per Block
Default settings:
Bonus Per Block = +0.01
Maximum Bonus = +2.0
Example
If:
Distance Bonus = 2.0
Day Bonus = 0.5
Depth Bonus = 0.3
Area Multiplier = 1.5
Then:
(1 + 2.0 + 0.5 + 0.3) × 1.5
= 3.8 × 1.5
= 5.7×
The mob’s final difficulty multiplier is 5.7×.Calculation Formula
常见问题
EntityScaleCore 支持哪些 Minecraft 版本?
EntityScaleCore 支持 Minecraft Java 版 1.20–1.20.1,共 2 个版本,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。
EntityScaleCore 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
OMURAISU06 的其他作品
查看全部 →
Survival Instinct Skills
按 K 键打开技能树页面,解锁能够强化玩家的技能。
RandomOres
This is a mod that adds "RandomOres", which allows you to obtain random ores by mining.
PuffishsStatusHUD
Pufferfish Skills displays categories, skill points, and levels on the screen.
AlchemyMOD
A mod that adds an alchemist's bag that allows you to throw potions configured in the potion screen accessed via the V key Vキーでアクセスできるポーション画面で設定したポーションを投げられる「錬金術師の袋」を追加するMOD
评论
登录后评论和评分