Skip to content

Commit

Permalink
Bump to 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Dec 30, 2024
1 parent b5407a7 commit 34618d4
Show file tree
Hide file tree
Showing 546 changed files with 38,441 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default defineVersionedConfig(
transformPageData,

versioning: {
latestVersion: "1.21",
latestVersion: "1.21.4",
rewrites: {
localePrefix: "translated",
},
Expand Down
324 changes: 324 additions & 0 deletions .vitepress/sidebars/versioned/1.21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,324 @@
{
"/players/": [
{
"text": "players.title",
"link": "/players/",
"items": [
{
"text": "players.faq",
"link": "/players/faq"
},
{
"text": "players.installingJava",
"collapsed": true,
"items": [
{
"text": "players.installingJava.windows",
"link": "/players/installing-java/windows"
},
{
"text": "players.installingJava.macOS",
"link": "https://fabricmc.net/wiki/player:tutorials:java:mac",
"process": false
},
{
"text": "players.installingJava.linux",
"link": "/players/installing-java/linux"
}
]
},
{
"text": "players.installingFabric",
"link": "/players/installing-fabric"
},
{
"text": "players.findingMods",
"link": "/players/finding-mods"
},
{
"text": "players.installingMods",
"link": "/players/installing-mods"
},
{
"text": "players.troubleshooting",
"items": [
{
"text": "players.troubleshooting.uploadingLogs",
"link": "/players/troubleshooting/uploading-logs"
},
{
"text": "players.troubleshooting.crashReports",
"link": "/players/troubleshooting/crash-reports"
}
]
},
{
"text": "players.updatingFabric",
"link": "/players/updating-fabric"
}
]
}
],
"/develop/": [
{
"text": "develop.title",
"link": "/develop/",
"collapsed": false,
"items": [
{
"text": "Fabric API GitHub",
"translatable": false,
"link": "https://github.com/FabricMC/fabric"
},
{
"text": "Yarn GitHub",
"translatable": false,
"link": "https://github.com/FabricMC/yarn"
},
{
"text": "Loom GitHub",
"translatable": false,
"link": "https://github.com/FabricMC/fabric-loom"
}
]
},
{
"text": "develop.gettingStarted",
"collapsed": false,
"items": [
{
"text": "develop.gettingStarted.introduction",
"link": "/develop/getting-started/introduction-to-fabric-and-modding"
},
{
"text": "develop.gettingStarted.devEnvSetup",
"link": "/develop/getting-started/setting-up-a-development-environment"
},
{
"text": "develop.gettingStarted.creatingProject",
"link": "/develop/getting-started/creating-a-project"
},
{
"text": "develop.gettingStarted.projectStructure",
"link": "/develop/getting-started/project-structure"
},
{
"text": "develop.gettingStarted.launchGame",
"link": "/develop/getting-started/launching-the-game"
}
]
},
{
"text": "develop.items",
"collapsed": true,
"items": [
{
"text": "develop.items.first-item",
"link": "/develop/items/first-item"
},
{
"text": "develop.items.food",
"link": "/develop/items/food"
},
{
"text": "develop.items.custom-tools",
"link": "/develop/items/custom-tools"
},
{
"text": "develop.items.custom-armor",
"link": "/develop/items/custom-armor"
},
{
"text": "develop.items.custom-item-groups",
"link": "/develop/items/custom-item-groups"
},
{
"text": "develop.items.custom-item-interactions",
"link": "/develop/items/custom-item-interactions"
},
{
"text": "develop.items.custom-enchantment-effects",
"link": "/develop/items/custom-enchantment-effects"
},
{
"text": "develop.items.custom-data-components",
"link": "/develop/items/custom-data-components"
},
{
"text": "develop.items.potions",
"link": "/develop/items/potions"
}
]
},
{
"text": "develop.blocks",
"collapsed": true,
"items": [
{
"text": "develop.blocks.first-block",
"link": "/develop/blocks/first-block"
},
{
"text": "develop.blocks.blockstates",
"link": "/develop/blocks/blockstates"
},
{
"text": "develop.blocks.block-entities",
"link": "/develop/blocks/block-entities",
"items": [
{
"text": "develop.blocks.block-entity-renderer",
"link": "/develop/blocks/block-entity-renderer"
}
]
}
]
},
{
"text": "develop.entities",
"collapsed": true,
"items": [
{
"text": "develop.entities.effects",
"link": "/develop/entities/effects"
},
{
"text": "develop.entities.damage-types",
"link": "/develop/entities/damage-types"
}
]
},
{
"text": "develop.sounds",
"collapsed": true,
"items": [
{
"text": "develop.sounds.using-sounds",
"link": "/develop/sounds/using-sounds"
},
{
"text": "develop.sounds.custom",
"link": "/develop/sounds/custom"
},
{
"text": "develop.sounds.dynamic-sounds",
"link": "/develop/sounds/dynamic-sounds"
}
]
},
{
"text": "develop.commands",
"collapsed": true,
"items": [
{
"text": "develop.commands.basics",
"link": "/develop/commands/basics"
},
{
"text": "develop.commands.arguments",
"link": "/develop/commands/arguments"
},
{
"text": "develop.commands.suggestions",
"link": "/develop/commands/suggestions"
}
]
},
{
"text": "develop.rendering",
"collapsed": true,
"items": [
{
"text": "develop.rendering.basicConcepts",
"link": "/develop/rendering/basic-concepts"
},
{
"text": "develop.rendering.drawContext",
"link": "/develop/rendering/draw-context"
},
{
"text": "develop.rendering.hud",
"link": "/develop/rendering/hud"
},
{
"text": "develop.rendering.gui",
"items": [
{
"text": "develop.rendering.gui.customScreens",
"link": "/develop/rendering/gui/custom-screens"
},
{
"text": "develop.rendering.gui.customWidgets",
"link": "/develop/rendering/gui/custom-widgets"
}
]
},
{
"text": "develop.rendering.particles",
"items": [
{
"text": "develop.rendering.particles.creatingParticles",
"link": "/develop/rendering/particles/creating-particles"
}
]
}
]
},
{
"text": "develop.dataGeneration",
"collapsed": true,
"items": [
{
"text": "develop.dataGeneration.setup",
"link": "/develop/data-generation/setup"
},
{
"text": "develop.dataGeneration.tags",
"link": "/develop/data-generation/tags"
},
{
"text": "develop.dataGeneration.translations",
"link": "/develop/data-generation/translations"
},
{
"text": "develop.dataGeneration.advancements",
"link": "/develop/data-generation/advancements"
},
{
"text": "develop.dataGeneration.recipes",
"link": "/develop/data-generation/recipes"
},
{
"text": "develop.dataGeneration.lootTables",
"link": "/develop/data-generation/loot-tables"
}
]
},
{
"text": "develop.misc",
"collapsed": true,
"items": [
{
"text": "develop.misc.codecs",
"link": "/develop/codecs"
},
{
"text": "develop.misc.events",
"link": "/develop/events"
},
{
"text": "develop.misc.text-and-translations",
"link": "/develop/text-and-translations"
},
{
"text": "develop.misc.ideTipsAndTricks",
"link": "/develop/ide-tips-and-tricks"
},
{
"text": "develop.misc.automatic-testing",
"link": "/develop/automatic-testing"
}
]
}
]
}
2 changes: 1 addition & 1 deletion .vitepress/theme/components/VersionReminder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ref, watchEffect } from "vue";
const data = useData();
const route = useRoute();
const LATEST = "1.21";
const LATEST = "1.21.4";
const path = ref<string>("");
const text = ref<string>("");
Expand Down
15 changes: 15 additions & 0 deletions reference/1.21/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
def minecraftVersion = "1.21"
def yarnVersion = "1.21+build.7"
def fabricApiVersion = "0.102.0+1.21"

dependencies {
minecraft "com.mojang:minecraft:${minecraftVersion}"
mappings "net.fabricmc:yarn:${yarnVersion}:v2"
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabricApiVersion}"
}

// :::automatic-testing:2
test {
useJUnitPlatform()
}
// :::automatic-testing:2
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.example.docs;

import net.minecraft.client.render.block.entity.BlockEntityRendererFactories;

import net.fabricmc.api.ClientModInitializer;

import com.example.docs.block.entity.ModBlockEntities;
import com.example.docs.rendering.blockentity.CounterBlockEntityRenderer;

// :::1
public class FabricDocsBlockEntityRenderer implements ClientModInitializer {
@Override
public void onInitializeClient() {
BlockEntityRendererFactories.register(ModBlockEntities.COUNTER_BLOCK_ENTITY, CounterBlockEntityRenderer::new);
}
}
// :::1
Loading

0 comments on commit 34618d4

Please sign in to comment.