Class FabricPlatformHelper
java.lang.Object
com.mrbysco.captcha.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSend Completed Captcha Message to the server.voidsendRequireCaptchaMessage(net.minecraft.server.level.ServerPlayer serverPlayer, String captchaName, String code) Send Require Captcha Message to the client.
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
sendRequireCaptchaMessage
public void sendRequireCaptchaMessage(net.minecraft.server.level.ServerPlayer serverPlayer, String captchaName, String code) Description copied from interface:IPlatformHelperSend Require Captcha Message to the client.- Specified by:
sendRequireCaptchaMessagein interfaceIPlatformHelper- Parameters:
serverPlayer- The player to send the message to.captchaName- The name of the captcha.code- The code for the captcha.
-
sendCompletedCaptchaMessage
Description copied from interface:IPlatformHelperSend Completed Captcha Message to the server.- Specified by:
sendCompletedCaptchaMessagein interfaceIPlatformHelper- Parameters:
code- The code for the captcha.
-