promotional bannermobile promotional banner

Felled (Tree Physics/Timber Felling)

Tree physics for multiple of versions of Minecraft (WIP)

Felled

Timber falling with physics.

Minecraft Forge Status Physics

Side Dedicated Servers Natives Dependencies


This mod is currently in Beta; please expect bugs

No known incompatibilities (crashes)


A physics-based treecapitator mod inspired by Tree Physics, but without Sable.

No sublevels, no fake animations. These are real physics bodies.


Everything Felled does

Felling

  • Break a log and the tree works out what is still holding it up. Anything left hanging falls in one piece.
  • Wide trunks (2x2 spruce, dark oak) give way once half their cross-section is cut.
  • Vines, cocoa and snow stick. Not sure if I will keep vines or not.
  • Player-built structures are never felled.

Physics

  • Mass, centre of mass and inertia are computed from every block in the tree.
  • Trees tip over the edge of their stump, crash through other trees' leaves, and roll to rest.
  • A hard enough impact snaps the trunk in two, and the far half flies off on its own.
  • Resting trees go to sleep and cost next to nothing until something disturbs them.
  • Digging out the ground under a fallen trunk drops it again.

Harvesting

  • Behaves the same as normal, but inside a physics space.
  • Strip fallen logs with an axe (modded logs included).
  • Leaves left without a log decay naturally over time.

Collisions

  • Fallen trees are solid: stand on them, walk along them, and climb up a sloping trunk.
  • Steep trunks are walls, so you slide off instead of scaling them.
  • Ride a tree as it falls, rolls or floats, carried with the spot under your feet.
  • Sneaking stops at the edge of a trunk, just like a block.

Water and Weight

  • Logs float. A fallen tree floats and bobs when you jump on it.
  • Your weight presses a floating log down where you stand.

Fire

  • Fire on a tree is real vanilla fire.
  • Fire ages, spreads, goes through logs and burns out just like vanilla.

What interacts?

  • Rain and snow stop on fallen trees, and the ground beneath stays dry and shaded.
  • Arrows, tridents and snowballs hit and interact with them.
  • Explosions shove trees away and blow blocks off them.
  • A log falling on your head hurts. You can die from it.
  • Smooth lighting; shaded like real blocks.

Configuration

Almost everything can be tuned:

Setting Controls
Felling Axe requirement, sneak to chop normally, tree size limits
Physics Gravity, tipping speed, wood densities, snap threshold
Water Buoyancy, current speed, landing push, rider weight
Damage Crush damage, explosions, fire
Client Impact dust amount and colour, fire smoke, leaf culling

Common settings live in config/felled-common.toml.

Client settings live in config/felled-client.toml.


Credits

  • Inspired by Monad-Modding's Tree Physics, used as a design reference from videos I saw. No code was copied.
  • Sounds are CC0 recordings by Department64/AntumDeluge, kheetor, rubberduck and qubodup (OpenGameArt).

Report bugs or join for fun in the Zarra Studios Discord here: Discord


A mod developed by Zarra Studios.

Please report bugs to the Discord or GitHub.

Code will be viewable and is requestable (Custom License).

Discord Links Support

License Version Discord Members

The Felled (Tree Physics/Timber Felling) Team

High Crafter tier frameprofile avatar
  • 100
    Followers
  • 23
    Projects
  • 6.9M
    Downloads

More from RaiiidenView all