Package net.minecraft.src
Class PlayerController
- java.lang.Object
-
- net.minecraft.src.PlayerController
-
- Direct Known Subclasses:
PlayerControllerCreative
,PlayerControllerMP
,PlayerControllerSP
@Client public abstract class PlayerController extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isInTestMode
protected Minecraft
mc
-
Constructor Summary
Constructors Constructor Description PlayerController(Minecraft var1)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
attackEntity(Player var1, Entity var2)
abstract void
clickBlock(int i, int j, int k, int l)
Player
createPlayer(World var1)
boolean
extendedReach()
void
flipPlayer(Player entityplayer)
void
func_20086_a(int var1, Player var2)
void
func_35639_a(ItemStack itemstack)
boolean
func_35642_f()
boolean
func_35643_e()
void
func_40593_a(int i, int j)
void
func_6473_b(Player var1)
abstract float
getBlockReachDistance()
void
interactWithEntity(Player var1, Entity var2)
boolean
isInCreativeMode()
boolean
isNotCreative()
abstract void
onPlayerDamageBlock(int i, int j, int k, int l)
boolean
onPlayerDestroyBlock(int var1, int var2, int var3, int var4)
abstract boolean
onPlayerRightClick(Player entityplayer, World world, ItemStack itemstack, int i, int j, int k, int l)
void
onStoppedUsingItem(Player var1)
void
onWorldChange(World world)
abstract void
resetBlockRemoving()
void
sendSlotPacket(ItemStack itemstack, int i)
boolean
sendUseItem(Player var1, World var2, ItemStack var3)
void
setPartialTime(float f)
abstract boolean
shouldDrawHUD()
void
syncCachedInventoryPackets()
void
updateController()
ItemStack
windowClick(int var1, int var2, int var3, boolean var4, Player var5)
-
-
-
Field Detail
-
mc
protected final Minecraft mc
-
isInTestMode
public boolean isInTestMode
-
-
Constructor Detail
-
PlayerController
public PlayerController(Minecraft var1)
-
-
Method Detail
-
onWorldChange
public void onWorldChange(World world)
-
clickBlock
public abstract void clickBlock(int i, int j, int k, int l)
-
onPlayerDestroyBlock
public boolean onPlayerDestroyBlock(int var1, int var2, int var3, int var4)
-
onPlayerDamageBlock
public abstract void onPlayerDamageBlock(int i, int j, int k, int l)
-
resetBlockRemoving
public abstract void resetBlockRemoving()
-
setPartialTime
public void setPartialTime(float f)
-
getBlockReachDistance
public abstract float getBlockReachDistance()
-
flipPlayer
public void flipPlayer(Player entityplayer)
-
updateController
public void updateController()
-
shouldDrawHUD
public abstract boolean shouldDrawHUD()
-
func_6473_b
public void func_6473_b(Player var1)
-
onPlayerRightClick
public abstract boolean onPlayerRightClick(Player entityplayer, World world, ItemStack itemstack, int i, int j, int k, int l)
-
syncCachedInventoryPackets
public void syncCachedInventoryPackets()
-
func_20086_a
public void func_20086_a(int var1, Player var2)
-
func_40593_a
public void func_40593_a(int i, int j)
-
func_35643_e
public boolean func_35643_e()
-
onStoppedUsingItem
public void onStoppedUsingItem(Player var1)
-
func_35642_f
public boolean func_35642_f()
-
isNotCreative
public boolean isNotCreative()
-
isInCreativeMode
public boolean isInCreativeMode()
-
extendedReach
public boolean extendedReach()
-
sendSlotPacket
public void sendSlotPacket(ItemStack itemstack, int i)
-
func_35639_a
public void func_35639_a(ItemStack itemstack)
-
-