Rename engine to cubi

This commit is contained in:
2026-11-03 17:17:37 -03:00
parent 68b78f053a
commit 98fa45ebd1
109 changed files with 643 additions and 788 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import { TICK_DELTA } from "$/common/constants.ts";
import { physics } from "$/common/physics.ts";
import { type Attacker, type DamageSource, Entity, finite, type SavedEntity } from "./entity.ts";
export const ITEM_ENTITY_TYPE = "bworld:item";
export const ITEM_ENTITY_TYPE = "cubi:item";
// minecraft's item physics, its per tick numbers turned into per second ones where they're speeds
export const ITEM_SIZE = 0.25;
@@ -61,7 +61,7 @@ export class ItemEntity extends Entity {
constructor(
level: Entity["level"],
item = new ItemStack("bworld:air", 0),
item = new ItemStack("cubi:air", 0),
x = 0,
y = 0,
z = 0,