support leaves that don't use the model minecraft:block/leaves
This commit is contained in:
1 parent
bbd4df418c
commit
9a544b1b53
1 file changed
+1
@@ -50,6 +50,7 @@ object LeafRegistry : BlockTextureInspector<TextureAtlasSprite>() {
|
|||||||
|
|
||||||
init {
|
init {
|
||||||
matchClassAndModel(Config.blocks.leaves, "minecraft:block/leaves", listOf("all"))
|
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? {
|
operator fun get(state: IBlockState, world: IBlockAccess, pos: BlockPos, face: EnumFacing): LeafInfo? {
|
||||||
|
|||||||
Reference in new issue
Block a user