update modded block support

This commit is contained in:
octarine-noise
2016-07-28 12:15:56 +02:00
parent 5efc974133
commit 8bdb5ca8fd
4 changed files with 23 additions and 11 deletions

View File

@@ -48,6 +48,7 @@ object LeafRegistry : BlockTextureInspector<TextureAtlasSprite>() {
init {
matchClassAndModel(Config.blocks.leaves, "minecraft:block/leaves", listOf("all"))
matchClassAndModel(Config.blocks.leaves, "minecraft:block/cube_all", listOf("all"))
matchClassAndModel(Config.blocks.leaves, "biomesoplenty:block/leaves_overlay", listOf("under"))
}
operator fun get(state: IBlockState, world: IBlockAccess, pos: BlockPos, face: EnumFacing): LeafInfo? {