support leaves that don't use the model minecraft:block/leaves
This commit is contained in:
@@ -50,6 +50,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"))
|
||||
}
|
||||
|
||||
operator fun get(state: IBlockState, world: IBlockAccess, pos: BlockPos, face: EnumFacing): LeafInfo? {
|
||||
|
||||
Reference in New Issue
Block a user