-
Notifications
You must be signed in to change notification settings - Fork 19
Renderer
RIN edited this page Apr 19, 2022
·
1 revision
HRenderer renderer = new HRenderer(location, 30,
players -> players.stream().map(HumanEntity::getName).forEach(System.out::println),
players -> players.stream().map(HumanEntity::getName).forEach(System.out::println),
hRenderer -> System.out.println("everyone removed")
).showEveryone(true);
HCore.syncScheduler().every(1)
.run(() -> renderer.render());