Rename engine to cubi
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user