
Realistic Rigid-Body Sideways Tree Falling Animation
Список изменений
Timbr v1.0.2 Changelog
Realistic Rigid-Body Sideways Tree Falling Animation 🌲💥
✨ New Features & Improvements
-
Enhanced Rigid-Body Rotation Physics
Trees no longer break instantly or collapse into a vertical pile. They now tilt and fall sideways based on the player's facing direction, creating a much more natural and immersive falling animation. -
Custom Proportional Feedback Controller
Added a custom real-time feedback controller that continuously overrides Minecraft's default gravity and entity drag to maintain precise tree alignment while rotating. -
Connected Leaf Canopy Animations
Leaf canopies are now included in the felling animation. An optimized single-pass BFS scanner detects and animates connected leaves falling together with the trunk. -
Immersive Trailing Leaf Particles
Falling leaves now emit matching environmental particles depending on tree type:- Cherry → pink petals
- Crimson → crimson spores
- Warped → warped spores
- Overworld leaves → green spore blossom particles
-
Accurate Item Drop Simulation
Block drops are pre-calculated before the fall animation begins, ensuring:- Fortune works correctly
- Silk Touch is respected
- Axe durability behaves properly
- Drops appear at the final landing location
-
Stability & Anti-Glitch Protection
Temporary FallingBlock entities are marked as non-persistent to prevent ghost blocks or chunk corruption during restarts and unloads.
⚙️ Configuration & Customization
New options added to config.yml:
# Falling tree animation settings.
animation:
# Enable realistic falling tree animation.
enabled: true
# Maximum logs to animate at once.
max-animated-logs: 128
# Maximum leaves to animate at once.
max-animated-leaves: 150
# Horizontal speed multiplier of the falling tree.
fall-speed: 1.0
# Enable trailing particles on falling leaves.
leaf-particles: true
