Class BotServiceGrpc
java.lang.Object
com.soulfiremc.grpc.generated.BotServiceGrpc
Service for managing and controlling Minecraft bots.
Provides comprehensive APIs for bot monitoring, movement control,
inventory management, and interaction with server dialogs.
Permissions:
- READ_BOT_INFO: Required for GetBotList, GetBotInfo, GetInventoryState,
RenderBotPov, GetDialog
- UPDATE_BOT_CONFIG: Required for all other operations that modify bot state
Error Handling:
- NOT_FOUND: Instance or bot does not exist
- FAILED_PRECONDITION: Bot is not online or required game state is unavailable
- INTERNAL: Unexpected server errors (check server logs for details)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceService for managing and controlling Minecraft bots.static final classA stub to allow clients to do limited synchronous rpc calls to service BotService.static final classA stub to allow clients to do synchronous rpc calls to service BotService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service BotService.static classBase class for the server implementation of the service BotService.static final classA stub to allow clients to do asynchronous rpc calls to service BotService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(BotServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<BotContainerButtonClickRequest, BotContainerButtonClickResponse> static io.grpc.MethodDescriptor<BotClickDialogButtonRequest, BotClickDialogButtonResponse> static io.grpc.MethodDescriptor<BotInventoryClickRequest, BotInventoryClickResponse> static io.grpc.MethodDescriptor<BotCloseContainerRequest, BotCloseContainerResponse> static io.grpc.MethodDescriptor<BotCloseDialogRequest, BotCloseDialogResponse> static io.grpc.MethodDescriptor<BotInfoRequest, BotInfoResponse> static io.grpc.MethodDescriptor<BotListRequest, BotListResponse> static io.grpc.MethodDescriptor<BotGetDialogRequest, BotGetDialogResponse> static io.grpc.MethodDescriptor<BotInventoryStateRequest, BotInventoryStateResponse> static io.grpc.MethodDescriptor<BotMouseClickRequest, BotMouseClickResponse> static io.grpc.MethodDescriptor<BotOpenInventoryRequest, BotOpenInventoryResponse> static io.grpc.MethodDescriptor<BotRenderPovRequest, BotRenderPovResponse> static io.grpc.MethodDescriptor<BotResetMovementRequest, BotResetMovementResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<BotSetContainerTextRequest, BotSetContainerTextResponse> static io.grpc.MethodDescriptor<BotSetHotbarSlotRequest, BotSetHotbarSlotResponse> static io.grpc.MethodDescriptor<BotSetMovementStateRequest, BotSetMovementStateResponse> static io.grpc.MethodDescriptor<BotSetRotationRequest, BotSetRotationResponse> static io.grpc.MethodDescriptor<BotSubmitDialogRequest, BotSubmitDialogResponse> static io.grpc.MethodDescriptor<BotUpdateConfigEntryRequest, BotUpdateConfigEntryResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getGetBotListMethod
-
getGetBotInfoMethod
-
getUpdateBotConfigEntryMethod
public static io.grpc.MethodDescriptor<BotUpdateConfigEntryRequest, BotUpdateConfigEntryResponse> getUpdateBotConfigEntryMethod() -
getRenderBotPovMethod
public static io.grpc.MethodDescriptor<BotRenderPovRequest, BotRenderPovResponse> getRenderBotPovMethod() -
getClickInventorySlotMethod
public static io.grpc.MethodDescriptor<BotInventoryClickRequest, BotInventoryClickResponse> getClickInventorySlotMethod() -
getGetInventoryStateMethod
public static io.grpc.MethodDescriptor<BotInventoryStateRequest, BotInventoryStateResponse> getGetInventoryStateMethod() -
getCloseContainerMethod
public static io.grpc.MethodDescriptor<BotCloseContainerRequest, BotCloseContainerResponse> getCloseContainerMethod() -
getOpenInventoryMethod
public static io.grpc.MethodDescriptor<BotOpenInventoryRequest, BotOpenInventoryResponse> getOpenInventoryMethod() -
getMouseClickMethod
public static io.grpc.MethodDescriptor<BotMouseClickRequest, BotMouseClickResponse> getMouseClickMethod() -
getClickContainerButtonMethod
public static io.grpc.MethodDescriptor<BotContainerButtonClickRequest, BotContainerButtonClickResponse> getClickContainerButtonMethod() -
getSetContainerTextMethod
public static io.grpc.MethodDescriptor<BotSetContainerTextRequest, BotSetContainerTextResponse> getSetContainerTextMethod() -
getSetHotbarSlotMethod
public static io.grpc.MethodDescriptor<BotSetHotbarSlotRequest, BotSetHotbarSlotResponse> getSetHotbarSlotMethod() -
getSetMovementStateMethod
public static io.grpc.MethodDescriptor<BotSetMovementStateRequest, BotSetMovementStateResponse> getSetMovementStateMethod() -
getResetMovementMethod
public static io.grpc.MethodDescriptor<BotResetMovementRequest, BotResetMovementResponse> getResetMovementMethod() -
getSetRotationMethod
public static io.grpc.MethodDescriptor<BotSetRotationRequest, BotSetRotationResponse> getSetRotationMethod() -
getGetDialogMethod
public static io.grpc.MethodDescriptor<BotGetDialogRequest, BotGetDialogResponse> getGetDialogMethod() -
getSubmitDialogMethod
public static io.grpc.MethodDescriptor<BotSubmitDialogRequest, BotSubmitDialogResponse> getSubmitDialogMethod() -
getClickDialogButtonMethod
public static io.grpc.MethodDescriptor<BotClickDialogButtonRequest, BotClickDialogButtonResponse> getClickDialogButtonMethod() -
getCloseDialogMethod
public static io.grpc.MethodDescriptor<BotCloseDialogRequest, BotCloseDialogResponse> getCloseDialogMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(BotServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-