You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Even though the materials are there, the recipe doesn't give a diamond pickaxe)
(When in creative the items show up like they are supposed to do)
What debugging will do
In server/item/recipe/vanilla.go:
- for _, s := range craftingRecipes.Shaped {+ for i, s := range craftingRecipes.Shaped {
input, ok := s.Input.Items()
output, okTwo := s.Output.Stacks()
+ for _, out := range s.Output {+ if out.Name == "minecraft:diamond_pickaxe" {+ fmt.Printf("%v: ok1?%v ok2?%v\n", i, ok, okTwo) # Returns: "208: ok1?false ok2?true"+ if !ok {+ _, _ = s.Input.Items()# Breakpoint here+ }+ if !okTwo {+ _, _ = s.Output.Stacks()# Breakpoint here+ }+ }+ }
if !ok || !okTwo {
// This can be expected to happen - refer to the comment above.
continue
}
Register(Shaped{
shape: Shape{int(s.Width), int(s.Height)},
recipe: recipe{
Which led me to this:
Where it tried to recognize an empty item(?) I don't know how it is supposed to be generated, but it does seem to be the fault.
It would make sense why the sword and shovel recipes were showing up, since they are shapeless recipes and these are shaped.
The text was updated successfully, but these errors were encountered:
Research
What the user sees
(Even though the materials are there, the recipe doesn't give a diamond pickaxe)
(When in creative the items show up like they are supposed to do)
What debugging will do
In
server/item/recipe/vanilla.go
:Which led me to this:
Where it tried to recognize an empty item(?) I don't know how it is supposed to be generated, but it does seem to be the fault.
It would make sense why the sword and shovel recipes were showing up, since they are shapeless recipes and these are shaped.
The text was updated successfully, but these errors were encountered: