mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-06-07 17:55:54 +02:00
remove unnecessary changes
This commit is contained in:
parent
b55f92800f
commit
fa02028b8b
4 changed files with 1 additions and 18 deletions
|
@ -198,7 +198,6 @@ export class Agent {
|
|||
if (!this.task || !this.task.agent_names) {
|
||||
return;
|
||||
}
|
||||
console.log(this.task.agent_names)
|
||||
|
||||
const missingPlayers = this.task.agent_names.filter(name => !this.bot.players[name]);
|
||||
if (missingPlayers.length > 0) {
|
||||
|
|
Binary file not shown.
|
@ -1,16 +0,0 @@
|
|||
import * as mc from '../src/utils/mcdata.js';
|
||||
import minecraftData from 'minecraft-data';
|
||||
|
||||
const mc_version = '1.21.1'
|
||||
const mcdata = minecraftData(mc_version);
|
||||
console.log(mcdata.recipes[mc.getItemId('white_dye')])
|
||||
console.log(mcdata.recipes[mc.getItemId('oak_planks')])
|
||||
console.log(mcdata.recipes[mc.getItemId('wooden_pickaxe')])
|
||||
if (mcdata.recipes['minecraft:white_dye']) {
|
||||
console.log('Recipe found')
|
||||
}
|
||||
const target_item = 'white_dye'
|
||||
const quantity = 1
|
||||
const curr_inventory = {}
|
||||
let craftingPlan = mc.getDetailedCraftingPlan(target_item, quantity, curr_inventory)
|
||||
console.log(craftingPlan)
|
Loading…
Add table
Reference in a new issue