Class SpawnNPCInteraction
- Namespace
- Shard.Assets.Generated.ModelAssets
- Assembly
- Shard.Assets.dll
[SchemaImported("assets/common.json#/definitions/SpawnNPCInteraction", "b09ff7d8f0e6484e821683e7eb018db525725f45b937d192102fcaffb68e5835")]
public sealed record SpawnNPCInteraction : Interaction, IEquatable<SpawnNPCInteraction>
- Inheritance
-
SpawnNPCInteraction
- Implements
-
- Inherited Members
-
Properties
AllowMidAirSpawn
public bool AllowMidAirSpawn { get; init; }
Property Value
- bool
AlternateSpawnMaxSearchDistance
public int AlternateSpawnMaxSearchDistance { get; init; }
Property Value
- int
Camera
public InteractionCameraSettings? Camera { get; init; }
Property Value
- InteractionCameraSettings
CancelOnItemChange
public bool CancelOnItemChange { get; init; }
Property Value
- bool
CenterHitboxOnPosition
public bool CenterHitboxOnPosition { get; init; }
Property Value
- bool
Codec
public static Codec<SpawnNPCInteraction> Codec { get; }
Property Value
- Codec<SpawnNPCInteraction>
DistanceRange
public List<double>? DistanceRange { get; init; }
Property Value
- List<double>
Effects
public InteractionEffects? Effects { get; init; }
Property Value
- InteractionEffects
EntityId
public string? EntityId { get; init; }
Property Value
- string
Failed
public string? Failed { get; init; }
Property Value
- string
HorizontalSpeedMultiplier
public float? HorizontalSpeedMultiplier { get; init; }
Property Value
- float?
Next
public string? Next { get; init; }
Property Value
- string
OnItemChangeBehavior
public SpawnNPCInteractionInteractionItemChangeBehavior? OnItemChangeBehavior { get; init; }
Property Value
- SpawnNPCInteractionInteractionItemChangeBehavior?
RequireFullCubeClearance
public bool RequireFullCubeClearance { get; init; }
Property Value
- bool
Rules
public InteractionRules Rules { get; init; }
Property Value
- InteractionRules
RunTime
public float? RunTime { get; init; }
Property Value
- float?
Settings
public Dictionary<string, InteractionSettings>? Settings { get; init; }
Property Value
- Dictionary<string, InteractionSettings>
SpawnChance
public float? SpawnChance { get; init; }
Property Value
- float?
SpawnCount
public List<int>? SpawnCount { get; init; }
Property Value
- List<int>
SpawnOffset
public Vector3d? SpawnOffset { get; init; }
Property Value
- Vector3d
SpawnState
public string? SpawnState { get; init; }
Property Value
- string
SpawnSubState
public string? SpawnSubState { get; init; }
Property Value
- string
SpawnVelocity
public double SpawnVelocity { get; init; }
Property Value
- double
SpawnYawOffset
public float? SpawnYawOffset { get; init; }
Property Value
- float?
UseLatestTarget
public bool UseLatestTarget { get; init; }
Property Value
- bool
ViewDistance
public double ViewDistance { get; init; }
Property Value
- double
WeightedEntityIds
public List<WeightedNPCSpawn>? WeightedEntityIds { get; init; }
Property Value
- List<WeightedNPCSpawn>