satoshinm / NetCraft

Web-based fork of fogleman/Craft ⛺
https://satoshinm.github.io/NetCraft/
MIT License
57 stars 13 forks source link

flower to stone #97

Closed KonoromiHimaries closed 7 years ago

KonoromiHimaries commented 7 years ago

flower change to stone

ss 2017-05-06 11_10_42-netcraft

satoshinm commented 7 years ago

Stone is translated as follows:

125:        blocksToWeb.put("STONE", 6); 
136:        blocksToWeb.put("COBBLESTONE", 11);

397:            case 6: material = Material.STONE; break;
402:            case 11: material = Material.COBBLESTONE;

not sure how flowers are getting translated to stone, the default for untranslated materials is DIAMOND_ORE.

satoshinm commented 7 years ago

Tested all the flowers with WebSandboxMC v1.0.3, relogged and the white flower (22) and blue flower (23) placed from the web client change to stone:

screen shot 2017-05-07 at 9 33 43 pm screen shot 2017-05-07 at 9 33 57 pm
satoshinm commented 7 years ago

There are more flower types in NetCraft than in Minecraft... I'll translate to red rose and yellow flower for now.