I have started work on it here: https://github.com/neoforged/NeoForge/pull/2647
#NeoForge extensions to the ManagementApi
43 messages · Page 1 of 1 (latest)
@rough plover, you want schemas to be registered in an event but it is really not easy. People need the reference to the SchemaComponent at registration time for the rpc methods but the static register method currently also contains creating the SchemaComponent containing the id and the schema which makes moving the register method into the event impossible without requiring another static helper to create an unregistered SchemaComponent.
you can do new SchemaComponent(...)?...
you can even add a second constructor with the ref url being ReferenceUtil.createLocalReference(name) to make it easier
I'm not sure what the problem is
because we need a way to force people to use ResourceLocations or else it could lead to conflicts
that is... not related to having or not having an event
also the "registry" for SchemaComponent is a list and there are no concurrent implementations of List
deprecate the primary constructor, add another one with a RL instead of a strings and that's all you can do. if you add a static register method you don't force people any more than you do by doing that
How do I deprecate just the primary constructor of a record without deprecating the record?
record R(...) {
@Deprecated
public R {
}
}
DFU Schema?
no json schema
@rough plover review pls
-# Reminder for #1422642760430653461 message
Successfully scheduled reminder on <t:1759728983:F> (<t:1759728983:R>)!
@rough plover
@rough plover it's that time again
it's the most wonderful time of the year 
@rough plover 
@rough plover

@rough plover

NO
It is way to early for christmas
Youuuhoououuouuuuu- 're right
tell that the supermarkets
@rough plover finally got arround to doing the stuff you requested
I vote to mute TG until December 🙂
Christmas is now
that is not the purpose of this channel please keep on topic
But all I want for Christmas is y-
people can we atleast let halloween happen first
you can have christmas next week
gotta give mariah some time to defrost
Thanksgiving, in the corner weeping:
only USA has it that late, our thanks giving is already over
Schuli and Ihh doing same react? MORE PROOF THEY ARE THE SAME PERSON
All I want for Christmas is yoghurt
@rough plover 
@rough plover this should be it