Skip to content

Commit be77663

Browse files
twoone-3ShrBox
authored andcommitted
chore: fix docs links
1 parent e073e80 commit be77663

20 files changed

+52
-52
lines changed

docs/apis/GameAPI/Block.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ In LLSE, use "block objects" to manipulate and obtain information about a certai
77
#### Get From Event or API
88

99
By registering the **event listener** function, or calling some **returning a block object** function, you can get the block object related to the related event given by the BDS
10-
For details, see [Event listener documentation - EventAPI](/LLSEPluginDevelopment/EventAPI/Listen.md)
10+
For details, see [Event listener documentation - EventAPI](../EventAPI/Listen.md)
1111

1212
#### Obtained by Block Coordinates
1313

@@ -95,7 +95,7 @@ Each block object contains some member functions (member methods) that can be ex
9595
- Return value: Whether the write was successful or not.
9696
- Return value type: `Boolean`
9797

98-
For more usage of NBT objects, please refer to [NBT Interface Documentation](/LLSEPluginDevelopment/NbtAPI/NBT.md)
98+
For more usage of NBT objects, please refer to [NBT Interface Documentation](/NBT.md)
9999
Note: Use this api with caution, consider using mc.setBlock() instead.
100100

101101

@@ -130,7 +130,7 @@ Such as boxes, buckets and other containers; they each have a container object o
130130
- Return value: The container object owned by this block
131131
- Return value type: `Container`
132132

133-
For more usage of container objects, please refer to [Container Object API Documentation](/LLSEPluginDevelopment/GameAPI/Container.md)
133+
For more usage of container objects, please refer to [Container Object API Documentation](Container.md)
134134

135135

136136

