PrismarineJS / minecraft-assets

Provide minecraft assets along with json files that help to use them.
http://minecraft-data.prismarine.js.org/
60 stars 17 forks source link

Brown Mushroom Block texture is missing #9

Open GalHorowitz opened 4 years ago

GalHorowitz commented 4 years ago

The texture for brown_mushroom_block is missing.

GalHorowitz commented 4 years ago

Actually it seems that the texture content exists, but for some reason there are two keys with the name 'brown_mushroom_block', one which has the texture and the other is null. The null one overrides the real one. This is not the only block for which this happens.

IdanHo commented 4 years ago

looking at the image_names.js (the extractor script) it looks like it doesnt support 'multipart' blockstates (e.g. when blocks have different textures based on placement direction), which causes it to return null, not sure how it managed to extract one with the texture beforehand. (see https://minecraft.gamepedia.com/Model#Block_states for the multipart tag)