Newton's Apples
The Newton's Apples mod introduces dynamic physics elements to Minecraft, simulating the natural falling of apples from various tree foliage. This modification makes gameplay more realistic by periodically creating apples beneath non-persistent leaves such as oak, birch, and others.
Main Features
Natural Fruit Drops
Non-persistent leaves (vanilla or from other mods) have a small chance to create an apple underneath them during random block ticks. Fruits appear as item entities at the position directly below the foliage.
Customizable Parameters
- Drop Probability: Ability to adjust the chance of apple appearance through the
1 / PossibilityNumberparameter (default:1/1500per tick) - Fruit Limit: Setting the maximum number of apples in the world (default:
100). When the limit is reached, all generated apples are automatically removed, and the counter resets
Performance Optimization
The software uses a UUID tracking system to eliminate duplicate or conflicting entities. The cleanup system prevents lags from excessive item objects.
Operation Monitoring
Provides in-game logging (console/client) to track apple creation and cleanup procedures.
Technical Implementation
- Mixin Integration: Implements custom logic in
ServerWorldduring chunk processing - UUID Management: Guarantees unique identifiers for created apples, avoiding conflicts
- Forge Configuration: Supports real-time setting reload (file
/config/newton.toml)
Configuration Settings
Edit the newton-common.toml file for personalization:
[Newton]
# Maximum number of apples before automatic cleanup. Set to 0 to disable.
MaxCount = 100
# Denominator of drop probability (1 / PossibilityNumber). Higher value = more rare.
PossibilityNumber = 1500
Compatibility
- Works with any leaves marked as
minecraft:leaves(supports foliage from other mods) - Requires Forge and Mixin framework
Installation
- Download the modification's JAR file
- Place it in your Minecraft's
modsfolder - Configure parameters as desired
Experience Minecraft with Newtonian physics elements! 🍎🌳