OrderedSet86 / gtnh-flow

Factory Optimization Flowcharts for Gregtech: New Horizons
MIT License
84 stars 24 forks source link

Adds itemAmount and contains method to IngredientCollection #55

Closed joegnis closed 3 weeks ago

joegnis commented 3 weeks ago

It works for two types of input:

  1. an ingredient name (string)
  2. an Ingredient instance: If this collection has the ingredient and has more quantity than the ingredient has, return true
OrderedSet86 commented 3 weeks ago

Great, thanks :)