Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

AUTOCRAFT ISSUE 2022

Open SwiftExplorer567 opened this issue 3 years ago • 2 comments

Prerequisites

  • [X] I made sure I am running the latest development build
  • [X] I tried to look for similar issues before opening a new one
  • [X] I have set debugmessages=true in config to diagnose my issue
  • [X] I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.16.5

Console Client Version

Latest

Expected Behavior

I want to make a autocrafting bot by using MCC. It supposed to craft logs to planks then planks to sticks.

Actual Behavior

However, it do not craft anything. Code do not work.

Steps to Reproduce the bug

  1. edited the config (autocraft)
  2. found minecraft names by link.
  3. Do not work.

The Code (autocraft)

[AutoCraft]
# A valid autocraft config must begin with [AutoCraft]

tablelocation=0,65,0   # Location of the crafting table if you intended to use it. Terrain and movements must be enabled. Format: x,y,z
onfailure=abort        # What to do on crafting failure, abort or wait

# You can define multiple recipes in a single config file
# This is an example of how to define a recipe
[Recipe]
name=wood          # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=OakPlanks     # the resulting item

# define slots with their deserved item
slot1=oaklog            # slot start with 1, count from left to right, top to bottom

[Recipe]
name=stick1            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot3=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick2            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot4=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick3            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot5=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick4            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot6=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick5            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot7=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick6            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot2=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick7            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot8=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick8            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot1=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick9            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot9=OakPlanks            # slot start with 1, count from left to right, top to bottom

# For the naming of the items, please see
# https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs

Attach screenshot here (If applicable)

No response

Anythings that could help diagnosing the bug

CODE

[AutoCraft]
# A valid autocraft config must begin with [AutoCraft]

tablelocation=0,65,0   # Location of the crafting table if you intended to use it. Terrain and movements must be enabled. Format: x,y,z
onfailure=abort        # What to do on crafting failure, abort or wait

# You can define multiple recipes in a single config file
# This is an example of how to define a recipe
[Recipe]
name=wood          # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=OakPlanks     # the resulting item

# define slots with their deserved item
slot1=oaklog            # slot start with 1, count from left to right, top to bottom

[Recipe]
name=stick1            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot3=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick2            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot4=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick3            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot5=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick4            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot6=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick5            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot7=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick6            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot2=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick7            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot8=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick8            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot1=OakPlanks            # slot start with 1, count from left to right, top to bottom
[Recipe]
name=stick9            # name could be whatever you like. This field must be defined first
type=player            # crafting table type: player or table
result=Stick     # the resulting item

# define slots with their deserved item
slot9=OakPlanks            # slot start with 1, count from left to right, top to bottom

# For the naming of the items, please see
# https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/Inventory/ItemType.cs

Device

Desktop

Operating System

Windows

Server Address (If applicable)

No response

SwiftExplorer567 avatar Jan 18 '22 18:01 SwiftExplorer567

image

image

I tried this however do not work.

Inventory: image

SwiftExplorer567 avatar Jan 18 '22 18:01 SwiftExplorer567

See https://github.com/MCCTeam/Minecraft-Console-Client/issues/1476#issuecomment-783405551. Since you have single stack of stone only, AutoCraft is not able to craft stone bricks for you.

ReinforceZwei avatar Jan 20 '22 00:01 ReinforceZwei