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