private void UpdateChunks(Chunk c) { Task.Run(() => Ticket.CreateTicket(c.Position.X, c.Position.Y, 31, TicketTypes.Player, TicketPreviousDirection.None, true)); }
public static Block GetBlock(Vector3I position, int dimension = 0) { GlobalToLocal(position, out Vector3I cpos, out Vector3I bpos); return(Ticket.GetTicket(cpos.XY)?.Chunk[bpos.X, bpos.Y, bpos.Z]); }