Skip to content

Commit

Permalink
mod file update
Browse files Browse the repository at this point in the history
  • Loading branch information
EwyBoy committed Mar 11, 2024
1 parent f71016c commit bb505b0
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_&_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ jobs:
loaders: ${{ matrix.platform }}
game-versions: "1.20.4"
release-type: release

6 changes: 3 additions & 3 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
"id": "worldstripper",
"version": "${version}",

"name": "WorldStripper",
"name": "World Stripper",
"description": "",
"authors": [],
"contact": {},

"license": "MIT",
"icon": "icon.png",

"environment": "*",
"entrypoints": {
Expand All @@ -23,6 +22,7 @@
],
"depends": {
"fabricloader": ">=0.15.7",
"minecraft": ">=1.20.4"
"minecraft": ">=1.20.4",
"architectury": ">=11.1.0"
}
}
13 changes: 10 additions & 3 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ displayName="WorldStripper" #mandatory
# A URL for the "homepage" for this mod, displayed in the mod UI
#displayURL="http://example.com/" #optional
# A file name (in the root of the mod JAR) containing a logo for display
logoFile="icon.png" #optional
# A text field displayed in the mod UI
#credits="Thanks for this example mod goes to Java" #optional
# A text field displayed in the mod UI
Expand All @@ -41,9 +40,8 @@ authors="Ewy" #optional
#displayTest="MATCH_VERSION" # MATCH_VERSION is the default if nothing is specified (#optional)

# The description text for the mod (multi line!) (#mandatory)
description='''
description='''World Stripper is a utility mod that allows you to strip away the terrain to view the underground world generation.'''

'''
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
[[dependencies.worldstripper]] #optional
# the modid of the dependency
Expand All @@ -56,6 +54,7 @@ description='''
ordering="NONE"
# Side this dependency is applied on - BOTH, CLIENT or SERVER
side="BOTH"

# Here's another dependency
[[dependencies.worldstripper]]
modId="minecraft"
Expand All @@ -64,3 +63,11 @@ description='''
versionRange="[1.20.4,1.21)"
ordering="NONE"
side="BOTH"

[[dependencies.worldstripper]]
modId="architectury"
mandatory=true
# This version range declares a minimum of the current minecraft version up to but not including the next major version
versionRange="[11,)"
ordering="NONE"
side="BOTH"
10 changes: 9 additions & 1 deletion neoforge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ modId="worldstripper"
version="${version}"
displayName="World Stripper"
displayURL="https://github.com/EwyBoy/AuctionHouse"
logoFile="icon.png"
authors="Ewy"
description="wow!"

Expand All @@ -29,3 +28,12 @@ reason="You need Minecraft to play this mod"
versionRange="[1.20.4,1.21)"
ordering="NONE"
side="BOTH"

[[dependencies.worldstripper]]
modId="architectury"
type="required"
reason="You need architectury to play this mod"
versionRange="[11,)"
ordering="NONE"
side="BOTH"

0 comments on commit bb505b0

Please sign in to comment.