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