Types: World - GrantShotwell/MCSharp GitHub Wiki

World

A static object that represents the Minecraft world.

Defined Methods

Method Overflow Return Value Description
SetTime([string](/GrantShotwell/MCSharp/wiki/Types:-string) time) void Uses the /time set [time] command.
AddTime([string](/GrantShotwell/MCSharp/wiki/Types:-string) time) void Uses the /time add [time] command.
GetTime([string](/GrantShotwell/MCSharp/wiki/Types:-string) type) [int](/GrantShotwell/MCSharp/wiki/Types:-int) Uses the /time query [type] command and returns the result.