Table of Contents

Class ModifyInventoryInteraction

Namespace
Shard.Assets.Generated.ModelAssets
Assembly
Shard.Assets.dll
[SchemaImported("assets/common.json#/definitions/ModifyInventoryInteraction", "d841b3a2273db9555128234f561ceb2b4675f248dbb997763724a7c14d2496dc")]
public sealed record ModifyInventoryInteraction : Interaction, IEquatable<ModifyInventoryInteraction>
Inheritance
ModifyInventoryInteraction
Implements
Inherited Members

Properties

AdjustHeldItemDurability

public double AdjustHeldItemDurability { get; init; }

Property Value

double

AdjustHeldItemQuantity

public int AdjustHeldItemQuantity { get; init; }

Property Value

int

BrokenItem

public string? BrokenItem { get; init; }

Property Value

string

Camera

public InteractionCameraSettings? Camera { get; init; }

Property Value

InteractionCameraSettings

CancelOnItemChange

public bool CancelOnItemChange { get; init; }

Property Value

bool

Codec

public static Codec<ModifyInventoryInteraction> Codec { get; }

Property Value

Codec<ModifyInventoryInteraction>

Effects

public InteractionEffects? Effects { get; init; }

Property Value

InteractionEffects

Failed

public string? Failed { get; init; }

Property Value

string

HorizontalSpeedMultiplier

public float? HorizontalSpeedMultiplier { get; init; }

Property Value

float?

ItemToAdd

public ItemStack? ItemToAdd { get; init; }

Property Value

ItemStack

ItemToRemove

public ItemStack? ItemToRemove { get; init; }

Property Value

ItemStack

Next

public string? Next { get; init; }

Property Value

string

NotifyOnBreak

public bool NotifyOnBreak { get; init; }

Property Value

bool

NotifyOnBreakMessage

public string? NotifyOnBreakMessage { get; init; }

Property Value

string

OnItemChangeBehavior

public ModifyInventoryInteractionInteractionItemChangeBehavior? OnItemChangeBehavior { get; init; }

Property Value

ModifyInventoryInteractionInteractionItemChangeBehavior?

RequiredGameMode

public ModifyInventoryInteractionGameMode? RequiredGameMode { get; init; }

Property Value

ModifyInventoryInteractionGameMode?

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>

ViewDistance

public double ViewDistance { get; init; }

Property Value

double