|
| PlayerControllerMP (Minecraft par1Minecraft, NetClientHandler par2NetClientHandler) |
|
void | setPlayerCapabilities (EntityPlayer par1EntityPlayer) |
|
boolean | enableEverythingIsScrewedUpMode () |
|
void | setGameType (EnumGameType par1EnumGameType) |
|
void | flipPlayer (EntityPlayer par1EntityPlayer) |
|
boolean | shouldDrawHUD () |
|
boolean | onPlayerDestroyBlock (int par1, int par2, int par3, int par4) |
|
void | clickBlock (int par1, int par2, int par3, int par4) |
|
void | resetBlockRemoving () |
|
void | onPlayerDamageBlock (int par1, int par2, int par3, int par4) |
|
float | getBlockReachDistance () |
|
void | updateController () |
|
boolean | onPlayerRightClick (EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack, int par4, int par5, int par6, int par7, Vec3 par8Vec3) |
|
boolean | sendUseItem (EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack) |
|
EntityClientPlayerMP | func_78754_a (World par1World) |
|
void | attackEntity (EntityPlayer par1EntityPlayer, Entity par2Entity) |
|
boolean | func_78768_b (EntityPlayer par1EntityPlayer, Entity par2Entity) |
|
ItemStack | windowClick (int par1, int par2, int par3, int par4, EntityPlayer par5EntityPlayer) |
|
void | sendEnchantPacket (int par1, int par2) |
|
void | sendSlotPacket (ItemStack par1ItemStack, int par2) |
|
void | func_78752_a (ItemStack par1ItemStack) |
|
void | onStoppedUsingItem (EntityPlayer par1EntityPlayer) |
|
boolean | func_78763_f () |
|
boolean | isNotCreative () |
|
boolean | isInCreativeMode () |
|
boolean | extendedReach () |
|
net.minecraft.client.multiplayer.PlayerControllerMP.PlayerControllerMP |
( |
Minecraft |
par1Minecraft, |
|
|
NetClientHandler |
par2NetClientHandler |
|
) |
| |
void net.minecraft.client.multiplayer.PlayerControllerMP.attackEntity |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
Entity |
par2Entity |
|
) |
| |
void net.minecraft.client.multiplayer.PlayerControllerMP.clickBlock |
( |
int |
par1, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4 |
|
) |
| |
Called by Minecraft class when the player is hitting a block with an item. Args: x, y, z, side
static void net.minecraft.client.multiplayer.PlayerControllerMP.clickBlockCreative |
( |
Minecraft |
par0Minecraft, |
|
|
PlayerControllerMP |
par1PlayerControllerMP, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4, |
|
|
int |
par5 |
|
) |
| |
|
static |
Block dig operation in creative mode (instantly digs the block).
boolean net.minecraft.client.multiplayer.PlayerControllerMP.enableEverythingIsScrewedUpMode |
( |
) | |
|
If modified to return true, the player spins around slowly around (0, 68.5, 0). The GUI is disabled, the view is set to first person, and both chat and menu are disabled. Unless the server is modified to ignore illegal stances, attempting to enter a world at all will result in an immediate kick due to an illegal stance. Appears to be left-over debug, or demo code.
boolean net.minecraft.client.multiplayer.PlayerControllerMP.extendedReach |
( |
) | |
|
true for hitting entities far away.
void net.minecraft.client.multiplayer.PlayerControllerMP.flipPlayer |
( |
EntityPlayer |
par1EntityPlayer) | |
|
Flips the player around. Args: player
void net.minecraft.client.multiplayer.PlayerControllerMP.func_78752_a |
( |
ItemStack |
par1ItemStack) | |
|
boolean net.minecraft.client.multiplayer.PlayerControllerMP.func_78763_f |
( |
) | |
|
boolean net.minecraft.client.multiplayer.PlayerControllerMP.func_78768_b |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
Entity |
par2Entity |
|
) |
| |
float net.minecraft.client.multiplayer.PlayerControllerMP.getBlockReachDistance |
( |
) | |
|
player reach distance = 4F
boolean net.minecraft.client.multiplayer.PlayerControllerMP.isInCreativeMode |
( |
) | |
|
returns true if player is in creative mode
boolean net.minecraft.client.multiplayer.PlayerControllerMP.isNotCreative |
( |
) | |
|
Checks if the player is not creative, used for checking if it should break a block instantly
void net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDamageBlock |
( |
int |
par1, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4 |
|
) |
| |
Called when a player damages a block and updates damage counters
boolean net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDestroyBlock |
( |
int |
par1, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4 |
|
) |
| |
Called when a player completes the destruction of a block
boolean net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
World |
par2World, |
|
|
ItemStack |
par3ItemStack, |
|
|
int |
par4, |
|
|
int |
par5, |
|
|
int |
par6, |
|
|
int |
par7, |
|
|
Vec3 |
par8Vec3 |
|
) |
| |
Handles a players right click. Args: player, world, x, y, z, side, hitVec
void net.minecraft.client.multiplayer.PlayerControllerMP.onStoppedUsingItem |
( |
EntityPlayer |
par1EntityPlayer) | |
|
void net.minecraft.client.multiplayer.PlayerControllerMP.resetBlockRemoving |
( |
) | |
|
Resets current block damage and isHittingBlock
void net.minecraft.client.multiplayer.PlayerControllerMP.sendEnchantPacket |
( |
int |
par1, |
|
|
int |
par2 |
|
) |
| |
GuiEnchantment uses this during multiplayer to tell PlayerControllerMP to send a packet indicating the enchantment action the player has taken.
void net.minecraft.client.multiplayer.PlayerControllerMP.sendSlotPacket |
( |
ItemStack |
par1ItemStack, |
|
|
int |
par2 |
|
) |
| |
boolean net.minecraft.client.multiplayer.PlayerControllerMP.sendUseItem |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
World |
par2World, |
|
|
ItemStack |
par3ItemStack |
|
) |
| |
Notifies the server of things like consuming food, etc...
void net.minecraft.client.multiplayer.PlayerControllerMP.setGameType |
( |
EnumGameType |
par1EnumGameType) | |
|
Sets the game type for the player.
void net.minecraft.client.multiplayer.PlayerControllerMP.setPlayerCapabilities |
( |
EntityPlayer |
par1EntityPlayer) | |
|
Sets player capabilities depending on current gametype. params: player
boolean net.minecraft.client.multiplayer.PlayerControllerMP.shouldDrawHUD |
( |
) | |
|
void net.minecraft.client.multiplayer.PlayerControllerMP.updateController |
( |
) | |
|
ItemStack net.minecraft.client.multiplayer.PlayerControllerMP.windowClick |
( |
int |
par1, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
int |
par4, |
|
|
EntityPlayer |
par5EntityPlayer |
|
) |
| |
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java