Skip to content

Commit

Permalink
Add mod icon
Browse files Browse the repository at this point in the history
  • Loading branch information
senseiwells committed Nov 20, 2024
1 parent 32c45ba commit a2dc878
Show file tree
Hide file tree
Showing 43 changed files with 89 additions and 62,243 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 senseiwells
Copyright (c) 2024 senseiwells

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Arcade
# <img src="./src/main/resources/assets/arcade/icon.png" align="center" width="64px"/> Arcade


Arcade is a server-side Minecraft api made in Kotlin, providing
a wide array of functionality primarily aimed at server-sided
Expand Down Expand Up @@ -35,7 +36,7 @@ repositories {
}

dependencies {
include(modImplementation("net.casual-championships:arcade:0.3.1-alpha.37+1.21.3")!!)
include(modImplementation("net.casual-championships:arcade:0.3.1-alpha.38+1.21.3")!!)
}
```

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions arcade-commands/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

},
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {

},
"mixins": [
"arcade-commands.mixins.json"
],
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}"
}
}
2 changes: 2 additions & 0 deletions arcade-datagen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ val moduleDependencies: (Project, List<String>) -> Unit by project
moduleDependencies(project, listOf("resource-pack", "utils"))

dependencies {
modImplementation(libs.fabric.api)

include(implementation("org.apache.commons:commons-text:1.11.0")!!)
}

Expand Down
Binary file added arcade-datagen/src/main/resources/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion arcade-datagen/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@
"Sensei"
],
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {
"client": [
"net.casual.arcade.datagen.ArcadeDataGenerator"
]
},
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-api": ">=${fabric_api_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}"
}
}
2 changes: 1 addition & 1 deletion arcade-dimensions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ val moduleDependencies: (Project, List<String>) -> Unit by project
moduleDependencies(project, listOf("utils", "events", "extensions"))

dependencies {

modImplementation(libs.fabric.api)
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion arcade-dimensions/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

},
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {
"main": [
Expand All @@ -24,6 +25,9 @@
"arcade-dimensions.mixins.json"
],
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-api": ">=${fabric_api_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}"
}
}
Binary file added arcade-events/src/main/resources/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions arcade-events/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

},
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {

},
"mixins": [
"arcade-events.mixins.json"
],
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions arcade-extensions/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

},
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {

},
"mixins": [
"arcade-extensions.mixins.json"
],
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}"
}
}
Binary file added arcade-items/src/main/resources/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 4 additions & 7 deletions arcade-items/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@

},
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {

},
"mixins": [

],
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}"
}
}
3 changes: 1 addition & 2 deletions arcade-minigames/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ moduleDependencies(project, listOf(
))

dependencies {
modImplementation(rootProject.libs.server.translations)
modCompileOnly(rootProject.libs.server.replay)
modCompileOnly(libs.server.replay)
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion arcade-minigames/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

},
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {
"main": [
Expand All @@ -30,6 +31,8 @@
"arcade-minigames.mixins.json"
],
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 2 additions & 10 deletions arcade-resource-pack-host/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@

},
"license": "MIT",
"environment": "*",
"entrypoints": {

},
"mixins": [

],
"depends": {

}
"icon": "assets/icon.png",
"environment": "*"
}
4 changes: 2 additions & 2 deletions arcade-resource-pack/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ val moduleDependencies: (Project, List<String>) -> Unit by project
moduleDependencies(project, listOf("utils", "events", "extensions", "resource-pack-host"))

dependencies {
modApi(rootProject.libs.polymer.core)
modApi(rootProject.libs.polymer.resource.pack)
modApi(libs.polymer.core)
modApi(libs.polymer.resource.pack)
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public object ArcadeResourcePacks: ModInitializer {

public val ACTION_BAR_FONT_PACK: NamedResourcePackCreator by lazy {
NamedResourcePackCreator.named("action_bar_font") {
// addAssetSource(path("packs/ActionBarFont"))
addAssetSource(path("packs/ActionBarFont"))
for (i in 1..64) {
addFont(ResourceUtils.arcade("default_shifted_down_$i")) { FontUtils.createDefaultFont(i) }
}
Expand All @@ -37,7 +37,7 @@ public object ArcadeResourcePacks: ModInitializer {

public val MINI_ACTION_BAR_FONT_PACK: NamedResourcePackCreator by lazy {
NamedResourcePackCreator.named("mini_action_bar_font") {
// addAssetSource(path("packs/MiniActionBarFont"))
addAssetSource(path("packs/MiniActionBarFont"))
for (i in 1..64) {
addFont(ResourceUtils.arcade("mini_shifted_down_$i")) { FontUtils.createMiniFont(i) }
}
Expand All @@ -48,14 +48,7 @@ public object ArcadeResourcePacks: ModInitializer {
public val SPACING_FONT_PACK: NamedResourcePackCreator by lazy {
NamedResourcePackCreator.named("spacing_font") {
addFont(SpacingFontResources)
packDescription = Component.literal("Provides spacing utilities for text")
}
}

@Deprecated("")
public val SPACES_FONT_PACK: NamedResourcePackCreator by lazy {
NamedResourcePackCreator.named("spaces_font") {
addAssetSource(path("packs/SpacesFont"))
addAssetSource(path("packs/SpacingFont"))
packDescription = Component.literal("Provides spacing utilities for text")
}
}
Expand Down Expand Up @@ -115,6 +108,7 @@ public object ArcadeResourcePacks: ModInitializer {
NamedResourcePackCreator.named("arcade_lang_pack") {
addLangsFromData("arcade-commands")
addLangsFromData("arcade-minigames")
packIcon = path("assets/icon.png").readBytes()
packDescription = Component.literal("Translations for arcade")
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion arcade-resource-pack/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

},
"license": "MIT",
"icon": "assets/icon.png",
"environment": "*",
"entrypoints": {
"main": [
Expand All @@ -24,6 +25,9 @@
"arcade-resource-pack.mixins.json"
],
"depends": {
"minecraft": "${minecraft_dependency}"
"minecraft": "${minecraft_dependency}",
"fabricloader": ">=${fabric_loader_dependency}",
"fabric-language-kotlin": ">=${fabric_kotlin_dependency}",
"polymer-core": ">=${polymer_dependency}"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a2dc878

Please sign in to comment.