You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apis/GameAPI/Block.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ In LLSE, use "block objects" to manipulate and obtain information about a certai
7
7
#### Get From Event or API
8
8
9
9
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)
11
11
12
12
#### Obtained by Block Coordinates
13
13
@@ -95,7 +95,7 @@ Each block object contains some member functions (member methods) that can be ex
95
95
- Return value: Whether the write was successful or not.
96
96
- Return value type: `Boolean`
97
97
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)
99
99
Note: Use this api with caution, consider using mc.setBlock() instead.
100
100
101
101
@@ -130,7 +130,7 @@ Such as boxes, buckets and other containers; they each have a container object o
130
130
- Return value: The container object owned by this block
131
131
- Return value type: `Container`
132
132
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)
134
134
135
135
136
136
@@ -159,7 +159,7 @@ For more usage of container objects, please refer to [Container Object API Docum
159
159
- Return value: Whether the deletion was successful
160
160
- Return value type: `Boolean`
161
161
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)
Copy file name to clipboardExpand all lines: docs/apis/GameAPI/Container.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,17 @@ The **container** here is a broad concept. In addition to the traditional contai
8
8
#### Get From Event or API
9
9
10
10
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)
12
12
13
13
#### Get By Entity
14
14
15
15
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)
17
17
18
18
#### Obtained From Blocks
19
19
20
20
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)
22
22
23
23
> Note: Do not save a container object long-term.
24
24
> 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.
Copy file name to clipboardExpand all lines: docs/apis/GameAPI/Device.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ In LLSE, the "device information object" is used to manipulate and obtain inform
7
7
#### Acquired by the Player
8
8
9
9
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)
11
11
12
12
> Note: Do not save a device information object **long-term.**
13
13
> 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.
Copy file name to clipboardExpand all lines: docs/apis/GameAPI/Entity.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ In LLSE, "entity objects" are used to manipulate and obtain information about an
7
7
#### Get From Event or API
8
8
9
9
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)
11
11
12
12
#### Get All Currently Loaded Entities
13
13
@@ -106,7 +106,7 @@ Every entity object contains some fixed object properties. for a specific entity
106
106
107
107
These object properties are read-only and cannot be modified.
108
108
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)
110
110
-**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
111
111
112
112
@@ -458,7 +458,7 @@ If the current entity object is a drop entity, you can use this function to get
458
458
- Return value: The container object corresponding to the armor bar of this entity.
459
459
- Return value type: `Container`
460
460
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)
462
462
463
463
464
464
@@ -480,7 +480,7 @@ Such as the boxes on the alpaca, they each have their own container object.
480
480
- Return value: The container object owned by this biological entity.
481
481
- Return value type: `Container`
482
482
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)
484
484
485
485
486
486
@@ -559,7 +559,7 @@ After modifying the creature's items, in order to make the client take effect, i
559
559
- Return value: Whether the write was successful or not.
560
560
- Return value type: `Boolean`
561
561
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)
0 commit comments