-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new hook #470
Comments
Explanation would be nice. |
Yrp |
function blockUpdateHook(eventType) or add x,y,Z //Block.setUpdatable(id,boolean) //weather the block can be updated |
Doesn't make sense to me and most of that would cause errors anyway |
would need a digBlock constant but the thing is there's destroyBlock(x,y,z, side) which is a better option |
1 similar comment
would need a digBlock constant but the thing is there's destroyBlock(x,y,z, side) which is a better option |
When would block update hook get called? Is it only called for player modification of blocks or is it called on any block change (e.g. snow melting, fire spreading)? |
1 similar comment
When would block update hook get called? Is it only called for player modification of blocks or is it called on any block change (e.g. snow melting, fire spreading)? |
Yes if there a block update nearby it types would be like fireSpread place block and you would specify what should it do if updated @zhuowei |
@zhuowei
function blockUpdateHook()
Block.setUpdatable
The text was updated successfully, but these errors were encountered: