@Override
public void registerNonRenderingProperties(Block block)
{
if (block instanceof IHSHBlock)
{
IHSHBlock hshBlock = (IHSHBlock)block;
IProperty[] nonRenderingProperties = hshBlock.getNonRenderingProperties();
if (nonRenderingProperties != null)
{
// use a custom state mapper which will ignore the properties specified in the block as being non-rendering
IStateMapper custom_mapper = (new StateMap.Builder()).ignore(nonRenderingProperties).build();
ModelLoader.setCustomStateMapper(block, custom_mapper);
}
}
}
ClientProxy.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:HomeSweetHome
作者:
评论列表
文章目录