textureAll does not work with Shaped block types like slabs
ChiefArug opened this issue ยท 0 comments
Minecraft Version
1.18.2
KubeJS Version
kubejs-forge-1802.5.2-build.415
Rhino Version
rhino-forge-1802.1.10-build.155
Architectury Version
architectury-4.4.60
Forge/Fabric Version
40.1.19
Describe your issue
When trying to use texureAll on a custom slab, stair, button, pressure plate ect block it does not work and just comes out as a missing texture.
This is because textureAll only adds each of the Directions to the texture json object, but all the ShapedBlockBuilders read from the "texture" property on it.
using texture('texture', 'kubejs:custom_wacky/texture_path') does work.
Suggested fix is to either make textureAll also add the texture to the "texture" property, or overriding textureAll in ShapedBlockBuilder to set the "texture" property of the textures json map.
Crash report/logs
No response