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

RFTools and XNet Support #214

Draft
wants to merge 6 commits into
base: minecraft-1.12
Choose a base branch
from

Conversation

Nerdpie
Copy link
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

//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
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.

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