Class AllowlistService
java.lang.Object
net.minecraft.server.jsonrpc.methods.AllowlistService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(MinecraftApi minecraftApi, List<PlayerDto> playerDtos, ClientInfo clientInfo) clear(MinecraftApi minecraftApi, ClientInfo clientInfo) get(MinecraftApi minecraftApi) remove(MinecraftApi minecraftApi, List<PlayerDto> playerDtos, ClientInfo clientInfo) set(MinecraftApi minecraftApi, List<PlayerDto> playerDtos, ClientInfo clientInfo)
-
Constructor Details
-
AllowlistService
public AllowlistService()
-
-
Method Details
-
get
-
add
public static List<PlayerDto> add(MinecraftApi minecraftApi, List<PlayerDto> playerDtos, ClientInfo clientInfo) -
clear
-
remove
public static List<PlayerDto> remove(MinecraftApi minecraftApi, List<PlayerDto> playerDtos, ClientInfo clientInfo) -
set
public static List<PlayerDto> set(MinecraftApi minecraftApi, List<PlayerDto> playerDtos, ClientInfo clientInfo)
-