api.md: clarify get_required_client_version (#334)
This commit is contained in:
parent
f326de2686
commit
5eccb0ed49
|
@ -408,6 +408,8 @@ In addition the following methods can be implemented
|
||||||
* `def get_required_client_version(self)`
|
* `def get_required_client_version(self)`
|
||||||
can return a tuple of 3 ints to make sure the client is compatible to this
|
can return a tuple of 3 ints to make sure the client is compatible to this
|
||||||
world (e.g. item IDs) when connecting.
|
world (e.g. item IDs) when connecting.
|
||||||
|
Always use `return max((x,y,z), super().get_required_client_version())`
|
||||||
|
to catch updates in the lower layers that break compatibility.
|
||||||
|
|
||||||
#### generate_early
|
#### generate_early
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue