Java Code Examples for net.minecraft.entity.player.EntityPlayer.isActiveItemStackBlocking()

The following are Jave code examples for showing how to use isActiveItemStackBlocking() of the net.minecraft.entity.player.EntityPlayer class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: ExPetrum   File:   View Source Code Vote up 4 votes
public boolean canExecute(EntityPlayer player, WeaponType currentWeapon, EnumWeaponWeight currentWeaponWeight, boolean invokedWithRightClick)
	return !invokedWithRightClick && player.isActiveItemStackBlocking();