#1.21.0.22 - Preview
1 messages · Page 2 of 1
the web page is fetching the latest one
that's what i've been sayin
does anyone know any updated deferred rendering resource packs?
Define updated
uses the colour grading stuff
Mines still in development. I doubt anyone has pushed it publicly yet
maybe poggys
but idk
ye on his discord theres a test version for download
I am only noticing this now but
Sometimes my brightness gets real low when playing deferred
Whenever I look around
Thats probably why most people don’t like my deferred pics
Or think they look weird
auto exposure
it changes brightness depending on what you look at
Ye
its an intended feature
just came back reading 1/3rd of the Microsoft docs related to both resource packs and behaviour packs combined
Never knew it was that easy to make behaviour packs lol

Hmmm... Is this version of BDS doesn't come out yet?
still not released
okay
word
😅 Ik Ik I'm complaining, but, really hoping v2 of custom components will come soon with parameter support because making 3 different classes for this will be a pain just to accomodate air, water, fire
Man...it is weird on_use_on is for blocks only. Wonder if they get playerInteractWithEntity out into stable we'll get an equivalent for entities....
@safe gazelle , is the new onCompleteUse for minecraft:on_use_duration_complete or minecraft:on_consumed? Or both?
Probably because entities already have on_interact
Ok...but I don't want to edit vanilla entities
Yeah, things like that would help
It would be cool to have a blocks.json-like file to apply custom components to vanilla blocks also… Lots of possibilities, not game breaking as directly editing vanilla blocks…
well you can always use for loops and arrays so it complexity is always 1 + for loop
Small issue, there is no way to detect what kind of liquid to place unless i make the users add the tag component and add a custom tag so now instead of configuring in one component they have to configure two
Sorry, i do not understand the scenario i guess
on_consumed is still coming. This week I think. And that should be the last Item event.
👍 Gotcha, Seems like onCompleteUse will have to do for now, seems very similar in function
is on_consumed a scripting event or item component?
Well, it was an item component to trigger and event. But it will be moved to scrippting
So if I can't change player BP AC.. then items are useless without scripting?
Because I can't detect item used
Yeah...essentially
and blocks are pretty useless without scripting because no interaction
Since no player BP AC in worldless addons.
That seems to add up to, you can't make money doing marketplace unless you're doing scripting. (atleast in worldless addons)
Am I getting this right?
Depends on the add-on, but yeah a lot of mechanics are a lot easier, or only possible with scripting
So the barrier to entry is higher and those not doing scripting are being forced out...
Seems like someone predicted this... being the goal..
Idk why so many people are against this change. This opens up so many possibilities. The main argument I saw was people refusing to learn scripting...
Or "scripting is super hard"
The barrier didn't get higher in the marketplace. Standalone worlds can still go without relying on scripts
From the marketplace perspective, no mechanics have been made harder
Performance and complexity of doing simple things were also broad up
Other than for worldless addons....
Which are new
The big money maker right now
The old stuff was bad tho...
As I hear it performance is not better.
Yeah, it wasn't as flexible and was buggy. But it was also much easier to use and provided better performance
I just like the move to scripts
Still depends on the use case imo
Yea some stuff is a bit more complicated now like crops but it's worth the shot.
Is it? Do we have any statistics on that?
You can check the chats. I beleive that was from Mojang not me. Something about the scripting api gateway
being a bottleneck
That didn't answer my question
I'm also glad that bedrock finally got proper scripting (even though I don't like JS), but I'm not a fan of scripting being developed a "silver bullet" that can solve all problems, while ignoring/deprecating other systems.
I see.
Tbf said systems were experimental
For a long time.
Would they have been deprecated if we didn't have scripting?
I think they would do other methods or reworked it somehow.
All I know is the future looks bleek for me in bedrock dev.
Not able
Yes you are
What do you mean "not able"?
True, scripting was just a much simpler solution, so they went the easy route instead of developing systems further so that they can be used in their niche use cases where scripting doesn't suffice
You're not stupid
lol we're not all the same and we don't all have the same brains
If you have a brain, you can learn
What easy for you is NOT easy for everyone
That is false and you know it.
I started when I was 12 so yes I have an advantage
Scripting isn't that difficult to learn tho..
Thats like saying if you have legs you are play in the NFL
But you can start from anywgere
Sure you can. Train
No excuses
For you with your type of brain. Assume because it's not that hard for you, it's not hard for others means you don't understand how differnent we all are.
I started trying to learn to code in 1986.
Don't use your brain as an excuse. We can all learn anything
keep going
It's very easy to get started, but imo JS in particular is very hard to learn on the advanced level. It just has so much useless stuff that you have to dig for in ecmascript...
But do you need the advanced stuff for Bedrock's Scripting API?
You probably don't need all that undocumented/deprecated functionality, but the fact that it's there and you can't learn it without going through hell is what bothers me, other languages document everything properly
That sounds like a pain.
Give up veka, you'll never 100% learn all of JS's runtime features and whatnot
Yeah I continue to learn new things about JS
Oh look its our scripting argument time 😄
^^'
Runtimes? Yeah no way, a new one appears every 6 month. But the base JS functionality is possible to learn... In like 2 years studying full time
You don't have to understand everything. Just enough
Yes you probably need to know scripting to create an Add-On for the marketplace because it has the least chance for colission and has the most stable feature set realistically without resorting to "jank" solutions with state machines in animation controllers.
player.jason won't be missed at all
Still some things missing before we can drop that
yep.
Actor properties as the only way of sending data to the client will be missed tho
Oh, that.
In the context of marketplace add-ons, you wouldn't be able to take advantage of that anyway
You would, by controlling states of attachables
/playanimation ?
Doesn't affect attachables
A
*attachable geometry
Yup still missing stuff
Although I'm not sure how that can be resolved
dynamic properties aren't built for client side shenanigans
Registering actor properties without player.json?
Or some kind of separate interface for syncing dynamic properties, but then what do you do with actor properties except deprecating
But what if
items had actor properties
That would be a lot more flexible than adding properties to the player
Items having actor properties? Or just item states like blocks
properties
That'd solve the attachable problem, but imo per-player properties can still be useful in other scenarios, such as playing animation that does something depending on property
What would it be used for?
Ask Veka
Animating attachables without editing player JSON to add actor properties
Couldn't you just pass a variable via molang?
Much more versatile than skin ID, variant, & mark variant
Yeah but what if you need to play animation once and keep it going, while it constantly fetches property data
Times like these where it would be great if you could dynamically run molang from the server
Playing animation over and over to sync data is the kind of "jank" that scripting was supposed to eliminate
Looking forward to 1.25 where mojang will implement Beta Client APIs
Molang++
++ better not mean deprecated
Correct, we're replacing it with Nolang
On the bright side everything molang is now stable (I think)
We need a good solution for server-client communication
player.setMolang would be so cool (and something for commands too I guess)
And for per-client rendering. get_nearby_entities could've been the solution, but then we wouldn't be excited for client scripting
If we had setMolang, would that help?
It sets a molang variable specific to the player's client
Sure, but it'd also prevent you from doing that with just a resource pack
Client-side molang query doesn't have that limitation
Could you give an example?
get_nearby_entities I mean
Yeah but how does that help with per-client rendering?
Loop through nearby players until you find the one with q.is_local_player
Then you can query any data from that player reference
Veka, you should just write a blog or make a video describing how client scripting would work and what you would like to see...like how i did for world generation
Can you give an example case that's resource pack only?
I'm trying to figure out a scenario for this
Holding a sword displays damage values that you can potentially deal above mob heads, which also factors their gear
Ah. Well, they did make it clear that they don't want entity references in molang, so I wonder what they'd do to make that possible
No idea, I think we'd need some entirely new solution to it
q.client_player entity reference would've been great
Client scripting my beloved
But apart from that, maybe something like what they did for rider data
But that's more limited
Per-frame evaluation could've also been useful. Imagine a mirror that displays player geo, which is animated exactly in sync with your own model
Client scripts ain't running at frame rate frequency
I think the best solution we can hope for is a query for reading variables from client player, and some kind of mechanism to set variables on player from BP, but without playanimation jank
Why do you think so?
How often do you see watchdog warnings when the script runs at 20 TPS? Now imagine that but at 1000 fps
I forgot that FPS exists
I’ve been waiting for that for almost two years 😭
Learned in 2 months, but half the time spent learning typescript.
Atleast enough to work in, I hate people when they make excuses saying they can't learn how to program - because with enough motivation you certainly can. I had no choice but to learn it as fast as humanly possible for my work.
You are right but that is not a excuse to not learn, unless you have a medical report saying you are missing one half of your brain and may have difficulty learning you can learn
I've tried to learn 20+ code langs, I got "learn Java in 30 days" in 1998. I can cache in my brain enough of the basics for a few days, while I'm doing that project.
But once do anything else it's gone, that means to be a "coder, programmer" with my brain, I'd have to only do that in my life All of it. Since I can't put all my efforts in to JS once I stop doing it for more than a few days its Just gone. All of it, each time I come back I have to relearn it over. This also applies to most bedrock dev which is why I use bridge and have made 250 guides of how to do everything I learn to do... So I can use them...
Im not kidding, I have to use my own guides very often because once I "learn" it use it then move on, it's gone. I have to reprocess that information each time I need it.
Pros and cons:
Pro: Because I carry very little in my memory at any given time all my memory and CPU goes to what I'm doing right now in this project or moment.
Cons. I don't remember who any of you are for more than a few days once we've stopped interacting. This goes for more the people in my life. I live 99% right now. everything I need for the past in documented, or in SOPs.
I'm certified in python but couldn't right a line of code, I've do massive XML, html, css, sharepoint, infopath, and countless massive projects, but couldn't provide any information about them now. it's all gone, Ive coded in langs you've never heard and OS's few have ever used.
Doesn't means anything. Once I stop doing that code lang it's gone.
So while I understand how your brains work, most my friends and people I work with process things the same way. I do not.
I'm like a dorry fish. from that movie.
Also the meds I'm on to manage my pain and get me out of bed are pretty powerful. But I've had these issues since I was a kid, I did horrible in schools because I can't pass a test to save my life. It's mostly memorization. This is why my spelling is so bad. And I misspell the same words over and over. I have done this my entire life.
It sounds tough having to relearn information for each project and rely so heavily on your guides. I can only imagine how challenging that all must be for you. I apologize for sounding inconsiderate before, but in my previous life experiences when people say they can’t learn scripting / programming or learn to do X, it’s due to laziness or unwillingness or lack of motivation. Clearly, that’s not the case with you.
It is, but it allows me to use the brain power differently, think speak vs hammer.
Last week I was an incident investigator and stopped some bad guys.
This week I'm a bedrock Developer and consultant, Next week I have orders for Sandblaster custom glass art. 24/7 I'm on call for IT support have been for 24 years now. At any moment I could go rebuild a data farm. Or a tacobell. lol
The reason I can do Bedrock "so well" is I can simply open bridge with nothing in my head and it's all there in the app. I just click some drop down menus and options and jump to blockbench to do some edits and we're creating. Very little memory needed. I can't do this with JS...
To note, Most people also think, well if you just had people in your life that could help you.
Zooko, Za, and Nate are my cousins and we all grow up together. They are all professional programmers and cipher punks, they created zcash.
Nate took my learn Java in 30 days book in 1998 after I failed, and did learn it. It speaks to him. He's an expert coder and does "real" programming.
Where the IT, visuals and hardware speaks to me so I did the IT, networking, hardware repair, windows installs, and setup the games/hosting.
They did the programming and coding..
So I had/have access to the experts, didn't help me.
I mean, that's amazing being amble to adapt like that, for me that wouldn't be something, I'd easily be able to do.
Zcash, that's pretty interesting!
Yeah I tried very hard to do python full time on a project with them, https://tahoe-lafs.org/trac/tahoe-lafs https://en.wikipedia.org/wiki/Tahoe-LAFS
I brought the decentralized DFS to Windows and used it for my clients.
Tahoe-LAFS (Tahoe Least-Authority File Store) is a free and open, secure, decentralized, fault-tolerant, distributed data store and distributed file system. It can be used as an online backup system, or to serve as a file or Web host similar to Freenet, depending on the front-end used to insert and access files in the Tahoe system. Tahoe can als...
To give you some idea. If I would have been able to "code" I'd be a multi millionaire right now in a large house... There was no shortage of incentive. lol Funny when you get old and can see the other paths you could have taken.
Everyone telling me everyday just learn to code... Me looking at failing at learning to code and missing out on millions others around me made.
I know, I know. Learn to code.
Python 2 or Python 3? 😅
2 then, all the dependencies for 3 weren't supported at the time.
Ouch.
Check it here https://github.com/Jbenisek/tahoe-lafs
Even Python 3's minor versions have some huge changes, but it's mostly additions and deprecations.
I have a CLI tool for managing Python versions. 😅
But I did it, and ran it on windows servers even in production for a while.
Like I need to update a project to 3.12 and that means going through and fixing all my type aliases and generics to use the new syntax.
2.6 was horrible, windows now it's no big deal, it's easy to install. but back then it was a pain, I think to get this installed was 20 steps or something.
But working on this project at a ticker mill/maker space/hacker space.. with a large group of programmers and engineers was epic fun. If you have a hacker space/maker space in your town which many do, you should check it out.
Anyone know if custom components are stable in 1.21?
Nothing yet but most likely will be
Not 1.21
it actually seems to do something else too? after enabling it and testing with a pack I have to reproduce the pink textures the game leaks memory super fast and crashes with it disabled, enabling it makes it run totally fine, memory leak still seems to be there but not to the extreme that you get when pink textures start appearing
Looking more like 1.21.10 for stable
oooh
great!
HCF counting its days
unless the playerIbteractwithBlock curse passes onto custom components
correct me if i'm wrong but block and item events are all that's left in it?
I think so? Entity permutations?
O I found something interesting with thar component
The bugs affecting playerinteract are different than anything on custom components AFAIK
I don’t have anything connecting the interact component to json, there’s no interact component in the block at all
in the script there is
Game dev is very intriguing
and it plays the animation
Known issue
and does everything like normal
oh dang, I honestly kinda like it like that
I’m sure there’s issues with doing it that way though
it really is
SmokeyStack
To Do (Open)
Unresolved
God i love this bot
lol
What if they just remove this feature since they have the custom component version of it?
Oh and Smokey, have you did any testing with the custom component player interact with block, if so, does it do the interact animation?
Thats a bad idea. Custom components are only for custom blocks
The animations really working?
wow
The only thing is I’d hope they’d make it only do the animation when the conditions are met
that’s been an issue in multiplayer when it was on the json side, and an issue in with player interact with block. Based off of your video, it still does it
