#1.20.40 - Stable
1 messages Β· Page 1 of 1 (latest)
yoo
Yee
h
les go
yo
happy release day peeps
HI
LETS GOO
YAYY
frtnite
Fixed several crashes that could occur during gameplay
lets goo
yay
Yay!
@worn parcel Now you can use dynamic properties with no registration, it just returns undefined when empty
ping me if 1.7.0 is stable and if the new dynamic properties are stable with their new stuff
OK, noted!
no\
Flowing Lava and Water mixing mechanics now match Java Edition (MCPE-41103)
finally
Dynamic Properties will be stable in 1.20.50
ight thx
no minecraft.net article?
Happy Stable Day!
I wish it was preview day π
Happy Preview Day!
Yay
Happy Stable Day to you too!
ig wait for tomorrow
no
more like a happy not-a-banana-but-good-day
Yay π
Happy tangerine day
happy pokemon day
Yay!
happy "hoping that the game didn't crash on my phone" day
Can't wait for everyones horses to die in Survival now lmao
Also what's the point of making goat horns be heard from so far away?
well it's a horns.
What a cool little layout lol
oh no
Is this implying that horses finally take fall damage
after over 2 years of them not?
Placing invalid items into offhand slot will no longer cause them to drop? π€
I would assume so
They stopped boats from taking fall damage from high heights now too
Falling from a great height while in a Boat no longer deals fall damage (MCPE-152753)
WTF.... Deprecated "minecraft:weapon" component starting in version 1.20.40 Deprecated "minecraft:on_use" component starting in version 1.20.40 Deprecated "minecraft:on_use_on" component starting in version 1.20.40
Will items become useless?
roughly, yes
The /damage command with the "override" cause now causes damage through post hit invulnerability (MCPE-160290)
Does this mean we can havedealsDamagefalse and then override that?
it seems like a true damage that passes through damage sensor
but i aint sure
I think they are forcing people to have to use scripts...... well I guess I have to keep items on 1.20.10 in order to have stuff do stuff....
Use scripting
You've had months to prepare for this
Not yet... I love love love using the components and getting stuff to work that way... besides no time for JS yet... learning CS
for work
c sharp?
Yes
okay
meanwhile me who is stuck in between to learn JS
Time to see if my Add-On broke
Time to publish my mcpedl project
πI have been there, u just need to understand you will need someday to use pther languages and after learning JS you will cut down 50% the learning time for other languages
π
π¦ little blocks only now
Little as in under 30?
People were using it to have massive blocks that went waayy above the geometry limit.
I want to see a massive Creator update that has nothing but fixes/updates and additions to the Script API and everything else
Ah... I see Q.C. missed that one upon first release.... does anyone work in that dept?
Wasn't this already added?
I think you could do both... maybe now, just the one
QC?
Quality Control?
Testing....
I am too lazy to read the changelog did they add the new dynamic properties
Need a department called "How will those little F-ers try to get over on us"
They did
Minecraft v1.20.40 is out now on the Microsoft Store!
yay
Noice
I still do not understand how they can take away 90% of the ways to have an item call an event...
took it out of digger... now taking away on_use, on_use_on... I mean... really... Some things, it would be nice to know the long term plan..
ok fine 5 mins later
I mean we've known that was coming for ages now
Pretty sure people did, but objectively scripts are better for logic
There's a reason block events haven't moved to stable
You shouldn't get comfortable with experimental features.
Do scripts 100% work in Realms now?
Does everything they took away from items work in stable scripts?
Yes

Otherwise they wouldn't have taken it away
don't take it seriously, it's a joke
Poggy's Better on Bedrock vs SmokeStacks' Better Bedrock
Uh Oh
Mines will flop
The name better on bedrock still doesn't make sense to me
Bruh

