Animal Definition
Defines a tycoon animal with research tree, catalyst mechanics, fusion, and economy stats
Поля
| Поле | Тип | По умолчанию | Описание | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
entityDefinition | Ref<EntityDefinitionEntry> | — | The entity definition providing the visual model (NPC, ModelEngine, vanilla mob) | ||||||||||||||||||||||||||||
category | String | — | Research category this animal belongs to | ||||||||||||||||||||||||||||
rarity | AnimalRarity | COMMON | Rarity tier driving revenue, capture weight, and fatigueЗначения:COMMONUNCOMMONRAREEPICLEGENDARY | ||||||||||||||||||||||||||||
catalystPowerRequired | Double | 15.0 | Total catalyst power required before fuel can be applied | ||||||||||||||||||||||||||||
acceptedCatalystItems | List<CatalystItemDef> | empty | Items accepted by the catalyst and their power contribution
|
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
itemId | String | — | — |
powerValue | Double | 1.0 | — |
displayName | String | — | — |
fuelItemStringsuccessChanceDouble0.3alternativeRewardsList<AlternativeReward>emptyAlternativeReward (4)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
itemId | String | — | — |
amount | Int | 1 | — |
weight | Double | 1.0 | — |
commands | List<String> | empty | — |
spaceCostInt5baseRevenueRateDouble0.5revenueScalingDouble0.1biomeAffinitiesAnimalBiomeAffinitymultinonesimplemulti (1)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
affinities | Map<String, Double> | empty | — |
none (1)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
_dummy | Boolean | false | — |
simple (2)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
biome | String | PLAINS | — |
multiplier | Double | 1.5 | — |
isMountableBooleanfalsefatigueCapacityInt180mountSpeedDouble1.0fusionMinLevelInt1fusionParentRequiredBooleantruerequiredProfessionLevelInt1descriptionStringiconStringmodelVariantsList<ModelVariantDef>emptyModelVariantDef (2)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
entityDefinition | String | — | — |
displayName | String | — | — |
Общие поля TypeWriter (displayName)
| Поле | Тип | По умолчанию | Описание |
|---|---|---|---|
displayName | String | — | Display name shown in GUI and messages |
How to use it
- Research —
categoryis the id of a Research Category, which must also list the animal inanimals.acceptedCatalystItemspairs anitemId(a Material name such asSWEET_BERRIES) with apowerValue; the catalyst is full atcatalystPowerRequired.fuelItemis a Material name. The real chance of success issuccessChancetimes the rarity capture weight (1.0 forCOMMONdown to 0.02 forLEGENDARY). - Economy —
spaceCostis the zoo space used;baseRevenueRateis revenue per second at level 1,revenueScalingthe bonus per level above 1. Balance them together: a big animal should earn more per space spent. - Mount —
isMountable,mountSpeedandfatigueCapacity(seconds) apply on the adventure map. - Models —
entityDefinitionis the visual;modelVariantsare alternative skins that reference other entity definitions. - Alternative rewards — granted, by weight, when a player researches an animal they already own. Each reward runs its
commandswith{player}replaced by the player name.