Skip to content

Commit

Permalink
Merge pull request #93 from haykam821/description-translatable-text
Browse files Browse the repository at this point in the history
Fix descriptions not using translatable text
  • Loading branch information
ashhhleyyy authored Oct 9, 2023
2 parents 0b36d9b + 8b969da commit 582898a
Show file tree
Hide file tree
Showing 38 changed files with 196 additions and 38 deletions.
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/birthday_cake.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:birthday_cake",
"spawn_angle": 0
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/blommor.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:blommor",
"spawn_angle": 90,
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/buttons.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:buttons",
"spawn_angle": 180
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/castle.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:castle",
"spawn_angle": 0
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/cotton_candy_scored.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:cotton_candy",
"spawn_angle": 180
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:cotton_candy",
"spawn_angle": 180
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:cotton_candy",
"spawn_angle": 180
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/cotton_candy_wta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:cotton_candy",
"spawn_angle": 180
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/cube.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 2}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:cube",
"spawn_angle": 45,
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/dark_hills.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 2}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:dark_hills",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/deathmatch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:deathmatch",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/deathmatch_secret.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:deathmatch_secret",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/diamond.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:diamond",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/dice.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:dice",
"spawn_angle": 0
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/dynasty.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:dynasty",
"spawn_angle": 90,
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/end_city.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:end_city",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/hill_fort.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:hill_fort",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/ice.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:ice",
"spawn_angle": 0
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/ice_knockoff.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.knockoff.1"
},
{
"translate": "gameType.koth.koth.desc.knockoff.2"
}
],
"map": {
"id": "koth:ice",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/industrial.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:industrial",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/island.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:island",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/jungle_hideout.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:jungle_hideout",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/knockback_colosseum.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:knockback_colosseum",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/lifebuoy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:lifebuoy",
"spawn_angle": 0
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/lone_moat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:lone_moat",
"spawn_angle": 0
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/monolith.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:monolith",
"spawn_angle": 180
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/pyramid.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 2}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:pyramid",
"spawn_angle": 45,
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/romantica.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 2}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:romantica",
"spawn_angle": 0,
Expand Down
9 changes: 8 additions & 1 deletion src/main/resources/data/koth/games/skyland.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": [
{
"translate": "gameType.koth.koth.desc.1"
},
{
"translate": "gameType.koth.koth.desc.2"
}
],
"map": {
"id": "koth:skyland",
"spawn_angle": 180
Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/data/koth/games/squares.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"Enchantments": [{"id": "minecraft:knockback", "lvl": 1}]
},
"short_name": "gameType.koth.koth.short",
"description": "gameType.koth.koth.desc",
"description": {
"translate": "gameType.koth.koth.desc.deathmatch"
},
"map": {
"id": "koth:squares",
"spawn_angle": 0
Expand Down
Loading

0 comments on commit 582898a

Please sign in to comment.