Animated textures !
This commit is contained in:
@@ -24,6 +24,7 @@ import { Container } from "$/common/inventory.ts";
|
||||
import { PLAYER_MENU } from "$/common/protocol.ts";
|
||||
import { EverythingRegistry } from "$/common/everything_registry.ts";
|
||||
import type { EntityJson } from "$/common/mod_data.ts";
|
||||
import { tick_texture_animations } from "./texture_animations.ts";
|
||||
|
||||
// how far from the eyes entities can be hit, like minecraft
|
||||
const ENTITY_REACH = 3;
|
||||
@@ -194,6 +195,7 @@ export class Client {
|
||||
this.connection.send({ type: "view_distance", distance: view_distance });
|
||||
}
|
||||
this.level.tick();
|
||||
tick_texture_animations();
|
||||
}
|
||||
|
||||
// closed_screen: a screen closed this frame and took its keys, so they don't also open the inventory or pick a
|
||||
|
||||
Reference in New Issue
Block a user