Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LevelConfig: AdditionalBlocks and block names in /is info #6

Open
Muspah opened this issue Sep 3, 2020 · 2 comments
Open

LevelConfig: AdditionalBlocks and block names in /is info #6

Muspah opened this issue Sep 3, 2020 · 2 comments

Comments

@Muspah
Copy link
Member

Muspah commented Sep 3, 2020

USB's levelconfig.yml contains an undocumented option called 'additionalBlocks', which adds additional blocks to the material type configured. It took me a while to understand the exact use case for this, but I've found one today.

WOOL used to be a single Material type with a custom score and diminishingReturns value. All colors would be counted as one single type. Since MC1.13, WOOL is separated into different item id's for each color. AdditionalBlocks makes it possible to group them all together, like:

image

The issue here is that USB uses the name of the main item (WHITE_WOOL in this case) in outputs like /is info, like:

image

Feature request: make it possible to configure a custom name for the item, e.g. "Colored Wool", in this case.

@matobodo
Copy link

Working on this.....

@matobodo
Copy link

matobodo commented Dec 2, 2020

I made small progress, block group name is being loaded from config file(hope I didn't overlook anything). As soon as I have more time, I'll finish it.
master...matobodo:6-add-group-name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants