Skip to content

[Question] Can I get some clarification for parts of the source code please #39

@JamesYeoman

Description

@JamesYeoman

I'm wanting to implement a way of specifying an ordered whitelist of modids. The reason for this, is that I tend to prefer the Thermal Foundation ingots and blocks, but I want to be able to fall back to Ender Core, then Mekanism, then Forestry, then whatever the mod is able to detect as a last resort. Not only this, but I want to be able to retain my ability to choose between the different conflicts in case there's a recipe that god forbid doesn't use the Ore Dictionary.

The part I need clarification for is the previousNumberOfCraft property, and the purpose of recipeIndex % previousNumberOfCraft in CraftingHandler. The name previousNumberOfCraft is an unhelpful name. There's no documentation as to what it's supposed to represent, and I can't seem to figure it out. Not only that, but I don't understand the need for recipeIndex modulo previousNumberOfCraft

Any and all clarifications will be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions