Skip to content

Commit ba7dfd9

Browse files
committed
feat: add extension in griffe loader
1 parent 063ecc3 commit ba7dfd9

File tree

11 files changed

+503
-1
lines changed

11 files changed

+503
-1
lines changed

content/reference/python/actor.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ Represents a base actor in the level.
4545
<tr key="set_rotation">
4646
<td>[`set_rotation`](#endstone.actor.Actor.set_rotation)</td>
4747
<td>Sets the actor's rotation.</td>
48+
</tr>
49+
<tr key="teleport">
50+
<td>[`teleport`](#endstone.actor.Actor.teleport)</td>
51+
<td></td>
4852
</tr></tbody>
4953
</table>
5054

@@ -324,6 +328,12 @@ set_rotation(yaw:float, pitch:float) -> None
324328

325329
Sets the actor's rotation.
326330

331+
#### <code className="doc-symbol doc-symbol-method"/> teleport [#endstone.actor.Actor.teleport]
332+
333+
```python
334+
teleport()
335+
```
336+
327337
#### <code className="doc-symbol doc-symbol-attribute"/> type [#endstone.actor.Actor.type]
328338

329339
```python

content/reference/python/block.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Represents a block.
3333
<td>[`capture_state`](#endstone.block.Block.capture_state)</td>
3434
<td>Captures the current state of this block. The returned object will never be updated, and you are not guaranteed that (for example) a sign is still a sign after you capture its state.</td>
3535
</tr>
36+
<tr key="get_relative">
37+
<td>[`get_relative`](#endstone.block.Block.get_relative)</td>
38+
<td></td>
39+
</tr>
3640
<tr key="set_data">
3741
<td>[`set_data`](#endstone.block.Block.set_data)</td>
3842
<td>Sets the complete data for this block</td>
@@ -115,6 +119,12 @@ dimension: Dimension
115119

116120
Gets the dimension which contains this Block
117121

122+
#### <code className="doc-symbol doc-symbol-method"/> get_relative [#endstone.block.Block.get_relative]
123+
124+
```python
125+
get_relative()
126+
```
127+
118128
#### <code className="doc-symbol doc-symbol-attribute"/> location [#endstone.block.Block.location]
119129

120130
```python

0 commit comments

Comments
 (0)