Giter Site home page Giter Site logo

Comments (12)

JustAHuman-xD avatar JustAHuman-xD commented on June 20, 2024

We're going to need some more programming specifics, what class are you using for this, I'm assuming AContainer but you need to specify. Those kinds of things. Excerpts of code would also make this a much easier process.

from slimefun4.

lijinhong11 avatar lijinhong11 commented on June 20, 2024

We're going to need some more programming specifics, what class are you using for this, I'm assuming AContainer but you need to specify. Those kinds of things. Excerpts of code would also make this a much easier process.

the class extends AContainer and actually i don't rewrite the findNextRecipe method

from slimefun4.

balugaq avatar balugaq commented on June 20, 2024

In fact, the recipe cannot be set to two identical items in different positions, such as 1 diamond and 1 diamond, perhaps this is not related to the required quantity?

from slimefun4.

J3fftw1 avatar J3fftw1 commented on June 20, 2024

This seems to be an issue with an addon.
Im pretty sure the basic acontainer doesnt support more then 64 items for recipes.
Do you have a example plugin where you tested this with?

from slimefun4.

Boomer-1 avatar Boomer-1 commented on June 20, 2024

is this an addon you created?

from slimefun4.

JustAHuman-xD avatar JustAHuman-xD commented on June 20, 2024

This seems to be an issue with an addon.

Im pretty sure the basic acontainer doesnt support more then 64 items for recipes.

Do you have a example plugin where you tested this with?

It supports [64,64]

from slimefun4.

JustAHuman-xD avatar JustAHuman-xD commented on June 20, 2024

The issue is that the acontainer doesn't pick the "best" item stack for the recipe input, it picks the first that works, which means that if it's in a different order in the machine, it won't work

from slimefun4.

lijinhong11 avatar lijinhong11 commented on June 20, 2024

is this an addon you created?

YES, and it is like SlimeCustomizer BUT I DONT MODIFY AContainer#findNextRecipe()

THE METHOD IS THE REAL PROBLEM

Also, for Justin, You should stack amount of similar items. That input like [1,1] can work too

from slimefun4.

JustAHuman-xD avatar JustAHuman-xD commented on June 20, 2024

YES, and it is like SlimeCustomizer BUT I DONT MODIFY AContainer#findNextRecipe()

THE METHOD IS THE REAL PROBLEM

Also, for Justin, You should stack amount of similar items. That input like [1,1] can work too

No need for the caps we understood it the first time when you said to earlier. And yeah [1,1] working doesn't surprise me since both would have the "best" match as long as the type/nbt was correct. However I have a feeling that it would not work if the machine only had [2,0] in it with a recipe of [1,1]

from slimefun4.

lijinhong11 avatar lijinhong11 commented on June 20, 2024

YES, and it is like SlimeCustomizer BUT I DONT MODIFY AContainer#findNextRecipe()
THE METHOD IS THE REAL PROBLEM
Also, for Justin, You should stack amount of similar items. That input like [1,1] can work too

No need for the caps we understood it the first time when you said to earlier. And yeah [1,1] working doesn't surprise me since both would have the "best" match as long as the type/nbt was correct. However I have a feeling that it would not work if the machine only had [2,0] in it with a recipe of [1,1]

I saw someone use [4,4] and two input slots are far away lol

from slimefun4.

J3fftw1 avatar J3fftw1 commented on June 20, 2024

You should make a pr

from slimefun4.

lijinhong11 avatar lijinhong11 commented on June 20, 2024

Bump for let #4177 being reviewed

from slimefun4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.