EternalBlueFlame / Traincraft-5

Traincraft repository for version 1.7.x port.
Other
58 stars 53 forks source link

new: TraincraftRecipeBook: cycle through all recipes of identical output #651

Closed zetti68 closed 2 years ago

zetti68 commented 2 years ago

new: TraincraftRecipeBook: show tool tips err: RecipeHandler: ItemStacks with waterBucket needs damage too upd: RecipeHandler: filter identical recipes and add it only one time upd: TrainCraftingManager: add type of List

Hi EternalBlueFlame, I implemented my last idea:

The train recipe book shows with the changed code all recipes of same output. It will change like NEI every 3 seconds the recipe if more than one recipe exist. Additionally I added a tooltip to slots.

Little bug fixed: I found one missing damage in recipes (water bucket) and added damage to it.

Finally I cleaned recipes: The identical item plastic sheet was registered as sheetPlastic and itemPlastic in OreDictionary. But it is not necessary to add two different recipes with same inputs, so I filtered it.

Best regards Zetti68

zetti68 commented 2 years ago

Hi EternalBlueFlame, sorry for the conflict, I solved it.

Your last changes in RecipesHandler: multiNameOreDict: you did not add anything to entries? I think, you found my bug in last version.

I changed it: I check item (not itemStack) if exists in set addedItems. If not, add ItemStack to entries and item to addedItems.

EternalBlueFlame commented 2 years ago

My last change in the MultiNameOreDict was to filter duplicates.

zetti68 commented 2 years ago

Thanks again.