Day night cycle
This commit is contained in:
@@ -100,6 +100,9 @@ function client_context(listing: ModListing): ClientContext {
|
||||
if (nid === AIR) return AIR_ID;
|
||||
return EverythingRegistry.get_by_id<BlockRegistry>("blocks", nid)?.id;
|
||||
},
|
||||
get time() {
|
||||
return need_client().level.time;
|
||||
},
|
||||
},
|
||||
log: (...args) => console.log(`[${mod}]`, ...args),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user