示例#1
0
 private void UpdateChunks(Chunk c)
 {
     Task.Run(() => Ticket.CreateTicket(c.Position.X, c.Position.Y, 31, TicketTypes.Player, TicketPreviousDirection.None, true));
 }
示例#2
0
        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]);
        }