Skip to content

Commit 974ba8d

Browse files
committed
feat: add 7 mod templates, disclaimer banner, and introduction updates
- Add yellow disclaimer banner on every page via custom Banner.astro component - Update introduction: "What is LCE?" now covers Legacy Console Edition in general, credits LCEMP and MinecraftConsoles repos at the top - Add new "Mod Templates" sidebar section with 7 complete end-to-end starter mods: - Random Wooden House (structure spawning, loot pools) - Purple Dimension (custom terrain, fog, portal, blocks) - Ruby Ore & Tools (full ore-to-armor pipeline) - Custom Mob "Shadow Walker" (entity, AI, model, renderer, sounds, drops) - Enchantment & Potion (Vampiric enchantment, Levitation potion, brewing) - Custom Workbench (4x4 crafting grid, container menu, SWF UI) - Textures from Scratch (block, item, entity textures and texture packs) - All 7 templates verified with 3-pass checks (technical accuracy, completeness, style) - Fix seven-argument count in adding-entities.md setId documentation
1 parent 4d48b5d commit 974ba8d

11 files changed

Lines changed: 5226 additions & 5 deletions

File tree

astro.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export default defineConfig({
88
integrations: [
99
starlight({
1010
title: 'LCE Docs',
11+
components: {
12+
Banner: './src/components/Banner.astro',
13+
},
1114
favicon: '/favicon.png',
1215
head: [
1316
{ tag: 'link', attrs: { rel: 'icon', href: '/lce-docs/favicon.png', type: 'image/png' } },
@@ -154,6 +157,18 @@ export default defineConfig({
154157
},
155158
],
156159
},
160+
{
161+
label: 'Mod Templates',
162+
items: [
163+
{ label: 'Random Wooden House', slug: 'templates/random-house' },
164+
{ label: 'Purple Dimension', slug: 'templates/purple-dimension' },
165+
{ label: 'Ruby Ore & Tools', slug: 'templates/ruby-tools' },
166+
{ label: 'Custom Mob', slug: 'templates/custom-mob' },
167+
{ label: 'Enchantment & Potion', slug: 'templates/enchantment-potion' },
168+
{ label: 'Custom Workbench', slug: 'templates/custom-workbench' },
169+
{ label: 'Textures from Scratch', slug: 'templates/texture-tutorial' },
170+
],
171+
},
157172
{
158173
label: 'MinecraftConsoles',
159174
items: [

src/components/Banner.astro

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
// Global disclaimer banner shown on every page
3+
---
4+
5+
<div class="disclaimer-banner">
6+
<p>
7+
These docs were made completely by AI, so they might be right, or wrong, you'll need to test them yourself.
8+
This was made for a easier understanding of everything. So use at your own risk.
9+
If anything is wrong, please don't hurt to make a PR on the page you have a problem with.
10+
<a href="https://github.com/coah80/lce-docs" target="_blank" rel="noopener">ON GITHUB</a>
11+
</p>
12+
</div>
13+
14+
<style>
15+
.disclaimer-banner {
16+
background-color: var(--sl-color-orange-low, #542);
17+
border-bottom: 1px solid var(--sl-color-orange, #f90);
18+
padding: 0.75rem 1rem;
19+
text-align: center;
20+
font-size: 0.875rem;
21+
line-height: 1.5;
22+
}
23+
.disclaimer-banner p {
24+
margin: 0;
25+
color: var(--sl-color-white);
26+
}
27+
.disclaimer-banner a {
28+
color: var(--sl-color-white);
29+
font-weight: 700;
30+
text-decoration: underline;
31+
}
32+
.disclaimer-banner a:hover {
33+
opacity: 0.8;
34+
}
35+
</style>

src/content/docs/modding/adding-entities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ The `setId` function registers your entity in five maps at once:
455455
| `numClassMap` | Numeric ID | `eINSTANCEOF` |
456456
| `classNumMap` | `eINSTANCEOF` | Numeric ID |
457457

458-
The six-argument version also adds the mob to `idsSpawnableInCreative` for the spawn egg UI.
458+
The seven-argument version also adds the mob to `idsSpawnableInCreative` for the spawn egg UI.
459459

460460
### Numeric ID Conventions
461461

src/content/docs/overview/introduction.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,26 @@ title: Introduction
33
description: What LCE is and what this documentation covers.
44
---
55

6+
:::note[Credits]
7+
These docs were very much based on [LCEMP](https://github.com/coah80/LCEMP) and [MinecraftConsoles](https://github.com/smartcmd/MinecraftConsoles), and they helped a bunch with stuff. So go star those repos NOW!
8+
:::
9+
610
## What is LCE?
711

8-
LCE (**Legacy Console Edition Multiplayer**) is a source fork of Minecraft Legacy Console Edition that adds working LAN multiplayer and better PC compatibility. It was created by **notpies**.
12+
LCE (**Legacy Console Edition**) is the version of Minecraft that **4J Studios** built for Microsoft and Mojang. They ported Minecraft's Java Edition codebase to C++11 and shipped it on Xbox 360, Xbox One (Durango), PS3, PS4 (Orbis), PS Vita, Wii U, and Nintendo Switch. It ran from 2012 until it was discontinued in favor of Bedrock Edition, but a lot of people still think it was the best version of Minecraft.
13+
14+
The C++ codebase that powers LCE is what this entire documentation site is about. Two community forks make that codebase available to work with:
915

10-
The original Legacy Console Edition (or "LCE" in the community) was built by **4J Studios** for Microsoft and Mojang. They ported Minecraft's Java Edition codebase to C++11 and shipped it on Xbox 360, Xbox One (Durango), PS3, PS4 (Orbis), PS Vita, Wii U, and Nintendo Switch. The LCEMP fork takes that C++ codebase and adds a Windows 64-bit build target with real multiplayer networking over TCP/Winsock.
16+
- **[LCEMP](https://github.com/coah80/LCEMP)** (by notpies) - A source fork based on roughly TU9 / 1.2.2 that adds working LAN multiplayer and a Windows 64-bit build target
17+
- **[MinecraftConsoles](https://github.com/smartcmd/MinecraftConsoles)** (by smartcmd) - A more advanced fork based on roughly TU19 / 1.6.4 with horses, the Wither boss, beacons, hoppers, scoreboards, and an entity attribute system
1118

1219
:::caution
1320
This is NOT the full Minecraft LCE source code. You need to provide the required asset files yourself. See the [Building & Compiling](/lce-docs/overview/building/) page for details.
1421
:::
1522

1623
## Version Baseline
1724

18-
LCEMP is based on roughly the **TU9 / 1.2.2** era of Legacy Console Edition. That means it has content up through:
25+
The LCEMP fork is based on roughly the **TU9 / 1.2.2** era of Legacy Console Edition. That means it has content up through:
1926

2027
- The End dimension and Ender Dragon boss fight
2128
- Enchanting and brewing systems
@@ -25,7 +32,7 @@ LCEMP is based on roughly the **TU9 / 1.2.2** era of Legacy Console Edition. Tha
2532
- Ocelots, iron golems, snow golems
2633
- All enchantments through TU9 (no Wither, no horses, no beacons)
2734

28-
A later version of the same codebase, **MinecraftConsoles** (roughly TU19 / 1.6.4 era), exists with more content like the Wither boss, horses, beacons, hoppers, scoreboards, and an entity attribute system. The docs reference MinecraftConsoles differences where relevant.
35+
MinecraftConsoles goes further to roughly TU19 / 1.6.4, adding the Wither boss, horses, beacons, hoppers, scoreboards, and more. The docs reference MinecraftConsoles differences where relevant.
2936

3037
## LCEMP Features
3138

0 commit comments

Comments
 (0)