MCPcopy Create free account
hub / github.com/MaxBittker/rs-sdk / nextBoolean

Method nextBoolean

server/engine/src/util/JavaRandom.ts:113–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 nextBoolean() {
114 return next(1) != 0;
115 }
116
117 nextFloat() {
118 return next(24) / p2_24;

Callers

nothing calls this directly

Calls 1

nextFunction · 0.70

Tested by

no test coverage detected