PlayerInventory
Class in SurvivEngine.Entities.Mobs.Player namespace
Inherits from SurvivEngine.Entities.EntityInventory
Class in SurvivEngine.Entities.Mobs.Player namespace
Inherits from SurvivEngine.Entities.EntityInventory
A specialized entity inventory component for the player.
Damages the player's currently held item durability by the given amount.
amount The amount of damage to apply.
Drops the player's currently held item into the world.
Ticks the player's currently held item's item tickers.
tickTime The time since the last game tick.
Triggers the held item's use actions that are flagged with the world use context.