Unused plant-like material
An unused material is present in the game's code. It is broken faster by swords, has a foliage color, and is destroyed by pistons. However, no blocks actually use the material.
Code in question is in this comment
Created Issue:
Unused plant-like material
An unused material is present in the game's code. It is broken faster by swords, has a foliage color, and is destroyed by pistons. However, no blocks actually use the material.
Added Attachments:
Deleted Comment:
Is this a joke?
Deleted Comment:
This report is invalid.
Deleted Comment:
I don't see how this report is ligament. It seems like this a joke or something.
Added Affects Versions: 1.16
Added Affects Versions: 1.16.2-pre2
Added Affects Versions: 1.16.2-rc2
Added Affects Versions: 1.16.2
Changed Description:
An unused material is present in the game's code. It is broken faster by swords, has a foliage color, and is destroyed by pistons. However, no blocks actually use the material.
Code in question is in this comment
Added Affects Versions: 1.16.3-rc1
Removed Attachments:
Added Affects Versions: 20w45a
Removed Affects Versions: 20w45a
Added Affects Versions: 20w49a
Can you post an image of this material
Can you provide an image of the material in question
Anthony Cicinelli materials don't have specific textures, as far as I know, they just have different blocks that use that material.
What is the block that it uses as the material then?
There is no block that uses the material because the bug states that it is an unused material
What is the material called in the files then.
No idea
haykam do you know what the material is called in the files
Can you please give more details and some images of the file or it in file explorer?
What folder was the file under?
there/is/also/no/folder/there_is_no_file.json
There is no file.
You said it has a foliage texture. Does it take a texture from in game like tall grass or a dead bush?
Or does it look like this https://www.google.com/url?sa=i&url=https%3A%2F%2Fminecraft.fandom.com%2Fwiki%2FShrub&psig=AOvVaw0Xv7yt1ehberDPGVpvb_-B&ust=1592794463924000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCLj7jvPzkeoCFQAAAAAdAAAAABAD
oh by plant like material you mean the shrub?
No, it just would look like plants on a map
Just as always a reminder that the bug tracker is not supposed to be used as a discussion forum, please instead discuss this either on the Mojira Subreddit or the Mojira Discord.
You said "in the game's code", could you please provide the corresponding code in some form?
Yarn mappings
UNUSED_PLANT = new Material.Builder(MapColor.DARK_GREEN).destroyedByPiston().build();And is mined faster with a sword:
Still happens in 20w27a
Either happens too in 20w49a (maybe ok)
Perhaps confirming in 21w06a.
Unused code is no longer removed.
I'm reopening this and leaving it to Mojang's decision, as I don't think the "unused code" speaking from an optimizer's POV applies here.
Isn't this fixed in 21w13a?
Can confirm in 1.19.3 and 23w03a