|
1 | 1 |
|
2 | 2 | modLoader="javafml" #mandatory |
3 | 3 | loaderVersion="${loader_version_range}" #mandatory |
4 | | -license="todo" |
| 4 | +license="${mod_license}" |
5 | 5 |
|
6 | | -# A URL to refer people to when problems occur with this mod |
7 | | -#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional |
8 | | -# A list of mods - how many allowed here is determined by the individual mod loader |
9 | 6 | [[mods]] #mandatory |
10 | | -modId="cssminecraft" |
11 | | -version="1.0.0" |
12 | | -displayName="CSSMinecraft" |
| 7 | +modId="${mod_id}" |
| 8 | +version="${mod_version}" |
| 9 | +displayName="${mod_name}" |
13 | 10 | logoFile="logo.png" |
14 | 11 | authors="LMBishop" |
15 | 12 | description=''' |
16 | 13 | CSS' Minecraft plugin |
17 | 14 | ''' |
18 | 15 |
|
19 | | -# The [[mixins]] block allows you to declare your mixin config to FML so that it gets loaded. |
20 | | -#[[mixins]] |
21 | | -#config="${mod_id}.mixins.json" |
22 | | - |
23 | | -# The [[accessTransformers]] block allows you to declare where your AT file is. |
24 | | -# If this block is omitted, a fallback attempt will be made to load an AT from META-INF/accesstransformer.cfg |
25 | | -#[[accessTransformers]] |
26 | | -#file="META-INF/accesstransformer.cfg" |
27 | | - |
28 | | -# The coremods config file path is not configurable and is always loaded from META-INF/coremods.json |
29 | | - |
30 | | -# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. |
31 | | -[[dependencies.cssminecraft]] #optional |
32 | | -# the modid of the dependency |
33 | | -modId="neoforge" #mandatory |
34 | | -# The type of the dependency. Can be one of "required", "optional", "incompatible" or "discouraged" (case insensitive). |
35 | | -# 'required' requires the mod to exist, 'optional' does not |
36 | | -# 'incompatible' will prevent the game from loading when the mod exists, and 'discouraged' will show a warning |
37 | | -type="required" #mandatory |
38 | | -# Optional field describing why the dependency is required or why it is incompatible |
39 | | -# reason="..." |
40 | | -# The version range of the dependency |
41 | | -versionRange="${neo_version_range}" #mandatory |
42 | | -# An ordering relationship for the dependency. |
43 | | -# BEFORE - This mod is loaded BEFORE the dependency |
44 | | -# AFTER - This mod is loaded AFTER the dependency |
| 16 | +[[dependencies."${mod_id}"]] |
| 17 | +modId="neoforge" |
| 18 | +type="required" |
| 19 | +versionRange="${neo_version_range}" |
45 | 20 | ordering="NONE" |
46 | | -# Side this dependency is applied on - BOTH, CLIENT, or SERVER |
47 | 21 | side="BOTH" |
48 | 22 |
|
49 | | -[[dependencies.cssminecraft]] |
| 23 | +[[dependencies."${mod_id}"]] |
50 | 24 | modId="minecraft" |
51 | 25 | type="required" |
52 | | -# This version range declares a minimum of the current minecraft version up to but not including the next major version |
53 | 26 | versionRange="${minecraft_version_range}" |
54 | 27 | ordering="NONE" |
55 | 28 | side="BOTH" |
56 | 29 |
|
57 | | -[[dependencies.cssminecraft]] |
| 30 | +[[dependencies."${mod_id}"]] |
58 | 31 | modId="luckperms" |
59 | | -mandatory=false |
| 32 | +type="optional" |
60 | 33 | versionRange="*" |
61 | 34 | ordering="AFTER" |
62 | 35 | side="SERVER" |
63 | | - |
64 | | - |
65 | | -# Features are specific properties of the game environment, that you may want to declare you require. This example declares |
66 | | -# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't |
67 | | -# stop your mod loading on the server for example. |
68 | | -#[features."${mod_id}"] |
69 | | -#openGLVersion="[3.2,)" |
0 commit comments