跳到正文

Newton’s Apples

作者:_nArUTo_

You awoke in the woods and found yourself surrounded by apples.

收藏

介绍

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

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

  1. 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.
  2. Configurable Mechanics

    • Drop Probability: Adjust the likelihood of an apple drop via 1 / PossibilityNumber (default: 1/1500 per 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.
  3. Optimized Performance

    • Uses UUID tracking to ensure no duplicate or conflicting entities.
    • Cleanup system prevents lag from excessive item entities.
  4. Logging & Debugging

    • Provides in-game logging (console/client) to track apple spawns and cleanups.

Technical Implementation

  • Mixin Integration: Hooks into ServerWorld to 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

  1. Download the mod JAR.
  2. Place it in your Minecraft mods folder.
  3. 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_ 的其他作品

查看全部 →