Skip to content

Commit 4c8030a

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents ce04981 + 7d91edc commit 4c8030a

File tree

3 files changed

+33
-10
lines changed

3 files changed

+33
-10
lines changed

developers/depend-on-create/forge-1.20.1.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ prev: false
1515
```groovy [build.gradle [FG]]
1616
repositories {
1717
maven { url = "https://maven.createmod.net" } // Create, Ponder, Flywheel
18-
maven { url = "https://maven.tterrag.com" } // Registrate
18+
maven { url = "https://maven.ithundxr.dev/mirror" } // Registrate
1919
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" } // ForgeConfigAPIPort
2020
}
2121
@@ -33,7 +33,7 @@ dependencies {
3333
```groovy [build.gradle [MDG]]
3434
repositories {
3535
maven { url = "https://maven.createmod.net" } // Create, Ponder, Flywheel
36-
maven { url = "https://maven.tterrag.com" } // Registrate
36+
maven { url = "https://maven.ithundxr.dev/mirror" } // Registrate
3737
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" } // ForgeConfigAPIPort
3838
}
3939
@@ -51,7 +51,7 @@ dependencies {
5151
```kotlin [build.gradle.kts [NG]]
5252
repositories {
5353
maven("https://maven.createmod.net") // Create, Ponder, Flywheel
54-
maven("https://maven.tterrag.com") // Registrate
54+
maven("https://maven.ithundxr.dev/mirror") // Registrate
5555
}
5656

5757
dependencies {
@@ -68,7 +68,7 @@ dependencies {
6868
```kotlin [build.gradle.kts [MDG]]
6969
repositories {
7070
maven("https://maven.createmod.net") // Create, Ponder, Flywheel
71-
maven("https://maven.tterrag.com") // Registrate
71+
maven("https://maven.ithundxr.dev/mirror") // Registrate
7272
}
7373

7474
dependencies {
@@ -82,16 +82,17 @@ dependencies {
8282
}
8383
```
8484

85-
```properties-vue [gradle.properties]
85+
:::
86+
87+
And in your `gradle.properties` file:
88+
```properties-vue
8689
minecraft_version = {{ $frontmatter.minecraft_version }}
8790
create_version = {{ $frontmatter.create_version }}
8891
ponder_version = {{ $frontmatter.ponder_version }}
8992
flywheel_version = {{ $frontmatter.flywheel_version }}
9093
registrate_version = {{ $frontmatter.registrate_version }}
9194
```
9295

93-
:::
94-
9596
#### Mixin Refmap Remapping [FG]
9697

9798
If you encounter errors when trying
@@ -138,4 +139,4 @@ If Create is not present or is outdated, Forge will display an error screen expl
138139
versionRange="[{{ create_version_no_build_number }},{{ next_minor_version }})"
139140
ordering="NONE"
140141
side="BOTH"
141-
```
142+
```

developers/depend-on-create/neoforge-1.21.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ dependencies {
4141
implementation("com.tterrag.registrate:Registrate:${property("registrate_version")}")
4242
}
4343
```
44+
:::
4445

46+
And in your `gradle.properties` file:
4547
```properties-vue [gradle.properties]
4648
minecraft_version = {{ $frontmatter.minecraft_version }}
4749
create_version = {{ $frontmatter.create_version }}
@@ -50,8 +52,6 @@ flywheel_version = {{ $frontmatter.flywheel_version }}
5052
registrate_version = {{ $frontmatter.registrate_version }}
5153
```
5254

53-
:::
54-
5555
### Production Environment Dependency
5656

5757
This type of dependency is added to the `neoforge.mods.toml` file so that NeoForge knows your mod will not work without

users/cc-tweaked-integration/display-link.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| [`isColor()`](#isColor) | Whether the connected display target supports color |
77
| [`isColour()`](#isColour) | Whether the connected display target supports colour |
88
| [`write(text)`](#write) | Writes text at the current cursor position |
9+
| [`writeBytes(bytes)`](#writeBytes) | Writes bytes at the current cursor position |
910
| [`clearLine()`](#clearLine) | Clears the line at the current cursor position |
1011
| [`clear()`](#clear) | Clears the whole display |
1112
| [`update()`](#update) | Pushes an update to the display target |
@@ -79,6 +80,26 @@ This will overwrite any text currently at the cursor position.
7980

8081
**See also**
8182

83+
- [`writeBytes(bytes)`](#writeBytes) To write bytes to the display target.
84+
- [`update()`](#update) To push the changes to the display target.
85+
86+
---
87+
88+
### `writeBytes(bytes)` {#writeBytes}
89+
90+
Writes bytes at the current cursor position, moving the cursor to the end of the text.
91+
This only writes to an internal buffer. For the changes to show up on the display [`update()`](#update) must be used.
92+
If the cursor is outside the bounds of the connected display, the text will not show up on the display.
93+
94+
This will overwrite any text currently at the cursor position.
95+
96+
**Parameters**
97+
98+
- _bytes:_ `number` The bytes to write.
99+
100+
**See also**
101+
102+
- [`write(text)`](#write) To write text to the display target.
82103
- [`update()`](#update) To push the changes to the display target.
83104

84105
---
@@ -114,3 +135,4 @@ using multiple [`write(text)`](#write) calls and then one [`update()`](#update)
114135
**See also**
115136

116137
- [`write(text)`](#write) To write text to the display target.
138+
- [`writeBytes(bytes)`](#writeBytes) To write bytes to the display target.

0 commit comments

Comments
 (0)