Yay my Add-on did not break
Estrongel's Better Dirtblock
Now back to messing with nbt and leveldb
well it doesn't work on java so it is technically better on bedrock
Do they plan on taking things away from entities too.. to force to scripts?
How could it be better if it doesn't exist on java?
When Mojang removes features, they usually add an alternative.
Custom biomes are an exception.
that's the point lol
I think you worry too much
run_command
Correct me if I am wrong, but I thought Kayla said that the plan is to get HCF being stable, which means the components behind that toggle must be functioning on a long term without causing issues, hence they remove some experimental components
Only thing leaving is run command
And we have a script alternative to that ^ just hasn't made it to stable yet
Also I would love to have a holiday season without having to use the HCF toggle someday π
That would be the killer... dang... they plan to do away with that?
They have an alternative to it so
I wonder if I need to update my auxval to blockstate website
It's not as simple as converting your item use_on's to scripting, but there are tons of interactions we can do that involve entities
Most components will make it to stable, no events will. They're being moved to scripting
f
I am still crying on that one
Yeah, chargeable is the only item component left. And all block components are done
Good change
Too bad the method of lowering the durability of an item in scripting is pretty janky and annoying for people unfamiliar with it
well guess I am hitting up my js tutorial soon....
I will say, F for the weapons one, that added tooltips iirc
Yeh, do wish there was a better way on doing that but whatever
I think someone brought this up before and you said that the damage component does this now no?
Oh? Based
Time for me to start making Scripting guides
so like 1.20.10 is the new 1.16.100 for items
I haven't checked it myself but I believe someone here mentioned that
Me when ItemStack.durability--;
1.20.XX
There hasn't really been one big item update, it's been split across 1.20
I mean they started taking away events stuff as of 1.20.20... so you have to use 1.20.10 for digger events... 1.20.30 for on_use etcs
so 1.20.10 is as far as I can go in components
for items
Scripting π
Youβre one to talk, old man
spooky are you ready?
Mmmmmno
I can see the future

