public interface BlockClient
| 限定符和类型 | 方法和说明 |
|---|---|
int |
colorMultiplier(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos,
int renderPass) |
float |
getAmbientOcclusionLightValue() |
int |
getBlockColor() |
net.minecraft.util.EnumWorldBlockLayer |
getBlockLayer() |
net.minecraft.creativetab.CreativeTabs |
getCreativeTabToDisplayOn() |
int |
getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos) |
net.minecraft.block.Block.EnumOffsetType |
getOffsetType() |
int |
getRenderColor(net.minecraft.block.state.IBlockState state) |
net.minecraft.util.AxisAlignedBB |
getSelectedBoundingBox(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos) |
net.minecraft.block.state.IBlockState |
getStateForEntityRender(net.minecraft.block.state.IBlockState state) |
boolean |
isTranslucent() |
void |
randomDisplayTick(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand) |
boolean |
shouldSideBeRendered(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing side) |
boolean isTranslucent()
int getMixedBrightnessForBlock(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos)
boolean shouldSideBeRendered(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.util.EnumFacing side)
net.minecraft.util.AxisAlignedBB getSelectedBoundingBox(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos)
void randomDisplayTick(net.minecraft.world.World worldIn,
net.minecraft.util.BlockPos pos,
net.minecraft.block.state.IBlockState state,
java.util.Random rand)
net.minecraft.util.EnumWorldBlockLayer getBlockLayer()
int getBlockColor()
int getRenderColor(net.minecraft.block.state.IBlockState state)
int colorMultiplier(net.minecraft.world.IBlockAccess worldIn,
net.minecraft.util.BlockPos pos,
int renderPass)
float getAmbientOcclusionLightValue()
net.minecraft.creativetab.CreativeTabs getCreativeTabToDisplayOn()
net.minecraft.block.state.IBlockState getStateForEntityRender(net.minecraft.block.state.IBlockState state)
net.minecraft.block.Block.EnumOffsetType getOffsetType()