Quark Oddities

Quark Oddities

22M Downloads

[1.12.2] Chest buttons don't show up in GuiContainer instances, even if they implement `vazkii.quark.api.IChestButtonCallback`

gchpaco opened this issue ยท 1 comments

commented

I'm trying to extend Rustic's containers with support for all the various Quark features, and the buttons have me stuck. Rustic containers aren't subclasses of GuiChest (dunno why, doesn't matter right now), which means that unless I manually add them to the "Force GUI override" class list in the configs, they will never ever pass the test at https://github.com/Vazkii/Quark/blob/8b9d65878e796708bc8c75704184b72ca7e74655/src/main/java/vazkii/quark/management/feature/ChestButtons.java#L101

It would be nice if implementing IChestButtonCallback would be enough to make that feature work; since IChestButtonCallback is affirmatively requesting that the feature be used.

commented

Sounds good.