| Modifier and Type | Method and Description |
|---|---|
BlockBehavior |
getBehavior(BlockType type) |
BlockState |
getBlock(BlockType type) |
BlockState |
getBlock(Identifier id) |
BlockState |
getBlock(Identifier id,
int meta) |
BlockState |
getBlock(int runtimeId) |
BlockState |
getBlock(ItemStack item) |
com.google.common.collect.ImmutableList<BlockState> |
getBlockStates() |
int |
getRundtimeId(Identifier id,
int meta) |
int |
getRuntimeId(BlockState state) |
boolean |
isBlock(Identifier id) |
void |
overwriteBehavior(BlockType type,
BlockBehavior behavior) |
void |
register(BlockType type,
BlockBehavior behavior) |
void register(BlockType type, BlockBehavior behavior) throws RegistryException
RegistryExceptionBlockBehavior getBehavior(BlockType type)
void overwriteBehavior(BlockType type, BlockBehavior behavior)
boolean isBlock(Identifier id)
int getRuntimeId(BlockState state)
int getRundtimeId(Identifier id, int meta)
BlockState getBlock(BlockType type)
BlockState getBlock(ItemStack item)
BlockState getBlock(Identifier id)
BlockState getBlock(Identifier id, int meta)
BlockState getBlock(int runtimeId)
com.google.common.collect.ImmutableList<BlockState> getBlockStates()
Copyright © 2021. All rights reserved.