-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
complete some things, simple type names, misc #643
Conversation
…round proposer conflicts, make simple_type_field_names_path an input of insertAutoGeneratedMappings task, make 'id' simple type name exclusive
Co-authored-by: Eli Orona <[email protected]>
…ames rename IdListUtil#sortArray -> createByIdGetter make enums that use createByIdGetter consistent restore SpawnReason add simple type names for Entity+LivinEntity add stub FindInvalidSimpleTypeFieldNamesTask class map a few other things along the way
…simple type names)
CLASS net/minecraft/unmapped/C_uxzryfxv net/minecraft/server/function/FunctionGetter | ||
FIELD f_cxzaybvc commandFunctionSet Z | ||
FIELD f_kkregdwp commandFunction Ljava/util/Optional; | ||
METHOD m_ashjquub getid ()Lnet/minecraft/unmapped/C_ncpywfca; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spell check fail?
build.gradle
Outdated
final enigmaProfile = file("enigma_profile.json") | ||
|
||
inputs.file( | ||
new JsonSlurper().parse(enigmaProfile) | ||
.services.jar_indexer.args.simple_type_field_names_path | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This... Works for now. I would make an issue once this is merged to do this properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaict a proper fix would require enigma plugins to have a way of listing files they depend on, then enigma would list all files all plugins depend on
hadn't found getServiceProfiles
Is that what you mean?
Or something in qmap buildSrc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something in the buildsrc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fantastic, just a couple things:
- there are quite a few empty mappings here, i think
dropInvalidMappings
should address that - though the enum refactors are great, I don't agree with the
BY_ID
->GET_BY_ID
refactor. i don't see any good reason to add the extra word.
Yeah I'm a bit torn on
I guess "by id" is fine for both. |
🚀 Target branch has been updated to 24w39a |
🚨 Please fix merge conflicts before this can be merged |
RegistryKey
from simple_type_field_names (they're often named after their generic type)RegistryKey
s affected by its removal from simple_type_field_names (no lost coverage! [except in unmapped classes])Items
(thanks type names for 1000+ settings)IdListUtil
IdListUtil::createByIdGetter
consistent