Class BanlistService
java.lang.Object
net.minecraft.server.jsonrpc.methods.BanlistService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final recordstatic final record -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<BanlistService.UserBanDto> add(MinecraftApi pApi, List<BanlistService.UserBanDto> pEntries, ClientInfo pClientInfo) static List<BanlistService.UserBanDto> clear(MinecraftApi pApi, ClientInfo pClientInfo) static List<BanlistService.UserBanDto> get(MinecraftApi pApi) static List<BanlistService.UserBanDto> remove(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) static List<BanlistService.UserBanDto> set(MinecraftApi pApi, List<BanlistService.UserBanDto> pEntries, ClientInfo pClientInfo)
-
Field Details
-
BAN_SOURCE
- See Also:
-
-
Constructor Details
-
BanlistService
public BanlistService()
-
-
Method Details
-
get
-
add
public static List<BanlistService.UserBanDto> add(MinecraftApi pApi, List<BanlistService.UserBanDto> pEntries, ClientInfo pClientInfo) -
clear
-
remove
public static List<BanlistService.UserBanDto> remove(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) -
set
public static List<BanlistService.UserBanDto> set(MinecraftApi pApi, List<BanlistService.UserBanDto> pEntries, ClientInfo pClientInfo)
-