其工作原理与主 Astikor Carts 模组类似,但为 TerraFirmaCraft 中存在的每种木材类型添加了新的矿车。此兼容模组还为犁式矿车添加了新机制,现在可用于“割除”大量灌木、散落的岩石等。这一改动也使得在有大量植物的地方高效地将泥土方块翻耕为耕地成为可能。
常规配置
这些设置定义了矿车如何与动物、物品和玩家互动。它们控制可以装载的内容以及牵引速度如何受营养、口渴、饥饿和货物重量的影响。
动物矿车设置
-
maxAnimalSize
可装入动物矿车的动物的最大尺寸(以方块体积计)。超过此阈值的较大动物无法被装载。
默认值:3.0
-
maxPassengerCount
矿车可同时承载的动物数量上限。
默认值:2
-
canPushIntoPlayers
如果启用,动物矿车可以通过推向玩家来拾取玩家。
默认值:true
-
canCarryWaterEntities
如果启用,水生生物(鱼、海豚、鲸鱼等)可以被动物矿车拾取。
默认值:true
补给矿车设置
maxItemSize
可存储在补给矿车中的最大物品尺寸(包含该值)。
允许的值:TINY、VERY_SMALL、SMALL、NORMAL、LARGE、VERY_LARGE、HUGE
默认值:VERY_LARGE
牵引行为
矿车库存配置
这些设置控制矿车在货物重量限制和库存大小方面的行为。它们让你可以在真实感和便利性之间微调平衡。
重量阈值
重量阈值如何交互
逻辑如下:
- 力竭阈值:如果货物重量超过此值,玩家将获得力竭效果。
- 超重阈值:如果货物重量超过这个更高的值,玩家将获得超重效果。
- 固定阈值:如果货物重量超过这个最大值,玩家将变得被固定并无法移动。
这些阈值基于估计的货物质量,表现为疲劳的渐进阶段。
-
exhaustedThreshold
拉动矿车的玩家变为力竭时的质量(以千克为单位)。此时,移动速度会显著减慢。
默认值:400 kg
-
overburdenedThreshold
玩家变为超重时的质量。移动受到严重限制,但尚未完全 immobilized(无法移动)。
默认值:1000 kg
-
pinnedThreshold
玩家变为被固定且完全无法移动时的质量。
默认值:2000 kg
示例: 一个 VERY_HEAVY(极重)的 HUGE(巨大)物品可能重约 280 kg。如果固定阈值为 800 kg,携带三个此类物品将使拉车者 immobilized(无法移动)。
库存大小
-
手提矿车库存
- 行数:
handCartInventoryHeight(默认值:2)
- 列数:
handCartInventoryWidth(默认值:5)
-> 这定义了一个 2×5 的网格(10 个槽位)用于手提矿车。
-
补给矿车库存
- 行数:
supplyCartInventoryHeight(默认值:5)
- 列数:
supplyCartInventoryWidth(默认值:9)
-> 这定义了一个 5×9 的网格(45 个槽位)用于补给矿车。
自 版本 1.2 起
主要适用于模组和整合包制作者:
It works similarly to the main Astikor Carts mod, but adds new carts for each wood type present in TerraFirmaCraft. This compatibility mod also adds new mechanics to the plow cart, which can now be used to "mow" large quantities of shrubberies, loose rocks and more. This change also makes it possible to efficiently till soil blocks to farmland where there are a lot of plants.
General Config
These settings define how carts interact with animals, items, and players. They control what can be carried and how pulling speed is affected by nutrition, thirst, hunger, and cargo weight.
Animal Cart Settings
-
maxAnimalSize
The maximum size (in blocks volume) of an animal that can be loaded into the animal cart. Larger animals above this threshold cannot be carried.
Default: 3.0
-
maxPassengerCount
The maximum number of animals the cart can carry simultaneously.
Default: 2
-
canPushIntoPlayers
If enabled, the animal cart can pick up players by being pushed into them.
Default: true
-
canCarryWaterEntities
If enabled, aquatic creatures (fish, dolphins, whales, etc.) can be picked up by the animal cart.
Default: true
Supply Cart Settings
maxItemSize
The largest item size (inclusive) that can be stored in a supply cart.
Allowed values: TINY, VERY_SMALL, SMALL, NORMAL, LARGE, VERY_LARGE, HUGE
Default: VERY_LARGE
Pulling Behavior
-
pullingDistanceModifier
Adjusts the tolerance for how far a cart can be pulled before the connection breaks. Higher values allow greater pulling distance/threshold.
Default: 2.0
-
toggleFoodSpeed
Determines whether the player’s nutrition, thirst, and hunger affect cart pulling speed.
- When enabled, pulling speed is scaled by the player’s average nutrition × thirst × hunger.
- The formula produces a health factor that modifies speed between 25% (minimum) and 100% (maximum).
- Example: A well-fed, hydrated player pulls carts faster; a starving, thirsty player pulls slower.
Default: true
Cart Inventory Config
These settings control how carts behave in terms of cargo weight limits and inventory size. They let you fine‑tune the balance between realism and convenience.
Weight Thresholds
How Weight Thresholds Interact
The logic:
- Exhausted Threshold: If cargo weight exceeds this value, the player gains the Exhausted effect.
- Overburdened Threshold: If cargo weight exceeds this higher value, the player gains the Overburdened effect.
- Pinned Threshold: If cargo weight exceeds this maximum, the player becomes Pinned and immobilized.
The thresholds act as progressive stages of fatigue based on the estimated cargo mass.
-
exhaustedThreshold
The mass (in kilograms) at which a player pulling a cart becomes exhausted. At this point, movement slows down significantly.
Default: 400 kg
-
overburdenedThreshold
The mass at which the player becomes overburdened. Movement is heavily restricted, but not yet immobilized.
Default: 1000 kg
-
pinnedThreshold
The mass at which the player becomes pinned and unable to move at all.
Default: 2000 kg
Example: A VERY_HEAVY HUGE item might weigh ~280 kg. With a pinned threshold of 800 kg, carrying three such items would immobilize the cart puller.
Inventory Sizes
-
Hand Cart Inventory
- Rows:
handCartInventoryHeight (Default: 2)
- Columns:
handCartInventoryWidth (Default: 5)
-> This defines a 2×5 grid (10 slots) for the hand cart.
-
Supply Cart Inventory
- Rows:
supplyCartInventoryHeight (Default: 5)
- Columns:
supplyCartInventoryWidth (Default: 9)
-> This defines a 5×9 grid (45 slots) for the supply cart.
As of version 1.2
Relevant mostly for mod and modpack makers:
- Automatic item and entity registration of any wood types from enum classes that implements TFC's RegistryWood interface! (e.g.: supports mods like ArborFirmaCraft)
- You only need to supply the relevant datapack files (recipes, tags, tfc data, etc.) and assets (textures, item models, lang, etc.)!
评论 0
登录后参与评分
还没有评论,来抢沙发吧