项目目标
在尊重 Minecraft 图形风格化的同时,创建更具动态感、美观性、趣味性和自然感的树木,并坚持严格的项目范围以保持简洁。
我们的核心价值观是:
- 与 Minecraft 的美学无缝融合
- 保持项目范围精简
- 最小化性能影响
- 以模组兼容性为核心
也请尝试 Dynamic Trees Plus!
功能
生长的树是由根部土壤、树枝和树叶方块组成的多方块结构,相比原版 Minecraft 的树木结构具有许多先进特性。树的形成始于种子。这些种子可以像原版树苗一样手动种植,或者如果放置在合适地点的地面上,有几率自动种植。随后,树木会从树苗开始生长,随着时间的推移逐渐增大,最终长成完整大小的树。之后可以在树干底部砍倒整棵树,一次性收集所有木材。
树木
- 随时间从种子逐渐成长为成熟树木。
- 以接近现实世界树木的方式自然生长,倾向于以独特且可信的方式生长。
- 以自然方式绕过障碍物生长。
- 不仅仅是重贴图,而是根据物种使用不同的算法进行生长。
- 生长速度和成熟大小取决于生物群系、温度和降雨量。
- 随机掉落种子,这些种子有可能自行种植。
- 不会在黑暗中生长。未连接到外部树枝或光照不足的叶子会枯萎死亡。没有叶子的外部枝条会逐渐腐烂。
- 会在黑暗处死亡并腐烂(某些物种腐烂时会产生蘑菇)。
- 在树叶方块上行走缓慢且下陷。落在树叶上可防止坠落伤害并破坏树叶。
- 原版水果(苹果和可可豆)拥有独立的自定义物种以区分它们。(苹果是橡树的变种,可可是丛林树的变种)
- 细枝可以像梯子一样攀爬。
- 树木在被砍伐、撞击地面、落入水中或修剪时拥有自定义音效。
- 树木撞击地面时树叶会有粒子效果。
根部土壤
- 为树木提供养分,并可能随时间耗尽
- 施加骨粉会增加土壤肥力,使树木能够超越其成熟状态继续生长
- 施加各种酿造药水可产生不同效果(见下一节)
- 当活性物质施用于土壤或最底部的树干方块时,整棵树上会产生特效粒子
- 比较器可用于检测土壤肥力等级
药水
- 生物炭基液:用于酿造的基础树木药水
- 枯竭药水:完全耗尽土壤肥力,使树木停止生长
- 萌芽药水:完全施肥树木,然后加速生长直到肥力耗尽
- 转化药水:将现有的 Dynamic Trees 树木转变为另一种树种
- 巨大型药水:将树木转化为其巨型变种(如果有)。默认适用于云杉和丛林树。
种子
- 取代原版树苗
- 随机从树木中掉落(可配置)
- 如果落在森林中的泥土/草方块/灰化土方块上,且上方视野开阔能看到天空,则可以自行种植(可配置)
兼容性
- 原版树木正常运行。
- 可以禁用世界生成,以允许原版树木继续生成。
- 生长树木的所有掉落物均为原版树叶、木棍和原木。生存模式下无法获得树枝。剪刀仅能获取原版树叶。
- 使用原版纹理作为木材和树叶,因此对资源包友好。
- 可以使用泥土桶将原版树苗制作成种子,反之亦然。
- 火的蔓延和燃烧速度与原版树木火灾相同。
季节系统
Dynamic Trees 为其树木完全实现了一套季节系统,默认情况下与 Serene Seasons 兼容。树木会根据气候响应并相应地减缓或停止生长。水果也有特定的收获季节和开花季节。 有关水果及其偏好季节的完整列表,请访问 wiki。
至少需要一个季节模组才能激活此系统。
如果附加模组默认不兼容,也可以集成季节系统。
森林
- 随着树木掉落种子,森林边界不断扩展。
- 当树木彼此靠近放置时,它们会争夺阳光,长得比开阔地的树木更高更细。这产生了森林树冠效应。
- 树冠阻挡天光,产生黑暗的森林环境,使得怪物能在白天生成,且树苗难以茁壮成长。
- 在某些树种的黑暗森林树冠下的泥土或草方块会形成灰化土。灰化土旨在模拟森林落叶层的外观。
采伐
- 在树干底部砍伐可以放倒整棵树
- 较粗的树枝需要更长的时间来采集
- 可以从树上完整移除树枝,而不会破坏树的主干
- 采集结果会掉落原版原木和木棍,数量根据树或树枝的木材总体积计算得出
- 斧头上的效率附魔确实有用,可以增加原木产量
- 工具会根据采集的原木数量受损(可配置)
- 如果外层树枝未受损坏,树叶在被破坏后会重新生长
- 树木在采伐时会倒下(可配置)
林地权杖
林地权杖是一件多功能工具,旨在用于创造模式(无法合成)。在最基本的使用方式中,它可以用来复制一棵树。使用权杖右键点击任意动态树以提取其 JoCode。接着,右键点击合适的土壤即可重建相同的树。树木也会根据玩家的方向进行旋转。如果玩家在潜行状态下使用权杖右键点击树木,则仅复制树种,JoCode 保持不变。
通过这种方式,例如你可以创建一棵外形像高大丛林树的金合欢树。
林地权杖的另一个功能是,从树上提取的任何 JoCode 也会作为文本复制到系统剪贴板中。这使得玩家可以轻松与他人分享树木模型。
Dynamic Trees Plus
Dynamic Trees Plus 是专为 1.16.5 及以上版本开发的 Dynamic Trees 模组的扩展内容,旨在为其他不适合本模组范围的植被添加动态版本,例如仙人掌和巨型蘑菇。
Tree Packs
Tree Packs 是一种类似数据包的 JSON 系统,已集成到 Dynamic Trees 中,允许对动态树木和世界进行全面自定义。它们是任何附加组件的核心,也是用户和整合包制作者的强大工具。
Tree Packs 能做什么?
- 修改任何树木的属性,如生长速度、大小、树叶方块、叶片类型、生长形状、树干粗细、掉落物等!
- 使用任意方块作为基础创建全新的树木。
- 创建自定义果实和豆荚。
- 为任何树木添加自定义特性,例如藤蔓开花叶子。
- 易于学习和使用,即使是没有编程知识的人也能上手。
有关 Tree Packs 的更多信息和使用指南,请访问 或加入我们的 Discord。
模组兼容性
Add-Ons
Add-ons 是使用 Dynamic Trees API 以更模块化和易维护的方式包含模组树木的模组。这防止了仅包含原版 Minecraft 树木的基础 Dynamic Trees 模组变得臃肿。以下是由 DynamicTreesTeam 和其他模组开发者开发的 Add-on 当前列表。请参阅它们各自的项目页面以了解这些模组能够提供哪些树木。
- 有关 Add-on 的综合列表,请访问
兼容模组
功能与 Dynamic Trees 混合良好、具有显著兼容性或已明确提供的模组。不在此列表中的模组并非一定不兼容。
- Create: 伐木机可与动态树木配合工作
- Distant Horizons: 树木在 LOD 区块中按预期渲染。
- Better Foliage: 树叶方块将按预期增强(不与树干圆角化功能配合使用)
- Better Beginnings: 无法徒手砍树,工具按预期工作。
- Passable Leaves / Passable Foliage: 安装此模组后,Dynamic Tree 的树叶变为可穿透。
- No Tree Punching: 树木成功变得不可徒手挖掘,祝你好运!
如前所述,实现季节的模组将与 Dynamic Trees 的季节系统兼容。
- Serene Seasons
- Better Weather: 自 1.16+ 版本的 0.10.0 Beta 23 起
不兼容模组
- Applied Energistics 2: 陨石生成会破坏动态生成的树木。
- Tree Chopper: 已知会导致崩溃或使树木无掉落物。
- Liquid Luck: 已知安装此模组时,Dynamic Trees 不会掉落原木和木棍。
- Cave Biomes API: 对区块生成的更改导致树木生成不正确
项目范围
项目范围
范围内功能示例
- 仅限树木。
- 提供原版树木的高级生长版本
- 零配置或最小化配置。应能在使用合理设置或默认值的情况下开箱即用
- 为其他模组开发者提供接口,以便通过插件、新树种、效果、生物等扩展此模组。如果你需要挂钩机制,请告诉我 :)
- 对季节变化的响应
- 在适当情况下实现与其他流行模组的兼容性
- 风格不应偏离 Minecraft 的美学。方块模型的所有部分应由长方体组成,且每个面都对齐到 1/16 米(标准的 Minecraft 纹理像素)
范围外功能示例
- 未在原版 Minecraft 中实现的树种(如 Forestry、Pam's Harvestcraft、Natura、Biomes O' Plenty 中的那些)。如需兼容这些模组,请参阅“附加组件”部分。
- 生物实体、生物和/或粒子效果(如动物、松鼠、猴子、萤火虫等)
- 果实(除了原版 Minecraft 的树果产物:苹果、可可豆)
- 地牢战利品(对此模组而言毫无意义)
- 树木村庄、村民和/或交易站
- 秋千或其他通常挂在树上的装置
- 魔法、能量系统、经验掉落、附魔
- 工具和/或装备(生存模式下可能允许使用管理员工具)
- 嫁接
- 树木遗传和/或授粉,例如 Forestry 中的相关机制
- 自动肥料、探测器或任何与树木交互的机器
此类功能永远不会被实现。我并非暗示这些想法不好或不会有趣,但它们确实超出了本项目旨在实现的范围。
希望实现范围外功能的用户可以在单独的扩展模组或兼容模组中进行操作。流行模组往往会出现范围蔓延和功能泛滥的问题。最终你可能会得到喷气背包、金属矿石树、Nyan Cat、火焰超级死亡仙人掌剑以及 15 种不同种类的苦力怕。我不会接受这些。
技术细节
技术细节
底层原理
树木生长采用细胞自动机算法处理树叶,并结合树干和树枝的网络逻辑 不使用 TileEntity 渲染。渲染通过 BakedModels 完成,以在处理大量树节点时获得更好的性能 树叶仅通过 updateTick() 更新,因此当区块变脏时,其重新渲染频率不超过原版作物 使用 DropCreator 接口创建种子掉落和其他物品。其他模组可以注册新的掉落生成器,以扩展现有或新的树木行为 世界生成使用基于泊松盘分布的自适应增量点画法(Adaptive Incremental Stippling, AIS)的自定义变体,以实现高质量且不重叠的树木放置 此处可获取季节数据
许可证、许可与整合包
特此允许在任何整合包或服务器中使用此模组。既然我已经明确告知你可以使用,请不要再来询问是否能在你的整合包中使用此模组,这很烦人。署名是好的,但我并不强制要求。未经 CurseForge 下载链接及我的许可,你不得将此模组重新发布到其他网站。我是不是提过你可以在你的整合包中使用此模组?……很好!你一直在认真听!
Project Goal
To create more dynamic, aesthetic, fun and natural looking trees while respecting the Minecraft graphic stylization and enforcing a narrow project scope that keeps things simple.
Our core values are:
- Immersive integration with Minecraft's aesthetic
- Keep the project scope small
- Minimal performance impact
- Mod compatibility at heart
Also try Dynamic Trees Plus!
Features
A growing tree is a multi-block structure of rooty soil, branches, and leaves blocks that has many advances over the Vanilla Minecraft tree structures. The formation of the tree starts with a seed. This seed is either planted by hand much like a Vanilla sapling or the seed has a chance of planting itself if left on the ground in a suitable location. The tree then grows from a sapling, slowly increasing it's size over time, into a full sized tree. The tree can then be chopped down at it's base and all of the wood claimed at once.
Trees
- Grow progressively from seeds to mature trees over time.
- Grow in natural ways loosely modeled after real world trees and tend to grow in unique, believable ways.
- Grow around obstacles in a natural way.
- Are not just reskins but grow using different algorithms per species.
- Have growth rate and mature sizes that are biome, temperature and rainfall dependent.
- Drop seeds at random that can potentially plant themselves.
- Won't grow in darkness. Leaves not connected to an outer tree branch or starved of light will die. Outer branches without leaves slowly rot away.
- Will die and rot in a dark place (some species produce mushrooms when they rot).
- Walking on leaves blocks is slow and sinking. Falling on to leaves prevents fall damage and destroys the leaves.
- Vanilla fruits (apples and cocoa beans) have their own custom species to separate them. (Apple is a variant of oak, and cocoa is a variant of jungle)
- Thin branches can be climbed like ladders.
- Trees have custom sound effects for felling, hitting the ground, falling on water, or pruning.
- Particle effects on the leaves when the trees hit the ground.
Rooty Soil
- Provides nutrients to trees and can be depleted over time
- Applied with bone meal will increase soil fertility and allows the tree to grow past its mature state
- Applied with various brewed potions for different effects(see next section)
- Special effect particles are created on the entire tree when an acting substance is applied to the soil or bottom-most trunk block
- Comparator can be used to sense soil fertility level
Potions
- Biochar Base: Base tree potion for brewing
- Potion of Depletion: Depletes soil completely so tree stops growing
- Potion of Burgeoning: Fully fertilizes the tree, then grows faster until it runs out of fertility
- Potion of Transformation: Changes an existing Dynamic tree into another tree species
- Potion of Gigas: Transforms a tree into it's Mega variant (if available). By default it works with Spruce and Jungle trees.
Seeds
- Take the place of vanilla saplings
- Are randomly dropped from trees(configurable)
- Can self plant if setting on a dirt/grass/podzol block in a forest with a clear view of the sky above it(configurable)
Compatibility
- Vanilla trees function normally.
- Worldgen can be disabled to allow Vanilla trees to still spawn.
- All drops from growing trees are vanilla leaves, sticks, and logs. Branches are not obtainable in survival. Shears only obtain vanilla leaves.
- Vanilla textures are used for wood and leaves making it resource pack friendly.
- Seeds can be crafted from vanilla saplings and vice-versa by using a dirt bucket.
- Fire spreads and burns at the same rate as vanilla tree fires.
Season System
Dynamic Trees fully implements a season system for its trees, which is by default compatible with Serene Seasons. Trees will respond to the climate and slow / stop their growth accordingly. Fruits also have a specific harvesting season and a flowering season. For a complete list of fruits and their preferred seasons, visit the wiki.
At least one season mod is required for this system to be activated.
Addons can integrate seasonal systems as well if they are not compatible by default already.
Forests
- As trees drop seeds the forest line spreads.
- Trees compete for sunlight when placed near each other and grow taller and skinnier than trees in the open. This produces a forest canopy effect.
- Canopies block skylight producing dark forests where mobs can spawn during the day and saplings fail to thrive.
- Podzol forms from dirt or grass under the dark forest canopies of some tree species. Podzol is meant to emulate forest leaf litter appearance.
Harvesting
- Cutting the tree at it's base will fell the entire tree
- Thicker branches take longer to harvest
- Whole branches can be removed from the tree without disturbing the main body of the tree
- Harvesting results in vanilla logs and sticks the number of which is calculated as the total volume of wood in the tree or branch
- Fortune enchantments on axes are actually useful and work to increase log yield
- Tools are damaged by the number of logs harvested(configurable)
- Leaves grow back when destroyed if outer branches are left undamaged
- Trees fall over when harvested(configurable)
The Woodland Staff
The woodland staff is a multi-function tool intended for use in creative mode(can't be crafted). In the most basic usage it can be used to copy a tree. Right click on any dynamic tree with the staff to pull it's JoCode. Next, right click on viable soil to recreate the same tree. The tree is also rotated based on the player direction. If the player right clicks a tree with the staff while sneaking then only the tree specieswill be copied, leaving the JoCode unchanged.
In this way you can for instance create an acacia tree that is shaped like a tall jungle tree.
Another feature for the Woodland Staff is that any JoCode pulled from a tree is also copied to the system clipboard as text. This enables a player to share tree models with others easily.
Dynamic Trees Plus
Dynamic Trees Plus is an extension to the Dynamic Trees mod exclusive to the 1.16.5 version and up, which aims to add dynamic versions of other vegetation that would not fit the scope of this mod, such as Cacti and Huge Mushrooms.
Tree Packs
Tree Packs are a datapack-like JSON system implemented into Dynamic Trees that allows full customizability of dynamic trees and your world, they are the backbone of any addon and a powerful tool for users and pack makers alike.
What can Tree Packs do?
- Modify properties of any tree such as growth speed, size, leaf block, leaf types, growth shape, trunk thickness, drops, and more!
- Create entirely new trees using any blocks as a base.
- Create custom fruits and pods.
- Add custom features to any tree, such as vines flowering leaves.
- Easy to learn and use even for people without programming knowledge.
For more information and a guide on Tree Packs visit or join our discord.
Mod Compatibility
Add-Ons
Add-ons are mods that do the work of including modded trees in a more modular and maintainable fashion using the Dynamic Trees API. This prevents bloat in the base Dynamic Trees mod which only includes vanilla Minecraft trees. Below is the current list of add-ons developed by the DynamicTreesTeam and other modders. Refer to their individual project pages for information on which trees the mods are able to provide.
- For a comprehensive list of addons visit
Compatible Mods
Mods where features mix well with Dynamic Trees, the compatibility is notable or has been explicitly provided. Mods not on this list are not necessarily incompatible.
- Create: The tree cutter works with dynamic trees
- Distant Horizons: Trees render as they should in LOD chunks.
- Better Foliage: Leaves blocks will be enhanced as expected (does not work with trunk rounding feature)
- Better Beginnings: Can't chop down a tree with your bare hands, tools work as intended.
- Passable Leaves / Passable Foliage: Dynamic Tree leaves become passable when this mod is installed.
- No Tree Punching: Trees are succesfully unpunchable, good luck!
As mentioned before, mods that implement seasons become compatible with Dynamic Trees' seasonal system.
- Serene Seasons
- Better Weather: As of 0.10.0 Beta 23 in 1.16+
Incompatible Mods
- Applied Energistics 2: Meteor generation ruins dynamically generated trees.
- Tree Chopper: Known to cause crashes or make trees drop nothing.
- Liquid Luck: Dynamic Trees are known not to drop logs and sticks when this mod is installed.
- Cave Biomes API: Changes to chunk generation make Trees generate incorrectly
Project Scope
Project Scope
Examples of in scope features
- Trees and only trees.
- Provide advanced growing versions of vanilla trees
- Zero to minimal configuration. Should work out of the box with sane settings or defaults
- Provide interfaces for other mod developers to expand the mod with add-ons, new trees, effects, mobs and other things. If you need a hook then lemme know :)
- Response to seasonal changes
- To achieve compatibility with other popular mods when appropriate
- Stylization should not deviate from the Minecraft aesthetic. All parts of a block model should be comprised of rectangular prisms with each face aligned to 1/16 meter(a standard minecraft texel)
Examples of out of scope features
- Species of trees not implemented in vanilla Minecraft(such as those in Forestry, Pam's Harvestcraft, Natura, Biomes O' Plenty). For compatibility with these please refer to the Addons section.
- Creature entities, mobs, and/or particles(ents, squirrels, monkeys, fireflies, etc)
- Fruit(other than vanilla Minecraft tree fruit products: apples, cocoa beans)
- Dungeon loot(pointless for this mod)
- Tree villages, villagers and/or trading posts
- Swings or other gadgets commonly attached to trees
- Magic, energy systems, XP drops, enchantments
- Tools and/or apparel(in survival, admin tools might be okay)
- Grafting
- Tree genetics and/or pollination, such as that in forestry
- Automatic fertilizers, detectors, or any kind of machine for interacting with the tree
Features like these will never be implemented. I'm not suggesting that these are bad ideas or wouldn't be fun but they are indeed outside the scope of what this project is meant to accomplish.
Those wishing to implement out of scope features are welcome to do so in a separate expansion or compatibility mod. Popular mods tend to experience scope creep and featuritis. Ultimately you end up with jet packs, metal ore trees, nyan cats, flaming super death cactus swords, and 15 kinds of creepers. I won't have it.
Technical Details
Technical Details
Under the hood
Trees grow using a combination of a cellular automata algorithm for leaves and branch network logic for trunk and branches No tile entity rendering is used. Rendering is done with BakedModels for better performance with large numbers of tree nodes Leaves are only updated with updateTick() so chunks are re-rendered when dirty no more than with vanilla crops A DropCreator interface is used for creating seed drops and other items. New drop creators can be registered by other mods to expand existing or new tree behavior Worldgen uses a custom variation of Adaptive Incremental Stippling(AIS) using the PoissonDisk Distribution for high quality and non-overlapping tree placement Season data available here
License, Permission and Modpacks
Permission is hereby granted to use this mod in ANY mod pack or server. Please don't ask for permission to use the mod in your mod pack after I've already told you that you can, it's annoying. Attribution would be nice but I don't require it. You are not allowed to re-publish this mod to other sites without providing a CurseForge download link and my permission. Did I mention that you have permission to use this mod in your mod packs?.. Good! You were paying attention!
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
下载 Dynamic Trees
- 修复了服务器端的崩溃问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