Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

RFTools and XNet Support#214

Draft
Nerdpie wants to merge 6 commits intoSquidDev-CC:minecraft-1.12from
Nerdpie:feature/rftools-support
Draft

RFTools and XNet Support#214
Nerdpie wants to merge 6 commits intoSquidDev-CC:minecraft-1.12from
Nerdpie:feature/rftools-support

Conversation

@Nerdpie
Copy link
Copy Markdown
Contributor

@Nerdpie Nerdpie commented May 9, 2019

See issue #158

While hardly ready for a proper PR, I definitely need some input on the design. Starting with a bit of base shared functionality (owner and infusion level, provided by McJtyLib), I set up a test world and grouped items by each (sub)mod. I'm starting with XNet, as it has the fewest blocks/items/entities to support.

I'm not sure if the dependencies being deobfCompile is necessary; I was having trouble loading my test instance, and some of McJty's code references the obfuscated names (turned out that I needed to bump the version of RFTools Control).

@SquidDev SquidDev added enhancement An improvement to an existing feature, or a new one integration Integration with another mod labels May 9, 2019
Comment thread src/main/java/org/squiddev/plethora/integration/mcjtylib/IntegrationMcJtyLib.java Outdated

//REFINE Do we want to provide the max infusion on each `GenericTileEntity`,
// provide it via a method, or provide `getInfusedFactor` as a percentage?
out.put("infusionMax", GeneralConfig.maxInfuse);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be inclined just to go with meta-provider. I've always had problems with when to expose something as a getter, and when to do it as metadata, but in this case metadata seems fine.

Comment thread src/main/java/org/squiddev/plethora/integration/xnet/MethodsController.java Outdated
Comment thread src/main/java/org/squiddev/plethora/integration/xnet/MethodsController.java Outdated
Comment thread src/main/java/org/squiddev/plethora/integration/xnet/MethodsController.java Outdated
Comment thread src/main/java/org/squiddev/plethora/integration/rftools/IntegrationRFTools.java Outdated
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement An improvement to an existing feature, or a new one integration Integration with another mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants