I read that custom_components has been introduced recently but in the documentation i didn't find the information that how i can use the old component now. I am obligated to use typescipt in the newer versions? if yes, how can I make it work? I never had contact with this language before
Before that it was so simple to use the component but now it seems much more complicated
#Component on_fall_on doesn't work anymore
1 messages · Page 1 of 1 (latest)
Do you have the entity fall on component? Im on mobole rn so i cant view your file
my objective is to play a sound when i jump on a block
the component that i have is this
"minecraft:on_fall_on": {
"event": "bts:play_sound",
"min_fall_distance": 1
}
and the event is
"bts:play_sound": {
"run_command": {
"target": "other",
"command": "playsound mob.slime.small @a ~~~"
}
}
even the event isn't working now too
Oh thatd not how you use custom components
Block events are being removed
You can't use the old component anymore. You also don't have to use typescript, you can manually edit js files too. Those are the only 2 options though. Here are some helpful links to get started
Scripting: #1203174431971876934 message
Custom components:https://learn.microsoft.com/en-us/minecraft/creator/documents/customcomponents?view=minecraft-bedrock-stable
oh god
so they are changing the components to scripting
Yeah
Sadly
There can be much more done with it though
Mojang just decided they didn't want both I guess, or that it wasn't worth the effort to also finish the json events
okay, thanks to both of you for the help
looks like I have to learn the scripting language anyway apparently
Yeah. On the bright side, knowing how to program is a useful skill overall
You're right, I'm in a college related to programming and I already have other languages pending lol
This semester I have programming for mobile devices and AI and I'm really bad at object-oriented