Uses of Class
net.minecraft.client.network.ServerInfo.ResourcePackPolicy
| Package | Description |
|---|---|
| net.minecraft.client.network |
-
Uses of ServerInfo.ResourcePackPolicy in net.minecraft.client.network
Fields in net.minecraft.client.network declared as ServerInfo.ResourcePackPolicy Modifier and Type Field Description private ServerInfo.ResourcePackPolicyServerInfo. resourcePackPolicyMethods in net.minecraft.client.network that return ServerInfo.ResourcePackPolicy Modifier and Type Method Description ServerInfo.ResourcePackPolicyServerInfo. getResourcePackPolicy()Returns the policy on resource packs sent by this server.static ServerInfo.ResourcePackPolicyServerInfo.ResourcePackPolicy. valueOf(String name)Returns the enum constant of this type with the specified name.static ServerInfo.ResourcePackPolicy[]ServerInfo.ResourcePackPolicy. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.client.network with parameters of type ServerInfo.ResourcePackPolicy Modifier and Type Method Description voidServerInfo. setResourcePackPolicy(ServerInfo.ResourcePackPolicy policy)Sets the resource pack policy on this server.