Cape gurnard

survival:fish-saltwater-gurnard-cape-adult · from game

Stats

Max health2 hp

Game logic (C#)

The C# classes this creature's JSON hands its behavior to: its entity class, behaviors and AI tasks. Files link to vssurvivalmod on GitHub; names without a link are implemented in the game engine or VSEssentials, which aren't mapped here.

RoleName in JSONC# type
Entity class EntityFish EntityFish
Behavior repulseagents engine / VSEssentials
Behavior controlledphysics engine / VSEssentials
Behavior despawn engine / VSEssentials
Behavior health engine / VSEssentials
Behavior floatupwhenstuck engine / VSEssentials
Behavior emotionstates engine / VSEssentials
Behavior taskai engine / VSEssentials
AI task fishoutofwater AiTaskFishOutOfWater
AI task fleeentity engine / VSEssentials
AI task seekbobber AiTaskSeekBobber
AI task wander engine / VSEssentials
AI task fishmovefast AiTaskFishMoveFast
AI task idle engine / VSEssentials
Behavior interpolateposition engine / VSEssentials

Where it spawns

Conditions the game checks at a candidate chunk before this creature can appear there. All of them must hold at once -- it's an AND, not an OR.

ConditionValueWhat this means
Temperature4–24°COnly generates where the chunk's yearly-average temperature is at or above this value (°C).
Needs nearby saltwater-still-7 Needs one of these blocks at/adjacent to the spawn position to appear at all (wildcards like tallgrass-* match any grade/variant of that block; "air" means empty space is fine).
Spawn grouppassiveThe spawn-balancing group this creature belongs to (e.g. hostile, neutral, harmless) -- the game caps how many creatures from each group can exist near a player at once.
Chance0.0001 per attemptHow likely this is attempted at a given candidate location/chunk/attempt, before any global frequency multiplier from world-creation settings. When several entries share the same code (e.g. a structure's small/medium/large size variants), this is actually a relative weight among those siblings rather than an independent probability -- confirmed real game data has values over 1 in exactly that case, so a value like 130 isn't a literal 13000%.

Drops (1)

Filters
MechanismDropChance / QuantityNotes
entityDrop Dead cape gurnard (adult)