
Wanda
A server-side point selection wand API
- Загрузки
- 237
- Подписчики
- 0
- Обновлён
- 28 июня 2023 г.
- Лицензия
- MIT
Опубликован 28 июня 2023 г.
Wanda
Wanda adds a selection wand/tool similar to world-edit's selection wand. However, thats all this mod does. It is intended to be used as a API for other mods to branch off of as I have seen a lack of a central selection tool in the fabric ecosystem.
Commands
- /wand
- Permission Requirement:
wanda.wandor level 4(OP) - Gives player a Wanda wand.
- Permission Requirement:
Developer Info
The following API's are intended for other developers to use. They can be called by class name in most cases.
WandaAPI
Pair<BlockPos, BlockPos> getPlayerSelection(ServerPlayerEntity);- Gets a given player's selection, or null, in BlockPos format as a pair in PRIMARY, SECONDARY order.
Server-Side
Wanda is is only needed server-side, but doesn't hurt to have it on the client. If its on a single player world it should function as intended. Please report any issues to the issue page linked below!
Ченджлог
1.0.0a+1.20.1Релиз1.20, 1.20.1 · 28 июня 2023 г.
Fixed WandaAPI#getPlayerSelection being non-static, Added check to prevent message spam when selecting the same block with wand, Added /wand command to give player a wand item if permissions are met
Комментарии
Загружаем…