Luckily, I have my regolith filter to easily update blocks and items π I have github copilot to update my scripts. I am set for 1.21
The future where we create a highly advanced realm that nobody plays? Wouldnβt be my first time
my prediction:
world.afterEvents.itemUseOn.subscribe((eventData) => {
if(eventData.itemStack.typeId == "my:shovel") {
eventData.source.runCommandAsync("say hi")
}
else if (eventData.itemStack.typeId == "my:shovel2") {
eventData.source.runCommandAsync("say hi2")
}
else if (eventData.itemStack.typeId == "my:shovel3") {
eventData.source.runCommandAsync("say hi3")
}
else if (eventData.itemStack.typeId == "my:shovel4") {
eventData.source.runCommandAsync("say hi4")
}
else if (eventData.itemStack.typeId == "my:shovel5") {
eventData.source.runCommandAsync("say hi5")
}
})```
The pure hatred of people who lost their components
It's uhh not that bad
Me when regex
Not setting consts, no array, using runCommandAsync
pretty bad
switch case
not for that few conditionals
I was thinking a loop
Or yeah, regex is parfect for this instance but i doubt people name their items item1 item2 item3
if 15 of them
You could use a map
for loop with all items in an array
the point is. I'm not getting any free time to learn coding or to do any other activities
Here's what I did with my bucket entities
True but it's uhh 
I just realized we can better bucket entities now that the interact event is no longer in preview
Still can't interact with WATER
world.afterEvents.playerInteractWithEntity.subscribe((eventData) => {
const ITEM: ItemStack = eventData.itemStack;
if (
ITEM.typeId == 'minecraft:water_bucket' &&
BUCKETABLE_ENTITIES.has(eventData.target.typeId)
) {
pickupBucketEntity(
eventData,
BUCKETABLE_ENTITIES.get(eventData.target.typeId)
);
eventData.target.remove();
}
});
when all caps and underscores π₯Ή
I'll never get past how weird multiline stuff looks
I make my senior devs cry when they see my naming scheme
oh well.. happy release day... off to work
You can work around it but yeah
Does interact with block not detect water
I don't think so
runCommandAsync('say hi' + item.typeId.match(/(?<=)\d+?/).shift())
I would need to check again, my poor attempt at making my own fishing system was abruptly obliterated when I found that out
π¬ make the regex a separate variable though
Mmmmno
you ever juju on that beat so hard, but you a gangsta
I just finished updating it lol
The update isn't available on windows 10 ?
it's already there
uh, the upload is almost done
π
Uhh... switch case what is that? I only know else if spam - Some old Mojang employee
Yandere dev
That as well
Also I was thinking oft he nintendo switch for some reason
Switch case < Else if π
elif
me, an intellectual js switch (eventData.brokenBlockPermutation.type.id) { case "minecraft:clay": case "minecraft:dirt_with_roots": case "minecraft:dirt": case "minecraft:grass": case "minecraft:gravel": case "minecraft:mycelium": case "minecraft:podzol": case "minecraft:sand": case "minecraft:snow": case "minecraft:powder_snow": case "minecraft:soul_sand": case "minecraft:soul_soil": //WHERE IS COARSE DIRT GUYS //case "minecraft:coarse_dirt": if (getPlayerScore(player, 'gamemode') <= 2) { setPlayerScore(player, 'digging_xp_c', getPlayerScore(player, 'digging_xp_c') + 60) setPlayerScore(player, 'tot_digging_xp', getPlayerScore(player, 'tot_digging_xp') + 60) setPlayerScore(player, 'total_xp', getPlayerScore(player, 'total_xp') + 60) if (player.getDynamicProperty('experienceToggle') == true) { player.sendMessage(`Β§oΒ§7+Β§a${60} Β§r\uE10E Β§o%general.xp`) } if (getPlayerScore(player, 'digging_xp_c') >= getPlayerScore(player, 'digging_xp_r')) { levelUp(player, "digging_level", "digging_xp_c", "digging_xp_r", "digging.level", "runecraft:digging_level_up", diggingUnlocksArray) } } break; }
WHERE IS COARSE DIRT GUYS
isn't coarse dirt just dirt?
I think yes
Bro... player.getDynamicProperty('experienceToggle') == true why?
iirc to get coarse dirt you have to modify the state of the dirt
Running totals for XP >>>>
I will not elaborate
as opposed to just player.getDynamicProperty('experienceToggle')? Skill issue I guess
Disappointed
I'm going to need you to elaborate
I'm disappointed too Smokey
Fine
const currentLevel = levelArray.filter((passedLevels) => playerXP >= passedLevels).length;
huh
Yes π
Your way is what normies do
I like to keep everything looking the normie way
it's just this getPlayerScore(player, currentXp) >= getPlayerScore(player, requiredXp)
Falling from a great height while in a Boat no longer deals fall damage
instead of fixing it in Java, Mojang changed it to bedrock? lol
a bug is now a feature
Isn't the first time they've done that
Honestly it should give damage, I don't care if those forms of travel suck, let me horses die
I know
or destroy the boat maybe
Added a new βquery.is_in_lavaβ Query Function to Molang, to know if a mob is currently in Lava
Finally
Allow single value parsing for "minecraft:icon" item component
What this mean?
when does the 1.6.0 package release?
Nice what is this suppose to be, stock?
I still dont know how to use shoot projectile without on_use firing the event, how would you do it with scripting?
Use the shooter component
This update feels like an upgrade and a downgrade at the same time...
Why's that?
they do not π
FYI - here's the condensed update notes for creators: https://learn.microsoft.com/en-us/minecraft/creator/documents/update1.20.40
You spoiled the coming of explosion event in stable π
Kayla didn't, the 2 who wrote the changelog did
when npm packages will be released for 1.20.40 stable?
well, guess ill just keep making my items on older format versions
Ahoooy!
Yo sorry for my ignorance
All these "moved from beta to..." Means that if an addon used those beta thingies experiments, now they should work on non-experimental worlds?
In theory at least*?
yep
so one day bedrock modding will be only based on scripts?
well, we could just keep using older format versions, it wouldn't make any difference at all
No, there will still be a combination with just (json) components
got it
#1154068632687611945 Mojang replied here
scripts break on every single minor update, that why I avoid using them
I would need to keep updating them for the rest of my file If I want to keep my addon working
So do blocks and items
I do, but now everything keeps getting deprecated
Use the stable apis only then
dumb question but if I keep using older format versions, like 1.19.50, in 4 years would that still work?
i mean like, the things that were not deprecated on 1.19.50 but were deprecated on later versions would work if I keep my formart version to 1.19.50?
Coool thank you!
most of my stuff would become useless, like the items for example
1.20 would change a lot to ScriptAPI and deprecating components, but the next updates should have less of those
Just update them
Seriously
how would I update something that was deprecated?
But that is mainly because of getting the experimental stuff becoming stable
theres no alternative
Depends on which one you talk about
digger, on use, on use on, weapon
items are about to become only crafting materials
nothing more
Use scripting
dang... so thats really the only option
do you guys dont feel bad for having to update scripts every time?
Nope
It ees what it ees
Weapon can be replaced by the damage component
And people have worked out script alternatives for on_use iirc
imagine you make spmething amazing to 4 days later have everything broken
Ive had to update my addon from 1.19.70 to 1.20.40
And scripts are mostly stable now anyways
Dont use experimental then
Simple read patch notes and prepare for updates
your entire project that you gave all of yourself will depend on constant maintenance to keep it working, you wont ever have it just "displayed in a museum"
if we at least could choose our mc versions
Again, stable scripts
I dont have this problem with experimentals tho
No. I have experience developing and maintaining the same Java map since 1.8.
are stable scripts safe from having something deprecated?/ are stable scripts worth it?
i mean, can you really make stuff with just the stable scripts
Stable scripts will never have anything changed, and many versions exist- from 1.0.0 up to 1.6.0 on this release
i mean, you could just let it sit there and people would still be able to play it by just choosing older versions
well, at least that. thats good to hear
Not enyirely true...stable can have breaking changes
Stable scripts were vary limited when first released, but the majority of stuff is stable scripts now
However those changes are highly unlikely and mostly happen if an entire thing is rewritten
I havent had time to learn scripts yet, where should I start?
π Exactly, I would only worry if they went from 1.X.X to 2.X.X
True, but I wanted to use newer features. π€·ββοΈ
I wonder if it will be 1.10.0 instead of 2.0.0
probably 1.10.0 lol
If you don't know the fundamentals of JS, I'd start there.
and after that, for bedrock specifically?
and thank you, ill just go learn scripts to use the stable stuff
Depending on how experienced you are at programming, you might be able to look at the docs and start figuring out how everything works.
This doesn't work for everyone, but I like tearing apart maps and addons and figuring out how they work.
I'm kind of in the same boat too, but I just need to write more scripts. π
1.10.0 considering they follow a Semantic Versioning schem
Honestly, I've been suffering from tooling hell instead. I want to use TS instead of JS and haven't figured out a decent workflow yet.
navi said they are planning some kind of 2.X.X but its going to be like API reboot, so many things will be redesigned, they dont want to remove or redesign things in stable versions 1.X.X for making move version to version as smooth as possible
but dont expect 2.X.X soon lol
Oooo
use lua
lua has just one thing cooler and thats custom operators, idk how thats called
but personally JS is the choice for me
Operator overloading.
oh ya that thing
Were the enums not added in the typings?
for some reason its defined here, but it doesnt exist
its just concept from API examples, its just outdated
There is no such a ItemComponentTypes
so there is no enum?
ya, there is no such a thing
its just concept
but in preview there is some kind of component map
Removed limits on the count and size of properties that can set on an entity or the world
They finally made properties good
Also this
Property registration is no longer required and propertyRegistry has been removed from the worldInitialize event
Happy stable!
Why is there no fade time for Player.stopMusic? is this something coming
it should be like the /music stop command
where we can do Player.stopMusic(fadeSeconds?: float)
the musicOptions interface includes fade?
Yay
Is there any way to reset just one property though?
I know there's clearDynamicProperties but that clears everything, I don't think you can specify an identifier
Set the property to undefined
or just donβt specify a value
can you add variable.attack_time public by default on the player?
yeah
I don't see it being mentioned anywhere here.
they forgot to mention it
yeah the way I saw my texture pack button are oddly like no alpha whatsoever indicates me that
but yeah trying to see if my game still gonna crash with fancy graphic on
hopefully not
yeah it's not gonna get fixed
what's wrong with them?
the leather helmet still not fixed
wtf is that lmao
leather helmet xD
how did you manage to do that?
enchanting them
oh enchanted
i see no problem with it :/
It's the new pink glitch.
Mobile only and it's only visible from looking at another player wearing it
Ah xd
was this something in the last update too?
i don't play mobile so i've never seen this before, i only use it for testing scripts with alts
Tf is that
that's what happens on mobile with enchanted leather helmets lol
That's so weird and creepy
yeah, Gabriel said "still not fixed" which makes me think this isn't the only update that this has been a thing for
@odd sphinx It happens with every enchanted piece of armor π
Netherite Helmet
Chainmail Chestplate
Diamond Leggings (where they at!?)
Golden Boots
yes
fuck
again just remember i'm also supposed to be wearing diamond leggings in that screenshot lol
the boots just turn into leggings basically
that does not happen to me
just played cubecraft alot and I don't see any issues like this honestly.
on mobile?
Yep.
servers are goofy though, they probably have fixes for it
The /damage command with the "override" cause now causes damage through post hit invulnerability (MCPE-160290)
I tried this and the entity does get 'damaged' (glow red) through post-hit invulnerability, but their health stays the same. Can someone confirm if this is really the case?
i think it works two or three times then ignores all consequent damage commands, until u give it a second to reset
yeah seems to be the case
when I tried, thats not the case when I applied on a player
what's interesting is this makes them invulnerable to other damage too... although it looks painful xD
This version seems, weird.
I've gotten pink glitch for 3th time this week, sometimes randomly "server sent broken pocket"
and also sometimes the game does not recognize my username and instead throws some placeholder ones. no Steve, Player or whatsoever. just random skin strings.
those issues that I encountered was mostly on a phone.
i've been having this issue since .30 i think
I've been getting that issue on .30 but it's really uncommon. but this one is common for me.
i am happy that i can finely comprehend the API section of the change log
minecraft:on_use_on somehow still works in 1.20.40 even though the min game version is 1.20.40
whats the format version of the item file, thats why
ah, so it only affects files with format version of 1.20.40?
yes
that's good
untill world.afterEvents.useOn gets released, it's good to be able to use minecraft:on_use
you use stable?
yes
ah ok makes sense
Despite this note, it appears that "items" has been removed.
i got an error for using it
i can't open bedrock.wiki links without vpn and my phone isn't with me right now, tell me what it is?
it's fun
just have a decent understanding of javascript, add a script module in your manifest, and write some .js files in the scripts folder, it's that simple
when you say it like that it is simple
Stay below 1.20.40 π
The game? The items? or manifest min engine version?
?
If you don't set your format version to 1.20.40+ then you don't have to use scripting
If that's the case, what's more optimized?
the items
scripting
faster and allows for better logic
Reusable logic too.
It may not seem like it, but the scripting api is also actually pretty powerful.
can't wait for dynamic properties and block states to get released!
Item propertied when
To stable? Isnt dynamic properties already here?
is it?
I think it's stable in previews
fr
Is the Boss Bar broken in 1.20.40 and how long has it been this way?
I added the boss component to an entity and set the distance to 250 but after about 50-100 blocks it disappeared.
When flying back over to it, even standing next to it I no longer see the boss name... Also updating it's name didn't seem to change anything.
I had this problem before 1.20.40. What I did to prevent it was set the boss bar render distance below 64 (entity render distance)
Okay, thanks
ya, i think so it should arrive since 1.20.50
So... game crashed while creating a flat test world, still selecting packs to test... that cannot be good.
In my spanking brand new 1.20.40
1.20.40 likes to crash π
I don't think I've crashed once since 1.20.40 released unless I've been trying to use shaders on my phone
1.20.40 has been totally fine for me on mobile and pc
I create addons and scripts so not sure what yall doing different
Android * & windows 10 *
@slow rivet
I work on Geyser :p
Awh
Pocketmine and gophertunnel also had similar issues
They seemed to add a lot more validation that causes the client to crash in cases that did not before. Though in our case it was mostly related to chunks. But perhaps some bleeds over into scripting.
well that was completely unexpected
Queue the hate comments :/
hate for what?

