介绍
Newton Mod for Minecraft
Version: 1.16.5+ (Forge)
Mod ID: newton
Overview
The Newton Mod introduces a dynamic physics-inspired mechanic to Minecraft, simulating the natural falling of apples from non-persistent leaves (e.g., oak, birch, etc.). This mod enhances immersion by allowing apples to occasionally drop beneath leaves, mimicking real-world gravity. However, to prevent excessive item accumulation, the mod includes configurable limits and auto-cleanup mechanics.
Key Features
-
Natural Apple Drops
- Non-persistent leaves (vanilla or modded) have a small chance to drop an apple below them during random block ticks.
- Apples spawn as item entities at the block position directly beneath the leaves.
-
Configurable Mechanics
- Drop Probability: Adjust the likelihood of an apple drop via
1 / PossibilityNumber(default:1/1500per tick). - Max Apple Limit: Set a maximum number of apples allowed in the world (default:
100). Once reached, all generated apples are automatically cleared, and the counter resets.
- Drop Probability: Adjust the likelihood of an apple drop via
-
Optimized Performance
- Uses UUID tracking to ensure no duplicate or conflicting entities.
- Cleanup system prevents lag from excessive item entities.
-
Logging & Debugging
- Provides in-game logging (console/client) to track apple spawns and cleanups.
Technical Implementation
- Mixin Integration: Hooks into
ServerWorldto inject custom logic during chunk ticks. - Dynamic UUID Management: Ensures unique entity IDs for spawned apples to avoid conflicts.
- Forge Config: Supports live-reloading of config values (
/config/newton.toml).
Configuration Options
Edit newton-common.toml to customize:
[Newton]
# Maximum apples allowed before auto-cleanup. Set to 0 to disable.
MaxCount = 100
# Drop chance denominator (1 / PossibilityNumber). Higher = rarer.
PossibilityNumber = 1500
Compatibility
- Works with any leaves tagged as
minecraft:leaves(supports modded leaves). - Requires Forge and Mixin framework.
Installation
- Download the mod JAR.
- Place it in your Minecraft
modsfolder. - Adjust configs as desired.
Experience Minecraft with a touch of Newtonian physics! 🍎🌳
常见问题
Newton’s Apples 支持哪些 Minecraft 版本?
Newton’s Apples 支持 Minecraft Java 版 1.16.5–1.21.5,共 5 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Newton’s Apples 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
_nArUTo_ 的其他作品
查看全部 →Redirector [Modern]
重定向代码中 Enum#values() 的内存分配,提升游戏性能。
Dimensional Sync Fixes
修复玩家切换维度时药水/经验同步问题。
Sparse Structures Reforged
让所有结构分布得更分散(本质上就是让它们更稀有),使探索更具挑战性、减少重复感。
DespawnTweaker
更好的 Let Me Despawn 优化 | 不允许刷怪笼生成的生物消失
评论
登录后评论和评分