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

Method register

src/main/java/net/minecraft/init/Bootstrap.java:506–523  ·  view source on GitHub ↗

Registers blocks, items, stats, etc.

()

Source from the content-addressed store, hash-verified

504 * Registers blocks, items, stats, etc.
505 */
506 public static void register()
507 {
508 if (!alreadyRegistered)
509 {
510 alreadyRegistered = true;
511
512 if (LOGGER.isDebugEnabled())
513 {
514 redirectOutputToLog();
515 }
516
517 Block.registerBlocks();
518 BlockFire.init();
519 Item.registerItems();
520 StatList.init();
521 registerDispenserBehaviors();
522 }
523 }
524
525 /**
526 * redirect standard streams to logger

Callers 3

MinecraftMethod · 0.95
registerItemMethod · 0.45
registerBlockMethod · 0.45

Calls 6

redirectOutputToLogMethod · 0.95
registerBlocksMethod · 0.95
initMethod · 0.95
registerItemsMethod · 0.95
initMethod · 0.95

Tested by

no test coverage detected