Skip to content

Commit 1be77ff

Browse files
authored
Breaking Changes Updated to 26.1.2, Mob Variants Updated to 26.1.2 (#131)
1 parent 41e4f89 commit 1be77ff

5 files changed

Lines changed: 207 additions & 54 deletions

File tree

package-lock.json

Lines changed: 2 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/sidebar/tabs/latest/WikiPages.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<SidebarPage label="Home" icon={IconHome} page="/" />
4242

4343
<SidebarCategory name="Info" icon={IconInfo}>
44-
<SidebarPage label="Breaking Changes (redirect)" icon={IconBreak} page="/wiki/info/breaking-changes" />
44+
<SidebarPage label="Breaking Changes" icon={IconBreak} page="/wiki/info/breaking-changes" />
4545
<SidebarPage label="JSON format" icon={IconBraces} page="/wiki/info/json" />
4646
</SidebarCategory>
4747

src/routes/guide/adding-new-features/mob-variants/+page.svx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ settings:
3030
```json:example_cat.json
3131
{
3232
"asset_id": "example:entity/cat/example_cat",
33+
"baby_asset_id": "example:entity/cat/custom_baby_cat",
3334
"spawn_conditions": [
3435
{
3536
"priority": 0
@@ -70,6 +71,7 @@ field in the .json file you created earlier.
7071
```json:example_cat.json
7172
{
7273
"asset_id": "example:entity/cat/custom",
74+
"baby_asset_id": "example:entity/cat/custom_baby_cat",
7375
"spawn_conditions": [
7476
{
7577
"condition": {
@@ -137,6 +139,7 @@ the `model` field, like this:
137139
```json:example_cow.json
138140
{
139141
"asset_id": "example:entity/cow/example_cow",
142+
"baby_asset_id": "example:entity/cow/example_cow_baby",
140143
"model": "normal",
141144
"spawn_conditions": [
142145
{
@@ -161,6 +164,11 @@ If you want to add a wolf variant, you'll need to specify 3 textures, like this:
161164
"tame": "minecraft:entity/wolf/example_wolf_tame",
162165
"wild": "minecraft:entity/wolf/example_wolf"
163166
},
167+
"baby_assets": {
168+
"angry": "example:entity/wolf/example_baby_wolf_angry",
169+
"tame": "minecraft:entity/wolf/example_baby_wolf_tame",
170+
"wild": "minecraft:entity/wolf/example_baby_wolf"
171+
},
164172
"spawn_conditions": [
165173
{
166174
"priority": 0

src/routes/guide/performance/write-optimized-code/+page.svx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ detect an event, unlike scoreboards.
135135

136136
## Recursion
137137

138-
:::info A recursive function is a function that runs itself repeatedly. :::
138+
:::info A recursive function is a function that runs itself repeatedly.
139139

140140
Any recursive functions, whether a
141141
[loop](/guide/mcf-vs-code#q-how-do-you-loop-in-mcfunction),
@@ -153,3 +153,4 @@ Avoid the following:
153153

154154
- Too many recursion calls. For example a long distance raycast, large loop, or
155155
iteration over a long array.
156+
:::

0 commit comments

Comments
 (0)