Class CTNetworkContext
java.lang.Object
com.blamejared.crafttweaker.api.network.CTNetworkContext
Context that is provided when data is received from the network.
- DocParam:
- this context
-
Constructor Summary
ConstructorsConstructorDescriptionCTNetworkContext(String id, net.minecraft.world.entity.player.Player player) -
Method Summary
-
Constructor Details
-
CTNetworkContext
-
-
Method Details
-
id
The id of the network request.- Returns:
- The id of the network request.
-
player
public net.minecraft.world.entity.player.Player player()The player that received the network request, this is usually the client player.- Returns:
- The player that received the network request.
-