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

Method getStateFromMeta

src/main/java/net/minecraft/block/Block.java:259–262  ·  view source on GitHub ↗

Convert the given metadata into a BlockState for this Block

(int meta)

Source from the content-addressed store, hash-verified

257 * Convert the given metadata into a BlockState for this Block
258 */
259 public IBlockState getStateFromMeta(int meta)
260 {
261 return this.getDefaultState();
262 }
263
264 /**
265 * Convert the BlockState into the correct metadata value

Callers 15

playAuxSFXMethod · 0.95
processCommandMethod · 0.95
processCommandMethod · 0.95
onBlockPlacedMethod · 0.95
readEntityFromNBTMethod · 0.95
getColorFromItemStackMethod · 0.45
getColorFromItemStackMethod · 0.45
getColorFromItemStackMethod · 0.45
readFromNBTMethod · 0.45
FlatLayerInfoMethod · 0.45
generateChestContentsMethod · 0.45
addComponentPartsMethod · 0.45

Calls 1

getDefaultStateMethod · 0.95

Tested by

no test coverage detected