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

Method registerItemBlock

src/main/java/net/minecraft/item/Item.java:974–977  ·  view source on GitHub ↗

Register a default ItemBlock for the given Block.

(Block blockIn)

Source from the content-addressed store, hash-verified

972 * Register a default ItemBlock for the given Block.
973 */
974 private static void registerItemBlock(Block blockIn)
975 {
976 registerItemBlock(blockIn, new ItemBlock(blockIn));
977 }
978
979 /**
980 * Register the given Item as the ItemBlock for the given Block.

Callers 1

registerItemsMethod · 0.95

Calls 4

registerItemMethod · 0.95
getIdFromBlockMethod · 0.95
getNameForObjectMethod · 0.80
putMethod · 0.65

Tested by

no test coverage detected