@@ -159,7 +159,7 @@ For more usage of container objects, please refer to [Container Object API Docum
159159
- Return value: Whether the deletion was successful
160160
- Return value type: `Boolean`
161161

162-
For more usage of block entity object, please refer to [Block entity object API documentation](/LLSEPluginDevelopment/GameAPI/BlockEntity.md)
162+
For more usage of block entity object, please refer to [Block entity object API documentation](BlockEntity.md)
163163

164164

165165

docs/apis/GameAPI/Block.zh.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#### 从事件或API获取
88

99
通过注册**事件监听**函数,或者调用某些**返回方块对象**的函数,获取到BDS给出的与相关事件有关的方块对象
10-
详见 [事件监听文档 - EventAPI](LLSEPluginDevelopment/EventAPI/Listen.md)
10+
详见 [事件监听文档 - EventAPI](../EventAPI/Listen.zh.md)
1111

1212
#### 通过方块坐标获取
1313

@@ -96,7 +96,7 @@
9696
- 返回值:是否成功写入
9797
- 返回值类型:`Boolean`
9898

99-
关于NBT对象的更多使用,请参考 [NBT接口文档](LLSEPluginDevelopment/NbtAPI/NBT.md)
99+
关于NBT对象的更多使用,请参考 [NBT接口文档](../NbtAPI/NBT.zh.md)
100100
注意:慎重使用此api,请考虑使用 `mc.setBlock()` 代替
101101

102102

@@ -131,7 +131,7 @@
131131
- 返回值:这个方块所拥有的容器对象
132132
- 返回值类型:`Container`
133133

134-
关于容器对象的更多使用,请参考 [容器对象 API文档](LLSEPluginDevelopment/GameAPI/Container.md)
134+
关于容器对象的更多使用,请参考 [容器对象 API文档](./Container.zh.md)
135135

136136

137137

@@ -160,7 +160,7 @@
160160
- 返回值:是否成功删除
161161
- 返回值类型:`Boolean`
162162

163-
关于方块实体对象的更多使用,请参考 [方块实体对象 API文档](LLSEPluginDevelopment/GameAPI/BlockEntity.md)
163+
关于方块实体对象的更多使用,请参考 [方块实体对象 API文档](../GameAPI/BlockEntity.zh.md)
164164

165165

166166

docs/apis/GameAPI/BlockEntity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Each block entity object contains some member functions (member methods) that ca
5959
- Return type: Whether the write was successful or not.
6060
- Return value type: `Boolean`
6161

62-
For more usage of NBT objects, please refer to [NBT Interface Documentation](/LLSEPluginDevelopment/NbtAPI/NBT.md)
62+
For more usage of NBT objects, please refer to [NBT Interface Documentation](../NbtAPI/NBT.md)
6363

6464

6565

docs/apis/GameAPI/BlockEntity.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
- 返回值:是否成功写入
6060
- 返回值类型:`Boolean`
6161

62-
关于NBT对象的更多使用,请参考 [NBT接口文档](LLSEPluginDevelopment/NbtAPI/NBT.md)
62+
关于NBT对象的更多使用,请参考 [NBT接口文档](../NbtAPI/NBT.zh.md)
6363

6464

6565

docs/apis/GameAPI/Container.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ The **container** here is a broad concept. In addition to the traditional contai
88
#### Get From Event or API
99

1010
Obtain the container object given by BDS by registering the **event listener** function, or calling some **returning container object** functions.
11-
For details, see [Event listener documentation - EventAPI](/LLSEPluginDevelopment/EventAPI/Listen.md)
11+
For details, see [Event listener documentation - EventAPI](../EventAPI/Listen.md)
1212

1313
#### Get By Entity
1414

1515
Obtain a **container object** corresponding to a player's item bar, armor bar, and ender box through each member function of the player object
16-
See [Player Object API](/LLSEPluginDevelopment/GameAPI/Player.md)
16+
See [Player Object API](./Player.md)
1717

1818
#### Obtained From Blocks
1919

2020
For a block that can hold items, the corresponding **container object** is obtained through the member function of the block object.
21-
See [Block Object API](/LLSEPluginDevelopment/GameAPI/Block.md)
21+
See [Block Object API](./Block.md)
2222

2323
> Note: Do not save a container object long-term.
2424
> When the entity/block corresponding to the container object is destroyed, the corresponding container object will become invalid. Therefore, if there is a need to operate a certain container for a long time, please obtain the real-time container object through the above methods.

docs/apis/GameAPI/Container.zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
#### 从事件或API获取
99

1010
通过注册**事件监听**函数,或者调用某些**返回容器对象**的函数,来获取到BDS给出的容器对象
11-
详见 [事件监听文档 - EventAPI](LLSEPluginDevelopment/EventAPI/Listen.md)
11+
详见 [事件监听文档 - EventAPI](../EventAPI/Listen.zh.md)
1212

1313
#### 通过实体获取
1414

1515
通过玩家对象的各个成员函数,来获取一个玩家物品栏、盔甲栏、末影箱对应的**容器对象**
16-
详见 [玩家对象 API](LLSEPluginDevelopment/GameAPI/Player.md)
16+
详见 [玩家对象 API](./Player.zh.md)
1717

1818
#### 通过方块获取
1919

2020
对于可以容纳物品的方块,通过方块对象的成员函数,来他所对应的对应的**容器对象**
21-
详见 [方块对象 API](LLSEPluginDevelopment/GameAPI/Block.md)
21+
详见 [方块对象 API](./Block.zh.md)
2222

2323
> 注意:不要**长期保存**一个容器对象
2424
> 当容器对象对应的实体 / 方块被销毁时,对应的容器对象将同时释放。因此,如果有长期操作某个容器的需要,请通过上述途径获取实时的容器对象

docs/apis/GameAPI/Device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ In LLSE, the "device information object" is used to manipulate and obtain inform
77
#### Acquired by the Player
88

99
Get the **device information object** corresponding to a player through the `.getDevice` member function of the player object
10-
See [Player Object API](/LLSEPluginDevelopment/GameAPI/Player.md)
10+
See [Player Object API](Player.md)
1111

1212
> Note: Do not save a device information object **long-term.**
1313
> When the player corresponding to the device exits the game, the corresponding object will become invalid. Therefore, if there is a need to operate an object for a long time, please obtain the real-time device information object through the above methods.

docs/apis/GameAPI/Device.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#### 通过玩家获取
88

99
通过玩家对象的`.getDevice`成员函数,来获取一个玩家对应的**设备信息对象**
10-
详见 [玩家对象 API](LLSEPluginDevelopment/GameAPI/Player.md)
10+
详见 [玩家对象 API](./Player.zh.md)
1111

1212
> 注意:不要**长期保存**一个设备信息对象
1313
> 当设备对应的玩家退出游戏时,对应的对象将同时释放。因此,如果有长期操作某个对象的需要,请通过上述途径获取实时的设备信息对象

docs/apis/GameAPI/Entity.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ In LLSE, "entity objects" are used to manipulate and obtain information about an
77
#### Get From Event or API
88

99
Obtain the entity object given by BDS by registering the **event listener** function, or calling some **returning entity object** functions.
10-
For details, see [Event listener documentation - EventAPI](/LLSEPluginDevelopment/EventAPI/Listen.md)
10+
For details, see [Event listener documentation - EventAPI](../EventAPI/Listen.md)
1111

1212
#### Get All Currently Loaded Entities
1313

@@ -106,7 +106,7 @@ Every entity object contains some fixed object properties. for a specific entity
106106

107107
These object properties are read-only and cannot be modified.
108108

109-
- For a detailed explanation of the **entity's current orientation** attribute, see the [Basic Game Interface Documentation](/LLSEPluginDevelopment/GameAPI/Basic.md)
109+
- For a detailed explanation of the **entity's current orientation** attribute, see the [Basic Game Interface Documentation](./Basic.md)
110110
- **coordinates** and **leg coordinates**: if this entity is two blocks high, `pos` is different from `feetPos`, `pos` is the coordinate of the entity's view's height and `feetPos` is the coordinate of the block where the leg is located
111111

112112

@@ -458,7 +458,7 @@ If the current entity object is a drop entity, you can use this function to get
458458
- Return value: The container object corresponding to the armor bar of this entity.
459459
- Return value type: `Container`
460460

461-
For more usage of container objects, please refer to [Container Object API Documentation](/LLSEPluginDevelopment/GameAPI/Container.md)
461+
For more usage of container objects, please refer to [Container Object API Documentation](./Command.md)
462462

463463

464464

@@ -480,7 +480,7 @@ Such as the boxes on the alpaca, they each have their own container object.
480480
- Return value: The container object owned by this biological entity.
481481
- Return value type: `Container`
482482

483-
For more usage of container objects, please refer to [Container Object API Documentation](/LLSEPluginDevelopment/GameAPI/Container.md)
483+
For more usage of container objects, please refer to [Container Object API Documentation](./Container.md)
484484

485485

486486

@@ -559,7 +559,7 @@ After modifying the creature's items, in order to make the client take effect, i
559559
- Return value: Whether the write was successful or not.
560560
- Return value type: `Boolean`
561561

562-
For more usage of NBT objects, please refer to [NBT Interface Documentation](/LLSEPluginDevelopment/NbtAPI/NBT.md)
562+
For more usage of NBT objects, please refer to [NBT Interface Documentation](../NbtAPI//NBT.md)
563563

564564

565565

docs/apis/GameAPI/Entity.zh.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#### 从事件或API获取
88

99
通过注册**事件监听**函数,或者调用某些**返回实体对象**的函数,来获取到BDS给出的实体对象
10-
详见 [事件监听文档 - EventAPI](LLSEPluginDevelopment/EventAPI/Listen.md)
10+
详见 [事件监听文档 - EventAPI](../EventAPI/Listen.zh.md)
1111

1212
#### 获取当前所有已加载的实体
1313

@@ -108,7 +108,7 @@
108108

109109
这些对象属性都是只读的,无法被修改
110110

111-
- **实体当前朝向** 属性的详细解释见 [基础游戏接口文档](LLSEPluginDevelopment/GameAPI/Basic.md)
111+
- **实体当前朝向** 属性的详细解释见 [基础游戏接口文档](./Basic.zh.md)
112112
- **坐标****腿部坐标**:如果这个实体为两格高,则`pos``feetPos`不同,`pos`为实体视角高度的坐标,`feetPos`为腿部所在格子的方块坐标
113113

114114

@@ -464,7 +464,7 @@
464464
- 返回值:此实体盔甲栏对应的容器对象
465465
- 返回值类型:`Container`
466466

467-
关于容器对象的更多使用,请参考 [容器对象 API文档](LLSEPluginDevelopment/GameAPI/Container.md)
467+
关于容器对象的更多使用,请参考 [容器对象 API文档](./Container.zh.md)
468468

469469

470470

@@ -486,7 +486,7 @@
486486
- 返回值:这个生物实体所拥有的容器对象
487487
- 返回值类型:`Container`
488488

489-
关于容器对象的更多使用,请参考 [容器对象 API文档](LLSEPluginDevelopment/GameAPI/Container.md)
489+
关于容器对象的更多使用,请参考 [容器对象 API文档](./Container.zh.md)
490490

491491

492492

@@ -565,7 +565,7 @@
565565
- 返回值:是否成功写入
566566
- 返回值类型:`Boolean`
567567

568-
关于NBT对象的更多使用,请参考 [NBT接口文档](LLSEPluginDevelopment/NbtAPI/NBT.md)
568+
关于NBT对象的更多使用,请参考 [NBT接口文档](../NbtAPI/NBT.md)
569569

570570

571571

0 commit comments

Comments
 (0)