Posted March 13, 20196 yr I have several blocks which all use the same model and i use forge blockstate files to change the textures. However, since updating to 1.13 all blocks use the textures that are defined in the model file. This is one of the Blockstate files: { "forge_marker": 1, "defaults" : { "textures": { "front": "df-roads:road_sign_info_1a", "back": "df-roads:road_sign_back_square" } }, "variants": { "facing": { "north": { "model": "df-roads:road_sign", "uvlock": false }, "east": { "model": "df-roads:road_sign", "y": 90, "uvlock": false }, "south": { "model": "df-roads:road_sign", "y": 180, "uvlock": false }, "west": { "model": "df-roads:road_sign", "y": 270, "uvlock": false } }, "down": { "true": { "submodel": { "post_down": { "model": "df-roads:road_sign_connector", "uvlock": true } } }, "false": { } }, "up": { "true": { "submodel": { "post_up": { "model": "df-roads:road_sign_connector", "x": 180, "uvlock": true } } }, "false": { } }, "north": { "true": { "submodel": { "post_north": { "model": "df-roads:road_sign_connector", "x": 90, "uvlock": true } } }, "false": { } }, "south": { "true": { "submodel": { "post_south": { "model": "df-roads:road_sign_connector", "x": 90, "y": 180, "uvlock": true } } }, "false": { } }, "east": { "true": { "submodel": { "post_east": { "model": "df-roads:road_sign_connector", "x": 90, "y": 90, "uvlock": true } } }, "false": { } }, "west": { "true": { "submodel": { "post_west": { "model": "df-roads:road_sign_connector", "x": 90, "y": 270, "uvlock": true } } }, "false": { } } } } And this is the Model file: { "textures": { "front": "df-roads:block/road_sign_warn_11a", "back": "df-roads:block/road_sign_back_triangle", "2": "df-roads:block/metal", "particle": "df-roads:block/metal" }, "elements": [ { "name": "Cube", "from": [ 1.0, 1.0, 6.9 ], "to": [ 15.0, 15.0, 6.9 ], "faces": { "north": { "texture": "#front", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "cullface": "north" }, "south": { "texture": "#back", "uv": [ 0.0, 0.0, 16.0, 16.0 ], "cullface": "south" } } }, { "name": "Cube", "from": [ 7.0, 7.0, 7.0 ], "to": [ 9.0, 9.0, 9.0 ], "faces": { "east": { "texture": "#2", "uv": [ 0.0, 0.0, 2.1, 2.0 ] }, "south": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }, "west": { "texture": "#2", "uv": [ 0.0, 0.0, 2.1, 2.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.1 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 2.1 ] } } } ] } When i place the block in the world it shows the texture of the model file and not those of the blockstate file. This worked perfectly fine in 1.12.2, so I don't really know what I'm missing. Thanks in advance Edited March 27, 20196 yr by derfl007
March 14, 20196 yr I've got a similar problem too All my (forge) blockstates that worked with no problems in 1.12.2 stopped working in 1.13.2. I use Minecraft "cube" model for my blocks and I get this errors in the log: [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #down in minecraft:block/cube [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #up in minecraft:block/cube [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #north in minecraft:block/cube [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #south in minecraft:block/cube [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #west in minecraft:block/cube [Client thread/WARN] [minecraft/ModelBakery]: Unable to resolve texture reference: #east in minecraft:block/cube It is like the defaults textures in the blockstate are ignored. I tried to set the textures in every variants but they are ignored too
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.