public static interface IInfoRenderer.Block
| Modifier and Type | Method and Description |
|---|---|
Book |
getBook() |
IInfoRenderer |
getInfoRenderer(Book book,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state,
net.minecraft.util.math.RayTraceResult rayTrace,
net.minecraft.entity.player.EntityPlayer player)
Gets an IInfoRenderer for a block.
|
@Nullable IInfoRenderer getInfoRenderer(Book book, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state, net.minecraft.util.math.RayTraceResult rayTrace, net.minecraft.entity.player.EntityPlayer player)
book - - The book this instance belongs toworld - - The current worldpos - - The position of the block being looked atstate - - The current state of the blockrayTrace - - A RayTraceResult containing data about the block currently looked atplayer - - The player looking at the block@Nonnull Book getBook()