OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IItemDrop

Represents an item dropped at ground.

Inherited Members
IItemInstance.Item
Namespace: OpenMod.Extensions.Games.Abstractions.Items
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IItemDrop : IItemInstance

Properties

| Improve this Doc View Source

Position

Gets the position of the item.

Declaration
Vector3 Position { get; }
Property Value
Type Description
Vector3

Methods

| Improve this Doc View Source

DestroyAsync()

Destroys the item.

Declaration
Task<bool> DestroyAsync()
Returns
Type Description
Task<System.Boolean>

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)