make either not bad

This commit is contained in:
dfsek
2025-12-28 22:27:08 -07:00
parent b851b2f881
commit 4f672dfb7b
3 changed files with 103 additions and 61 deletions

View File

@@ -21,10 +21,7 @@ public class ShortcutBlockStateFallbackAddon implements AddonInitializer {
platform.getEventManager()
.getHandler(FunctionalEventHandler.class)
.register(addon, ConfigPackPreLoadEvent.class)
.then(event -> event.getPack()
.registerShortcut(Palette.class, "FALLBACK",
(configLoader, input, tracker) -> new SingletonPalette(
configLoader.loadType(BlockState.class, input, tracker))))
.failThrough();
}