Error when placing certain blocks
When placing some blocks like bells or smooth stone I am getting an error:
[UserName] Oops, don't know this block (id:smooth_stone)
1
-
I have stumbled on this same problem. The error is because there is no block ID set for SMOOTH_STONE in the file enums.d.ts
I would suggest to add to the 'constants.ts' file:
const SMOOTH_STONE = Block.SmoothStone;And enums.d.ts:
declare const enum Block {SmoothStone = 438}To reproduce the error:- Make a world
- Open the Code Builder
- Use code that is triggered on Iteminteraction. For example:
player.onItemInteracted(WOODEN_AXE, function () {// some code here})And then place a Smooth stone block in the world.
1 -
Brandon Sperger did you get this figured out?
0 -
Nope, still happens.
0 -
I don't know if these forums give a notification on a post, so I just bump this with your names Brandon Sperger, Minecraft EDU Official and Minecraft Education DEV
0
Please sign in to leave a comment.
Comments
4 comments