Coder Social home page Coder Social logo

jesper-andersson / polymorph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from illusivesoulworks/polymorph

0.0 0.0 0.0 1.13 MB

Minecraft Mod: No more recipe conflicts! Adds an option to choose the crafting result if more than one is available.

Home Page: https://www.curseforge.com/minecraft/mc-mods/polymorph

License: Other

Java 100.00%

polymorph's Introduction

Polymorph

Polymorph is a mod that solves recipe conflicts by letting players choose between all potential outputs shared by the same ingredients.

With a sufficiently large amount of mods, recipe conflicts are a common occurrence and the responsibility for resolving these usually falls on the user or modpack developer, using datapacks or other tools to ensure that each recipe is unique.

Polymorph offers an alternative solution, allowing all possible crafting and smelting recipes to co-exist regardless of conflicts.

Features

Crafting

When a group of ingredients matches more than one recipe, a button will appear above the output slot. Pushing this button will show a list of all possible results and selecting one will change the crafting output to match. Polymorph will also remember the last selection as long as the ingredients don't change, so repeated crafting actions are possible on the same selection.

Smelting

When a valid input matches more than one output, a button will appear above the output slot. Pushing this button will show a list of all possible results with the currently selected result highlighted in green. Selecting one of the listed results will change the smelting output to match. This selection will be saved to the block itself and persist across world loading and unloading.

Smithing

Exactly like the crafting screen, a button will appear above the output slot when a valid input matches more than one output. Upon selection, the output will change to match.

Commands

To assist identifying potential conflicts, there's a command /polymorph conflicts that will try to identify recipes that conflict with each other and outputs a list of them to your logs folder. Currently, the command will scan crafting, smelting, blasting, smoking, and smithing recipes.

Mod Integration

Just Enough Items

Upon selecting a recipe to transfer from the Just Enough Item screen, the output will automatically change to match the selection if there is more than one possible output.

Modded Support

Many crafting tables that are simply variants of the vanilla crafting table will automatically be compatible. Other types of support may or may not be compatible; below is a list of all mods that Polymorph has specific integration with and has already been tested for functionality.

Please request support by opening an issue on the issue tracker.

Downloads

CurseForge

Developing

Help! I'm getting Mixin crashes when I try to launch in development on Forge!

Polymorph uses Mixins to implement its core features. This may cause issues when depending on Polymorph for your project inside a development environment since ForgeGradle/MixinGradle do not yet support this natively like on the Fabric toolchain. As a workaround, please disable the refmaps in development by setting the mixin.env.disableRefMap JVM argument to true in your run configuration.

Support

Please report all bugs, issues, and feature requests to the issue tracker.

For non-technical support and questions, join the developer's Discord.

License

All source code and assets are licensed under LGPL 3.0 or later.

Donations

Donations to the developer can be sent through Ko-fi.

Affiliates

BisectHosting

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.