Table of Contents

Interface IClaimTraverseable

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Implement this on a Block, BlockBehavior, BlockEntity or BlockEntityBehavior to allow it to be traversed for players with Traverse permissions to the land claim or if AllowUseEveryone or AllowTraverseEveryone is set.

public interface IClaimTraverseable
Extension Methods

Methods

AllowTraverse()

Return true if you want to allow this block to be interacted with when the player has traverse permissions on this land claim. Implement this if you need custom logic else it will just return true by default

bool AllowTraverse()

Returns

bool