Table of Contents

Interface ICustomAttachableGear

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Attachable that has custom logic for attaching gear shape to entity.

public interface ICustomAttachableGear
Extension Methods

Methods

AddGearToShape(Shape, ItemSlot, string, string, ref bool, ref string[], IDictionary<string, CompositeTexture>?)

Overrides standard method for attaching gears to entity shape in 'EntityBehaviorContainer'

Shape AddGearToShape(Shape entityShape, ItemSlot gearslot, string slotCode, string shapePathForLogging, ref bool shapeIsCloned, ref string[] willDeleteElements, IDictionary<string, CompositeTexture>? collectedTextures)

Parameters

entityShape Shape
gearslot ItemSlot
slotCode string
shapePathForLogging string
shapeIsCloned bool
willDeleteElements string[]
collectedTextures IDictionary<string, CompositeTexture>

Returns

Shape