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

Method getRegisteredBlock

src/main/java/net/minecraft/init/Blocks.java:241–244  ·  view source on GitHub ↗

Returns the Block in the blockRegistry with the specified name.

(String p_180383_0_)

Source from the content-addressed store, hash-verified

239 * Returns the Block in the blockRegistry with the specified name.
240 */
241 private static Block getRegisteredBlock(String p_180383_0_)
242 {
243 return Block.blockRegistry.getObject(new ResourceLocation(p_180383_0_));
244 }
245
246 static
247 {

Callers 1

BlocksClass · 0.95

Calls 1

getObjectMethod · 0.65

Tested by

no test coverage detected