Commit graph

160 commits

Author SHA1 Message Date
TelepathicGrunt
2bc659b8f1
Bump NeoGradle so people with space in filepath can run MDK (#20) 2023-12-01 15:00:49 +01:00
AterAnimAvis
d08c1736e3
Update to 20.2.59-beta (Registry Rework) (#19)
For more details on updating check out the blogpost at https://neoforged.net/news/20.2registry-rework/
2023-11-20 13:06:39 +01:00
Technici4n
8dd9258e72
MDK Updates (#15) 2023-11-05 13:23:24 +01:00
Matyrobbrt
1507c3f5c2
Add build action 2023-10-31 10:02:31 +02:00
Nekretaur
214ceb315d
Update pack format for 20.2.3-beta (#13) 2023-10-30 22:09:06 +01:00
AzureDoom
4b68634c61
Bump NeoForge version (#12) 2023-10-30 22:02:07 +01:00
Marc Hermans
ab3c7e49df
Update to NG7.
Update to 20.2
2023-10-30 19:26:32 +01:00
palkercode
a981652786
Update neo_version (#8) 2023-08-12 08:46:46 +01:00
Robert Kämpf
378bff4509
Make each run config use its own subfolder and add 'run-data' to .gitignore (#7) 2023-08-09 16:58:54 +08:00
Luke Bemish
303e6e548c
Add mixingradle (#6) 2023-08-08 17:47:19 +02:00
SizableShrimp
95076b799e
Configure all available ProcessResources tasks (#3)
This allows using the properties in resources in the test sourceset automatically and any other custom sourcesets a modder might declare
2023-07-23 05:26:33 -05:00
Eivind Norling
33efa70431
Renamed some constants and docs to use names and locations that reference NeoForge (#2) 2023-07-20 13:57:34 -05:00
Eivind Norling
efbe53492e
Update constants for easier usage 2023-07-20 17:33:24 +01:00
cpw
572a6977fd
Add a TEMPLATE LICENSE (MIT) gradle wrapper, and pack.mcmeta 2023-07-15 17:44:22 -04:00
cpw
aff5993cc2
Fix words 2023-07-15 17:18:56 -04:00
cpw
8ce001266e
Update some of the file infos 2023-07-15 17:16:28 -04:00
cpw
2b3334097e
Update readme 2023-07-15 17:03:54 -04:00
cpw
55cc1e2504
Add MDK files at root 2023-07-15 16:52:06 -04:00
cpw
b744ccd722 Add 'mdk/' from commit '5302c74d241e468f2f56e88c2105e75c76337b70'
git-subtree-dir: mdk
git-subtree-mainline: 5d7826249a
git-subtree-split: 5302c74d24
2023-07-15 16:50:00 -04:00
cpw
5d7826249a
init 2023-07-15 16:49:42 -04:00
Marc Hermans
5302c74d24 Update to NeoForged 2023-07-11 17:30:44 -04:00
Thomas Kain
53b67cc1b3 Make overloads consistent for defineListAllowEmpty in ForgeConfigSpec.Builder (#9604) 2023-07-03 17:28:37 -07:00
cpw
e6da5218b5 Try and be a bit nicer about handling bad [feature] definitions (#9606)
* Try and be a bit nicer about handling bad [feature] definitions - they're single square bracket defined and require strings for feature bound values.

* Some more tweaks to the feature system to output useful and well formatted error messages when bounds fail. Requires SPI 7.0.1 and the language string "fml.modloading.feature.missing" has changed.

* Use immutable lists where possible and generally tidy things a bit
2023-06-28 22:27:59 -04:00
Paint_Ninja
6d6d2a3732 Add example usage for configs to the MDK (#9596)
Demonstrates proper usage of different config value types, validation, transformation/parsing, load/reload handling and direct field access.
2023-06-27 13:57:20 +02:00
Paint_Ninja
7e52cbf56a Demonstrate configureEach in run configs (#9594) 2023-06-27 13:57:08 +02:00
Paint_Ninja
3ea735a901 Reduce verbosity of prepareRuns doc in MDK (#9593) 2023-06-27 13:56:58 +02:00
Paint_Ninja
9b6e4991b6 Lazily configure MDK tasks, improve IDE support (#9592) 2023-06-27 13:56:42 +02:00
SizableShrimp
773c579dab Forge 1.20
- Creative mode tabs are now a registry; the `BuildContents` event was renamed to `BuildCreativeModeTabContentsEvent` and moved it to its own class
- The pack format is now 15 for both resource packs and data packs
- `ScreenUtils` was deprecated in favor of a `GuiGraphics` extension
- Forge and the MDK were updated to Gradle 8 and FG6
- The Forge common config file was removed (it only contained the deprecated old fields for resource caching, which was removed in 1.19.3)
- Registry dummy entries were removed
- `RemappingVertexPipeline` was fixed to forward the `endVertex()` call
- Forge tool tags were removed in favor of vanilla ones

Co-authored-by: ChampionAsh5357 <ash@ashwork.net>
Co-authored-by: coehlrich <coehlrich@users.noreply.github.com>
Co-authored-by: Dennis C <11262040+XFactHD@users.noreply.github.com>
Co-authored-by: Matyrobbrt <matyrobbrt@gmail.com>
2023-06-07 20:55:09 -05:00
ChampionAsh5357
821c23e9ba Update and Regenerate Datapacks (#9419)
Add generation for pack.mcmeta
2023-03-28 13:33:59 -07:00
noeppi_noeppi
92f7a8ac57 Update pack versions (#9414) 2023-03-24 13:17:22 -07:00
Mysterious_Dev
10fd88714d Fix broken link for update checker docs in mdk (#9271) 2022-12-30 11:11:43 -08:00
Mysterious_Dev
b54d88379c Update link for Parchment "Getting Started" (#9243) 2022-12-26 13:19:44 -08:00
LexManos
8adb648b8d Redesign CreativeTab collection event to be a lot more straight forward. (#9198) 2022-12-10 15:03:23 -08:00
SizableShrimp
d2f2e94511 Forge 1.19.3
Created a CreativeModeTabEvent to register creative mode tabs and populate entries per tab
Moved datapack registries to DataPackRegistryEvent.NewRegistry event instead of tying them to ForgeRegistry
Made it easier for mods to datagen datapack builtin entries with DatapackBuiltinEntriesProvider
Provided access to lookupProvider for datagen
Updated dependencies to match versions used by vanilla and update JarJar to 0.3.18
Added a test mod for the new CreativeModeTabEvent
Throws better error message for Forge registries in tag datagen
Deleted ForgeRegistryTagsProvider
Updated ClientChatReceivedEvent and ServerChatEvent for Mojang changes
Added patches for both sign related methods in ModelLayers
Changed RegisterShadersEvent to use ResourceProvider
Migrated old Mojang math types to JOML

Co-authored-by: Marc Hermans <marc.hermans@ldtteam.com>
Co-authored-by: LexManos <LexManos@gmail.com>
Co-authored-by: sciwhiz12 <arnoldnunag12@gmail.com>
Co-authored-by: coehlrich <coehlrich@users.noreply.github.com>
2022-12-08 01:45:22 -06:00
Nexus-Dino
dce9115609 Add missing semi-colon near the Dist import statement in example mod. 2022-11-08 12:16:49 -08:00
Nexus-Dino
f66aa6f727 Fix ClientModEvents example not subscribing to client-sided events (#9097) 2022-10-21 13:22:57 -07:00
cpw
800cd6407e displayTest option in mods.toml (#8656)
* displayTest option in mods.toml
* "MATCH_VERSION" (or none) is existing match version string behaviour
* "IGNORE_SERVER_VERSION" accepts anything and sends special SERVERONLY string
* "IGNORE_ALL_VERSION" accepts anything and sends an empty string
* "NONE" allows the mod to supply their own displaytest using the IExtensionPoint mechanism.


* Update display test with feedback and added the mods.toml discussion in mdk.
2022-06-09 16:39:00 -04:00
SizableShrimp
8a16ae06c9 Update MDK for 1.19 changes (#8675) 2022-06-09 11:37:52 -07:00
SizableShrimp
54dd4e8da5 Forge 1.19
* Bump pack.mcmeta formats
* 1.19 biome modifiers
* Mark ClientPlayerNetworkEvent.LoggedOutEvent's getters as nullable
* Add docs and package-info to client extension interfaces package
* Move RenderBlockOverlayEvent hooks to ForgeHooksClient
* Add package-infos to client events package
* Rename SoundLoadEvent to SoundEngineLoadEvent

This reduces confusion from consumers which may think the
name SoundLoadEvent refers to an individual sound being loaded rather
than the sound engine.
* Document and change SoundLoadEvent to fire on mod bus

Previously, it fired on both the mod bus and the Forge bus, which is
confusing for consumers.
* Delete SoundSetupEvent

Looking at its original implementation shows that there isn't an
appropriate place in the new sound code to reinsert the event, and the
place of 'sound engine/manager initialization event' is taken already by SoundLoadEvent.
* Perform some cleanup on client events

 - Removed nullable annotations from ClientPlayerNetworkEvent
 - Renamed #getPartialTicks methods to #getPartialTick, to be consistent
  with vanilla's naming of the partial tick
 - Cleanup documentation to remove line breaks, use the
  spelling 'cancelled' over
  'canceled', and improve docs on existing and
   new methods.
* Remove EntityEvent.CanUpdate

Closes MinecraftForge/MinecraftForge#6394
* Switch to Jetbrains nullability annotations
* New PlayLevelSoundEvent; replaces old PlaySoundAtEntityEvent
* Remove ForgeWorldPresetScreens
* Remove IForgeRegistryEntry
* Remove use of List<Throwable> in FML's CompletableFutures
* Add docs to mod loading stages, stages, and phases
* Gradle 7.4.2
* Use SLF4J in FMLLoader and other subprojects
* Switch dynamic versions in subprojects to pinned ones
* Switch ForgeRoot and MDK to FG plugin markers
* Configure Forge javadoc task

The task now uses a custom stylesheet with MCForge elements, and
configured to combine the generation from the four FML subprojects
(fmlloader, fmlcore, javafmllanguage, mclanguage) and the Forge project
into the javadoc output.
* Update docs/md files, for 1.19 update and the move away from IRC to Discord.
* Make "Potentially dangerous alternative prefix" a debug warning, not info.

Co-authored-by: Curle <curle@gemwire.uk>
Co-authored-by: sciwhiz12 <arnoldnunag12@gmail.com>
Signed-off-by: SizableShrimp <sizableshrimp@sizableshrimp.me>
2022-06-07 15:31:26 -05:00
sciwhiz12
9a3c0ec02d Add pack-type-specific format versions in pack metadata. Fixes #8563 (#8612) 2022-05-31 10:36:44 -07:00
Paint_Ninja
c1b7b55c9e Use UTF-8 charset for Java compilation (#8486) 2022-03-06 14:53:15 +00:00
SizableShrimp
03379dea27 Update to 1.18.2
Co-authored-by: sciwhiz12 <arnoldnunag12@gmail.com>
Co-authored-by: Marc Hermans <marc.hermans@ldtteam.com>
Co-authored-by: LexManos <LexManos@gmail.com>
Co-authored-by: Curle <curle@gemwire.uk>
Signed-off-by: SizableShrimp <sizableshrimp@sizableshrimp.me>
2022-03-01 14:16:46 -08:00
sciwhiz12
7f65352e09 1.18.x Omnibus (#8239) 2022-03-01 18:59:37 +00:00
SizableShrimp
17b8c58404 [1.18] Integrate the gametest framework with Forge (#8225)
Signed-off-by: SizableShrimp <sizableshrimp@sizableshrimp.me>
2022-02-25 01:06:32 +00:00
LexManos
bd43048828 Fix dedicated server install. Closes #8226
Fix example mod
Fix obf issue with records. Closes #8228
Fix dependencies beingg out of sync from vanilla. Closes #8227
Disable mixin due to module incompatibility.
2021-11-30 16:22:58 -08:00
Curle
159afdac3f Initial port to 1.18
Co-authored-by: David Quintana <gigaherz@gmail.com>
Co-authored-by: SizableShrimp <sizableshrimp@sizableshrimp.me>
2021-11-30 17:42:18 +00:00
Cyborgmas
77eeae0066 Minor resource pack related fixes (#7884) 2021-08-23 10:52:17 -07:00
SizableShrimp
43918e3496 Update to 1.17
Update to Official classnames
Patchwork
Make the game compile and run
Merge in the new HUD overlay API
Merge in the new render properties API
PEEL
Use Gradle 7.2 snapshot to fix eclipse integration bug in 7.1, Would use 7.0 but FG needs 7.1 for some reason.
New FML installer
Update to 1.17.1

Co-authored-by: LexManos <lexmanos@gmail.com>
Co-authored-by: SizableShrimp <sizableshrimp@sizableshrimp.me>
Co-authored-by: cpw <cpw+github@weeksfamily.ca>
Co-authored-by: Curle <curle@gemwire.uk>
Co-authored-by: Unnoen <Unnoen@users.noreply.github.com>
Co-authored-by: covers1624 <laughlan.cov@internode.on.net>
Co-authored-by: DaemonUmbra <daemon.umbra@gmail.com>
Co-authored-by: gigaherz <gigaherz@gmail.com>
Signed-off-by: SizableShrimp <sizableshrimp@sizableshrimp.me>
2021-07-22 19:57:02 +01:00
SizableShrimp
25bec28365 ForgeGradle 5.1 and Gradle 7, which allows development on J16. Runtime still targets J8. (#7877) 2021-07-21 14:21:09 -07:00
AterAnimAvis
2ebe71dd9c Update for Forge's new maven (#7723) 2021-04-22 22:28:18 -07:00