Scroller with correct clipping

This commit is contained in:
Frank 2022-07-15 14:52:35 +02:00
parent 472aa16967
commit 67d21f3fba
10 changed files with 142 additions and 27 deletions

View file

@ -28,7 +28,7 @@ public class ModMenuEntryPoint implements ModMenuApi {
@Override
public ConfigScreenFactory<?> getModConfigScreenFactory() {
return (parent) -> new TestScreen(Component.literal("Hello Test"));
return (parent) -> new TestScreen(parent, Component.literal("Hello Test"));
//return (parent) -> new MainScreen(parent);
}