Registers blocks, items, stats, etc.
()
| 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 |
no test coverage detected