MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getGameRules

Method getGameRules

src/main/java/net/minecraft/world/World.java:3509–3512  ·  view source on GitHub ↗

Gets the GameRules instance.

()

Source from the content-addressed store, hash-verified

3507 * Gets the GameRules instance.
3508 */
3509 public GameRules getGameRules()
3510 {
3511 return this.worldInfo.getGameRulesInstance();
3512 }
3513
3514 /**
3515 * Updates the flag that indicates whether or not all players in the world are sleeping.

Callers 15

updateTaskMethod · 0.95
tickMethod · 0.45
updateBlocksMethod · 0.45
setDebugWorldSettingsMethod · 0.45
sendCommandFeedbackMethod · 0.45
spawnAsEntityMethod · 0.45
updateTickMethod · 0.45
updateTickMethod · 0.45

Calls 1

getGameRulesInstanceMethod · 0.45

Tested by

no test coverage detected