This commit is contained in:
2026-03-07 16:26:12 -03:00
parent 5218fab55a
commit 5ad4188567
12 changed files with 245 additions and 197 deletions
+5 -2
View File
@@ -37,9 +37,12 @@ export function create_player(world: ClientWorld) {
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:hoe", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:watering_can", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:axe", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:sword", 1, 1));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:bomb", 64));
// player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:sword", 1, 1));
// player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:bomb", 64));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:tomato_seeds", 64));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:potato_seeds", 64));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:pumpkin_seeds", 64));
player.get(PlayerInventory)!.container.add_item(new ItemStack("bworld:carrot_seeds", 64));
player.add(new Camera(-100, -100));
world.add_entity(player);