Class TileDef
Describes a tile type that can appear in the world.
public sealed class TileDef
- Inheritance
-
TileDef
- Inherited Members
Properties
AutoTileGroupId
Gets the autotile connectivity group identifier. A value of 0 disables autotiling.
public ushort AutoTileGroupId { get; init; }
Property Value
BlocksLight
Gets a value indicating whether the tile blocks light propagation.
public bool BlocksLight { get; init; }
Property Value
BreakDropItemId
Gets the item definition identifier spawned when the tile is broken. A value of 0 disables drops.
public int BreakDropItemId { get; init; }
Property Value
CanBeMined
Gets a value indicating whether the tile can be broken by ordinary mining operations.
public bool CanBeMined { get; init; }
Property Value
Category
Gets the loose content category used to group tiles in tooling and authoring flows.
public string Category { get; init; }
Property Value
Hardness
Gets the relative mining hardness used by higher-level gameplay systems.
public int Hardness { get; init; }
Property Value
Id
Gets the stable numeric identifier used to reference this tile in world cell data.
public ushort Id { get; init; }
Property Value
IsSolid
Gets a value indicating whether the tile should be treated as solid for collision and support checks.
public bool IsSolid { get; init; }
Property Value
Name
Gets the human-readable tile name used by tools and debug output.
public string Name { get; init; }
Property Value
Visual
Gets the visual metadata used by render backends to draw this tile.
public TileVisualDef Visual { get; init; }