Loading...
Comment:
Repo-based creator templates (#2304 )

* Initial custom template system

* Add remember, editable and property derivation

* Add hidden properties

* Implement property derivation for all types

* Actual types implementation

Also fix template condition evaluation

* Some more stuff

* Some more refactoring to get things working nicely

* Move CreatorProperties to an EP

* Add property UI order

* Move custom template to a separate module builder

* Add default values to template descriptor

* Add option to output null value if default

* Add group/collapsibleGroup support

* Dropdown labels

* Use segmented buttons for options by default

* Support comma separated string lists

* Add TemplateProviders

* WIP Sponge creator

* Support built-in templates

* Support multiple templates per provider

* Remove commented code

* Remember used templates

* Move CustomPlatformStep to the appropriate package

* Fix recent template provider being saved in the recent list

Also always show the templates list in recent templates

* Switch BuiltInTemplateProvider to flat dir

* Add NeoForge specific stuff

* Add TemplateApi marker annotation for template models

* Move RecentProjectTemplates out of the models package

* Remove old commented code

* Replace usage of kotlin plugin function by stdlib one

* Always refresh template files

* Add fabric_versions

* Add license property

* Handle template descriptor deserialization errors

* Basic template inheritance and template labels

* Add basic versioning

* Display all yarn/fabric api versions if none match the selected game version

* Add property validation support

* Don't even call buildUi if property is hidden

* Add "select" derivation

* Fix templates not getting access to builtin properties

* Include license displayname in LicenseData

* Add 1.16 & 1.20.6 to MinecraftVersions

* Remove unused class

* Some ClassFqn doc & withCl...
Status: all builds with this change have finished
Revision: 85e493a9ccd22882fa306b17b043e781b727ae1f VCS Roots: minecraft-dev/MinecraftDev (Git), minecraft-dev/MinecraftDev Nightly (Git)
Parent revisions: 85e1bcdc797dd222b64d1a6018472ddab344e568  
User: Unknown (none of TeamCity users defined rednesto username in their VCS username settings)
×

Edit change description

Here you can change the description in TeamCity only. You may consider changing it in the VCS as well, to avoid an ambiguity and inconsistency.

Cancel
Changed: 81 files (64 added, 17 edited) in
edited .github/workflows/publish.yml
added .gitmodules
edited build.gradle.kts
edited src/main/kotlin/MinecraftConfigurable.kt
edited src/main/kotlin/MinecraftSettings.kt
edited src/main/kotlin/creator/MinecraftModuleBuilder.kt
edited src/main/kotlin/creator/ProjectSetupFinalizerWizardStep.kt
edited src/main/kotlin/creator/buildsystem/AbstractBuildSystemStep.kt
edited src/main/kotlin/creator/buildsystem/BuildSystemPropertiesStep.kt
edited src/main/kotlin/creator/creator-utils.kt
added src/main/kotlin/creator/custom/BuiltinValidations.kt
added src/main/kotlin/creator/custom/CreatorProgressIndicator.kt
added src/main/kotlin/creator/custom/CustomMinecraftModuleBuilder.kt
added src/main/kotlin/creator/custom/CustomPlatformStep.kt
added src/main/kotlin/creator/custom/EvaluateTemplateExpressionAction.kt
added src/main/kotlin/creator/custom/ResourceBundleTranslator.kt
added src/main/kotlin/creator/custom/TemplateDescriptor.kt
added src/main/kotlin/creator/custom/TemplateEvaluator.kt
added src/main/kotlin/creator/custom/TemplateRepoTable.kt
added src/main/kotlin/creator/custom/TemplateResourceBundle.kt
added src/main/kotlin/creator/custom/TemplateValidationReporter.kt
added src/main/kotlin/creator/custom/derivation/ExtractVersionMajorMinorPropertyDerivation.kt
added src/main/kotlin/creator/custom/derivation/PropertyDerivation.kt
added src/main/kotlin/creator/custom/derivation/RecommendJavaVersionForMcVersionPropertyDerivation.kt
added src/main/kotlin/creator/custom/derivation/ReplacePropertyDerivation.kt
added src/main/kotlin/creator/custom/derivation/SelectPropertyDerivation.kt
added src/main/kotlin/creator/custom/derivation/SuggestClassNamePropertyDerivation.kt
added src/main/kotlin/creator/custom/finalizers/CreatorFinalizer.kt
added src/main/kotlin/creator/custom/finalizers/GitAddAllFinalizer.kt
added src/main/kotlin/creator/custom/finalizers/ImportGradleProjectFinalizer.kt
added src/main/kotlin/creator/custom/finalizers/ImportMavenProjectFinalizer.kt
added src/main/kotlin/creator/custom/finalizers/RunGradleTasksFinalizer.kt
added src/main/kotlin/creator/custom/model/ArchitecturyVersionsModel.kt
added src/main/kotlin/creator/custom/model/BuildSystemCoordinates.kt
added src/main/kotlin/creator/custom/model/ClassFqn.kt
added src/main/kotlin/creator/custom/model/CreatorJdk.kt
added src/main/kotlin/creator/custom/model/FabricVersionsModel.kt
added src/main/kotlin/creator/custom/model/ForgeVersions.kt
added src/main/kotlin/creator/custom/model/HasMinecraftVersion.kt
added src/main/kotlin/creator/custom/model/LicenseData.kt
added src/main/kotlin/creator/custom/model/NeoForgeVersions.kt
added src/main/kotlin/creator/custom/model/ParchmentVersions.kt
added src/main/kotlin/creator/custom/model/StringList.kt
added src/main/kotlin/creator/custom/model/TemplateApi.kt
added src/main/kotlin/creator/custom/providers/BuiltinTemplateProvider.kt
added src/main/kotlin/creator/custom/providers/EmptyLoadedTemplate.kt
added src/main/kotlin/creator/custom/providers/LoadedTemplate.kt
added src/main/kotlin/creator/custom/providers/LocalTemplateProvider.kt
added src/main/kotlin/creator/custom/providers/RemoteTemplateProvider.kt
added src/main/kotlin/creator/custom/providers/TemplateProvider.kt
added src/main/kotlin/creator/custom/providers/VfsLoadedTemplate.kt
added src/main/kotlin/creator/custom/providers/ZipTemplateProvider.kt
added src/main/kotlin/creator/custom/types/ArchitecturyVersionsCreatorProperty.kt
added src/main/kotlin/creator/custom/types/BooleanCreatorProperty.kt
added src/main/kotlin/creator/custom/types/BuildSystemCoordinatesCreatorProperty.kt
added src/main/kotlin/creator/custom/types/ClassFqnCreatorProperty.kt
added src/main/kotlin/creator/custom/types/CreatorProperty.kt
added src/main/kotlin/creator/custom/types/CreatorPropertyFactory.kt
added src/main/kotlin/creator/custom/types/ExternalCreatorProperty.kt
added src/main/kotlin/creator/custom/types/FabricVersionsCreatorProperty.kt
added src/main/kotlin/creator/custom/types/ForgeVersionsCreatorProperty.kt
added src/main/kotlin/creator/custom/types/InlineStringListCreatorProperty.kt
added src/main/kotlin/creator/custom/types/IntegerCreatorProperty.kt
added src/main/kotlin/creator/custom/types/JdkCreatorProperty.kt
added src/main/kotlin/creator/custom/types/LicenseCreatorProperty.kt
added src/main/kotlin/creator/custom/types/MavenArtifactVersionCreatorProperty.kt
added src/main/kotlin/creator/custom/types/NeoForgeVersionsCreatorProperty.kt
added src/main/kotlin/creator/custom/types/ParchmentCreatorProperty.kt
added src/main/kotlin/creator/custom/types/SemanticVersionCreatorProperty.kt
added src/main/kotlin/creator/custom/types/SimpleCreatorProperty.kt
added src/main/kotlin/creator/custom/types/StringCreatorProperty.kt
edited src/main/kotlin/creator/step/UseMixinsStep.kt
edited src/main/kotlin/platform/architectury/ArchitecturyVersion.kt
edited src/main/kotlin/platform/fabric/util/FabricVersions.kt
added src/main/kotlin/platform/neoforge/version/platform/neoforge/version/NeoModDevVersion.kt
edited src/main/kotlin/util/MinecraftVersions.kt
edited src/main/kotlin/util/files.kt
edited src/main/resources/META-INF/plugin.xml
edited src/main/resources/messages/MinecraftDevelopment.properties
edited src/main/resources/messages/MinecraftDevelopment_zh.properties
added templates
×

Add build comment

Cancel
×

Mute test

×

×

Server communication failure

Server is unavailable

Server stopped or communication with the server is not possible due to network failure.

Server shutdown started.

Please relogin to continue your work.

×

Run Custom Build

×

TODO

Loading related builds...
Cancel
×

Responsibility

×

Edit tags

Cancel
×

Loading...

×

Are you sure?

Cancel
×

Please type to confirm.
Cancel