Class GenerationBar
java.lang.Object
net.neoforged.neoforge.server.command.generation.GenerationBar
- All Implemented Interfaces:
AutoCloseable
Special thanks to Jasmine and Gegy for allowing us to use their pregenerator mod as a model to use in NeoForge!
Original code: https://github.com/jaskarth/fabric-chunkpregenerator
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ServerBossEvent
private static final DecimalFormat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(ServerPlayer player) void
close()
void
update
(int ok, int error, int skipped, int total)
-
Field Details
-
PERCENT_FORMAT
-
bar
-
-
Constructor Details
-
GenerationBar
public GenerationBar()
-
-
Method Details
-
update
public void update(int ok, int error, int skipped, int total) -
addPlayer
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-