Modifier and Type | Field and Description |
---|---|
protected java.lang.ThreadLocal<EntityPlayer> |
Block.harvesters |
Modifier and Type | Method and Description |
---|---|
private EntityPlayer |
BlockBed.getPlayerInBed(World worldIn,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
boolean |
Block.canHarvestBlock(IBlockAccess world,
BlockPos pos,
EntityPlayer player)
Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.
|
boolean |
Block.canSilkHarvest(World world,
BlockPos pos,
IBlockState state,
EntityPlayer player)
Return true from this function if the player with silk touch can harvest this block directly, and not it's normal drops.
|
Container |
BlockWorkbench.InterfaceCraftingTable.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
BlockAnvil.Anvil.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
private boolean |
BlockCake.eatCake(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
BlockPos |
Block.getBedSpawnPosition(IBlockState state,
IBlockAccess world,
BlockPos pos,
EntityPlayer player)
Returns the position that the player is moved to upon
waking up, or respawning at the bed.
|
ItemStack |
Block.getPickBlock(IBlockState state,
RayTraceResult target,
World world,
BlockPos pos,
EntityPlayer player)
Called when a user uses the creative pick block button on this block
|
float |
Block.getPlayerRelativeBlockHardness(IBlockState state,
EntityPlayer player,
World worldIn,
BlockPos pos)
Deprecated.
|
void |
BlockBanner.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockChorusFlower.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockDeadBush.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockDoublePlant.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockFlowerPot.harvestBlock(World world,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack tool) |
void |
BlockIce.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockOldLeaf.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockWeb.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockContainer.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
Block.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockVine.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockSnow.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockBed.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockNewLeaf.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
void |
BlockTallGrass.harvestBlock(World worldIn,
EntityPlayer player,
BlockPos pos,
IBlockState state,
TileEntity te,
ItemStack stack) |
boolean |
BlockCommandBlock.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockFence.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockChest.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockTNT.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockDaylightDetector.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockDispenser.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockCake.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockDragonEgg.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockWorkbench.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockRedstoneOre.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockFenceGate.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockNote.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockShulkerBox.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockAnvil.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockHopper.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockJukebox.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockLever.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockFlowerPot.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockRedstoneRepeater.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockRedstoneComparator.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockDoor.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockEnderChest.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
Block.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockButton.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockSign.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockCauldron.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockBeacon.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockFurnace.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockBrewingStand.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockBed.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockStairs.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockStructure.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockTrapDoor.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockPistonMoving.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
boolean |
BlockEnchantmentTable.onBlockActivated(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer playerIn,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
void |
BlockDragonEgg.onBlockClicked(World worldIn,
BlockPos pos,
EntityPlayer playerIn) |
void |
BlockRedstoneOre.onBlockClicked(World worldIn,
BlockPos pos,
EntityPlayer playerIn) |
void |
BlockNote.onBlockClicked(World worldIn,
BlockPos pos,
EntityPlayer playerIn) |
void |
Block.onBlockClicked(World worldIn,
BlockPos pos,
EntityPlayer playerIn) |
void |
BlockStairs.onBlockClicked(World worldIn,
BlockPos pos,
EntityPlayer playerIn) |
void |
BlockTripWire.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
BlockShulkerBox.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
BlockPistonExtension.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
BlockDoublePlant.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
BlockSkull.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
BlockFlowerPot.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
BlockDoor.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
Block.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
void |
BlockBed.onBlockHarvested(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
private boolean |
BlockDoublePlant.onHarvest(World worldIn,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
protected void |
BlockButtonStone.playClickSound(EntityPlayer player,
World worldIn,
BlockPos pos) |
protected void |
BlockButtonWood.playClickSound(EntityPlayer player,
World worldIn,
BlockPos pos) |
protected abstract void |
BlockButton.playClickSound(EntityPlayer player,
World worldIn,
BlockPos pos) |
protected void |
BlockTrapDoor.playSound(EntityPlayer player,
World worldIn,
BlockPos pos,
boolean p_185731_4_) |
boolean |
BlockFlowerPot.removedByPlayer(IBlockState state,
World world,
BlockPos pos,
EntityPlayer player,
boolean willHarvest) |
boolean |
Block.removedByPlayer(IBlockState state,
World world,
BlockPos pos,
EntityPlayer player,
boolean willHarvest)
Called when a player removes a block.
|
void |
Block.setBedOccupied(IBlockAccess world,
BlockPos pos,
EntityPlayer player,
boolean occupied)
Called when a user either starts or stops sleeping in the bed.
|
Modifier and Type | Method and Description |
---|---|
float |
BlockStateContainer.StateImplementation.getPlayerRelativeBlockHardness(EntityPlayer player,
World worldIn,
BlockPos pos) |
float |
IBlockProperties.getPlayerRelativeBlockHardness(EntityPlayer player,
World worldIn,
BlockPos pos) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
MovingSoundMinecartRiding.player |
Modifier and Type | Method and Description |
---|---|
void |
SoundManager.setListener(EntityPlayer player,
float p_148615_2_) |
void |
SoundHandler.setListener(EntityPlayer player,
float p_147691_2_) |
Constructor and Description |
---|
MovingSoundMinecartRiding(EntityPlayer playerRiding,
EntityMinecart minecart) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientPlayer |
class |
EntityOtherPlayerMP |
class |
EntityPlayerSP |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
GuiScreenBook.editingPlayer |
Modifier and Type | Method and Description |
---|---|
protected void |
GuiIngame.renderHotbarItem(int p_184044_1_,
int p_184044_2_,
float p_184044_3_,
EntityPlayer player,
ItemStack stack) |
Constructor and Description |
---|
GuiScreenBook(EntityPlayer player,
ItemStack book,
boolean isUnsigned) |
Modifier and Type | Method and Description |
---|---|
boolean |
GuiContainerCreative.ContainerCreative.canInteractWith(EntityPlayer playerIn) |
boolean |
GuiContainerCreative.CreativeSlot.canTakeStack(EntityPlayer playerIn) |
boolean |
GuiContainerCreative.LockedSlot.canTakeStack(EntityPlayer playerIn) |
ItemStack |
GuiContainerCreative.CreativeSlot.onTake(EntityPlayer thePlayer,
ItemStack stack) |
ItemStack |
GuiContainerCreative.ContainerCreative.transferStackInSlot(EntityPlayer playerIn,
int index) |
Constructor and Description |
---|
ContainerCreative(EntityPlayer player) |
GuiContainerCreative(EntityPlayer player) |
GuiInventory(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
void |
PlayerControllerMP.attackEntity(EntityPlayer playerIn,
Entity targetEntity) |
void |
PlayerControllerMP.flipPlayer(EntityPlayer playerIn) |
void |
PlayerControllerMP.func_194338_a(int p_194338_1_,
IRecipe p_194338_2_,
boolean p_194338_3_,
EntityPlayer p_194338_4_) |
EnumActionResult |
PlayerControllerMP.interactWithEntity(EntityPlayer player,
Entity target,
EnumHand hand) |
EnumActionResult |
PlayerControllerMP.interactWithEntity(EntityPlayer player,
Entity target,
RayTraceResult ray,
EnumHand hand) |
void |
PlayerControllerMP.onStoppedUsingItem(EntityPlayer playerIn) |
void |
WorldClient.playSound(EntityPlayer player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
EnumActionResult |
PlayerControllerMP.processRightClick(EntityPlayer player,
World worldIn,
EnumHand hand) |
void |
PlayerControllerMP.setPlayerCapabilities(EntityPlayer player) |
ItemStack |
PlayerControllerMP.windowClick(int windowId,
int slotId,
int mouseButton,
ClickType type,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
Container |
ContainerLocalMenu.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
LocalBlockIntercommunication.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Modifier and Type | Method and Description |
---|---|
void |
RenderGlobal.drawSelectionBox(EntityPlayer player,
RayTraceResult movingObjectPositionIn,
int execute,
float partialTicks) |
void |
RenderGlobal.playEvent(EntityPlayer player,
int type,
BlockPos blockPosIn,
int data) |
void |
RenderGlobal.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
float volume,
float pitch) |
static void |
ActiveRenderInfo.updateRenderInfo(EntityPlayer entityplayerIn,
boolean p_74583_1_) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
DebugRendererPathfinding.player |
private EntityPlayer |
DebugRendererCollisionBox.player |
private EntityPlayer |
DebugRendererWater.player |
Modifier and Type | Method and Description |
---|---|
void |
LayerEntityOnShoulder.doRenderLayer(EntityPlayer entitylivingbaseIn,
float limbSwing,
float limbSwingAmount,
float partialTicks,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
private LayerEntityOnShoulder.DataHolder |
LayerEntityOnShoulder.renderEntityOnShoulder(EntityPlayer p_192864_1_,
java.util.UUID p_192864_2_,
NBTTagCompound p_192864_3_,
RenderLivingBase<? extends EntityLivingBase> p_192864_4_,
ModelBase p_192864_5_,
ResourceLocation p_192864_6_,
java.lang.Class<?> p_192864_7_,
float p_192864_8_,
float p_192864_9_,
float p_192864_10_,
float p_192864_11_,
float p_192864_12_,
float p_192864_13_,
float p_192864_14_,
boolean p_192864_15_) |
Modifier and Type | Field and Description |
---|---|
protected EntityPlayer |
EntityLivingBase.attackingPlayer |
private EntityPlayer |
NpcMerchant.customer |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
IMerchant.getCustomer() |
EntityPlayer |
NpcMerchant.getCustomer() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends EntityPlayer> |
EntityTracker.getTrackingPlayers(Entity entity)
Get all players tracking the given Entity.
|
Modifier and Type | Method and Description |
---|---|
EnumActionResult |
Entity.applyPlayerInteraction(EntityPlayer player,
Vec3d vec,
EnumHand hand) |
boolean |
EntityLiving.canBeLeashedTo(EntityPlayer player) |
protected int |
EntityLiving.getExperiencePoints(EntityPlayer player) |
protected int |
EntityLivingBase.getExperiencePoints(EntityPlayer player) |
MerchantRecipeList |
IMerchant.getRecipes(EntityPlayer player) |
MerchantRecipeList |
NpcMerchant.getRecipes(EntityPlayer player) |
boolean |
Entity.isInvisibleToPlayer(EntityPlayer player) |
void |
Entity.onCollideWithPlayer(EntityPlayer entityIn) |
boolean |
Entity.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityLeashKnot.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityLiving.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityAgeable.processInteract(EntityPlayer player,
EnumHand hand) |
protected boolean |
EntityLiving.processInteract(EntityPlayer player,
EnumHand hand) |
void |
IMerchant.setCustomer(EntityPlayer player) |
void |
NpcMerchant.setCustomer(EntityPlayer player) |
boolean |
EntityLivingBase.shouldRiderFaceForward(EntityPlayer player)
Returns true if the entity's rider (EntityPlayer) should face forward when mounted.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityTrackerEntry.updatePlayerEntities(java.util.List<EntityPlayer> players) |
void |
EntityTrackerEntry.updatePlayerList(java.util.List<EntityPlayer> players) |
Constructor and Description |
---|
NpcMerchant(EntityPlayer customerIn,
ITextComponent nameIn) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
EntityAILandOnOwnersShoulder.owner |
private EntityPlayer |
EntityAIBeg.player |
private EntityPlayer |
EntityAITempt.temptingPlayer |
Modifier and Type | Method and Description |
---|---|
private boolean |
EntityAIBeg.hasTemptationItemInHand(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
void |
IPhase.onCrystalDestroyed(EntityEnderCrystal crystal,
BlockPos pos,
DamageSource dmgSrc,
EntityPlayer plyr) |
void |
PhaseBase.onCrystalDestroyed(EntityEnderCrystal crystal,
BlockPos pos,
DamageSource dmgSrc,
EntityPlayer plyr) |
void |
PhaseHoldingPattern.onCrystalDestroyed(EntityEnderCrystal crystal,
BlockPos pos,
DamageSource dmgSrc,
EntityPlayer plyr) |
private void |
PhaseHoldingPattern.strafePlayer(EntityPlayer player) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
EntityXPOrb.closestPlayer |
Modifier and Type | Method and Description |
---|---|
void |
EntityMinecartContainer.addLoot(EntityPlayer player) |
EnumActionResult |
EntityArmorStand.applyPlayerInteraction(EntityPlayer player,
Vec3d vec,
EnumHand hand) |
void |
EntityMinecartContainer.closeInventory(EntityPlayer player) |
Container |
EntityMinecartHopper.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
EntityMinecartChest.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
boolean |
EntityMinecartContainer.isUsableByPlayer(EntityPlayer player) |
void |
EntityItem.onCollideWithPlayer(EntityPlayer entityIn) |
void |
EntityXPOrb.onCollideWithPlayer(EntityPlayer entityIn) |
void |
EntityMinecartContainer.openInventory(EntityPlayer player) |
boolean |
EntityMinecartHopper.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityMinecartCommandBlock.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityMinecartEmpty.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityBoat.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityItemFrame.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityMinecartFurnace.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityMinecartContainer.processInitialInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityMinecart.processInitialInteract(EntityPlayer player,
EnumHand hand) |
private void |
EntityArmorStand.swapItem(EntityPlayer player,
EntityEquipmentSlot p_184795_2_,
ItemStack p_184795_3_,
EnumHand hand) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
EntityEnderman.AIFindPlayer.player |
Modifier and Type | Method and Description |
---|---|
protected int |
EntityZombie.getExperiencePoints(EntityPlayer player) |
boolean |
EntityMob.isPreventingPlayerRest(EntityPlayer playerIn) |
boolean |
EntityPigZombie.isPreventingPlayerRest(EntityPlayer playerIn) |
void |
EntitySlime.onCollideWithPlayer(EntityPlayer entityIn) |
protected boolean |
EntityCreeper.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityZombieVillager.processInteract(EntityPlayer player,
EnumHand hand) |
protected boolean |
EntitySnowman.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityPigZombie.processInteract(EntityPlayer player,
EnumHand hand) |
private boolean |
EntityEnderman.shouldAttackPlayer(EntityPlayer player) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
EntityVillager.buyingPlayer |
Modifier and Type | Field and Description |
---|---|
private EntityAIAvoidEntity<EntityPlayer> |
EntityOcelot.avoidEntity |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
EntityVillager.getCustomer() |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractHorse.canBeLeashedTo(EntityPlayer player) |
boolean |
EntityAmbientCreature.canBeLeashedTo(EntityPlayer player) |
boolean |
EntityTameable.canBeLeashedTo(EntityPlayer player) |
boolean |
EntityVillager.canBeLeashedTo(EntityPlayer player) |
boolean |
EntityWolf.canBeLeashedTo(EntityPlayer player) |
protected void |
EntityAnimal.consumeItemFromStack(EntityPlayer player,
ItemStack stack) |
protected int |
EntityChicken.getExperiencePoints(EntityPlayer player) |
protected int |
EntityWaterMob.getExperiencePoints(EntityPlayer player) |
protected int |
EntityAnimal.getExperiencePoints(EntityPlayer player) |
MerchantRecipeList |
EntityVillager.getRecipes(EntityPlayer player) |
protected boolean |
AbstractHorse.handleEating(EntityPlayer player,
ItemStack stack) |
protected boolean |
EntityLlama.handleEating(EntityPlayer player,
ItemStack stack) |
protected void |
AbstractHorse.mountTo(EntityPlayer player) |
void |
AbstractHorse.openGUI(EntityPlayer playerEntity) |
boolean |
EntityOcelot.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityPig.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityMooshroom.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityZombieHorse.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityCow.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
AbstractChestHorse.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityVillager.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityWolf.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntitySheep.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityHorse.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntitySkeletonHorse.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityAnimal.processInteract(EntityPlayer player,
EnumHand hand) |
boolean |
EntityParrot.processInteract(EntityPlayer player,
EnumHand hand) |
void |
EntityVillager.setCustomer(EntityPlayer player) |
boolean |
EntityShoulderRiding.setEntityOnShoulder(EntityPlayer p_191994_1_) |
void |
EntityAnimal.setInLove(EntityPlayer player) |
boolean |
AbstractHorse.setTamedBy(EntityPlayer player) |
void |
EntityTameable.setTamedBy(EntityPlayer player) |
Modifier and Type | Class and Description |
---|---|
class |
EntityPlayerMP |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
EntityPlayer.SleepEnemyPredicate.player |
EntityPlayer |
InventoryPlayer.player |
Modifier and Type | Method and Description |
---|---|
boolean |
EntityPlayer.canAttackPlayer(EntityPlayer other) |
boolean |
EntityPlayerMP.canAttackPlayer(EntityPlayer other) |
void |
InventoryPlayer.closeInventory(EntityPlayer player) |
protected int |
EntityPlayer.getExperiencePoints(EntityPlayer player) |
boolean |
EntityPlayer.isInvisibleToPlayer(EntityPlayer player) |
boolean |
InventoryPlayer.isUsableByPlayer(EntityPlayer player) |
void |
InventoryPlayer.openInventory(EntityPlayer player) |
Constructor and Description |
---|
InventoryPlayer(EntityPlayer playerIn) |
SleepEnemyPredicate(EntityPlayer playerIn) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
EntityFishHook.angler |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
EntityFishHook.getAngler() |
Modifier and Type | Method and Description |
---|---|
private void |
EntityFishHook.init(EntityPlayer p_190626_1_) |
void |
EntityArrow.onCollideWithPlayer(EntityPlayer entityIn) |
Constructor and Description |
---|
EntityFishHook(World worldIn,
EntityPlayer fishingPlayer) |
EntityFishHook(World worldIn,
EntityPlayer p_i47290_2_,
double x,
double y,
double z) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
ContainerRepair.player |
private EntityPlayer |
ContainerWorkbench.player |
private EntityPlayer |
SlotMerchantResult.player |
private EntityPlayer |
SlotFurnaceOutput.player |
private EntityPlayer |
InventoryMerchant.player |
private EntityPlayer |
ContainerPlayer.player |
private EntityPlayer |
SlotCrafting.player |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<EntityPlayer> |
Container.playerList |
Modifier and Type | Method and Description |
---|---|
boolean |
ContainerHorseInventory.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerDispenser.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerFurnace.canInteractWith(EntityPlayer playerIn) |
abstract boolean |
Container.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerRepair.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerWorkbench.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerBrewingStand.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerEnchantment.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerChest.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerBeacon.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerPlayer.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerHopper.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerShulkerBox.canInteractWith(EntityPlayer playerIn) |
boolean |
ContainerMerchant.canInteractWith(EntityPlayer playerIn) |
boolean |
Slot.canTakeStack(EntityPlayer playerIn) |
protected void |
Container.clearContainer(EntityPlayer playerIn,
World worldIn,
IInventory inventoryIn) |
void |
InventoryCrafting.closeInventory(EntityPlayer player) |
void |
InventoryEnderChest.closeInventory(EntityPlayer player) |
void |
IInventory.closeInventory(EntityPlayer player) |
void |
InventoryBasic.closeInventory(EntityPlayer player) |
void |
InventoryMerchant.closeInventory(EntityPlayer player) |
void |
InventoryCraftResult.closeInventory(EntityPlayer player) |
void |
InventoryLargeChest.closeInventory(EntityPlayer player) |
Container |
InventoryLargeChest.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
boolean |
Container.enchantItem(EntityPlayer playerIn,
int id) |
boolean |
ContainerEnchantment.enchantItem(EntityPlayer playerIn,
int id) |
boolean |
Container.getCanCraft(EntityPlayer player) |
boolean |
InventoryCrafting.isUsableByPlayer(EntityPlayer player) |
boolean |
InventoryEnderChest.isUsableByPlayer(EntityPlayer player) |
boolean |
IInventory.isUsableByPlayer(EntityPlayer player) |
boolean |
InventoryBasic.isUsableByPlayer(EntityPlayer player) |
boolean |
InventoryMerchant.isUsableByPlayer(EntityPlayer player) |
boolean |
InventoryCraftResult.isUsableByPlayer(EntityPlayer player) |
boolean |
InventoryLargeChest.isUsableByPlayer(EntityPlayer player) |
static boolean |
Container.isValidDragMode(int dragModeIn,
EntityPlayer player) |
void |
ContainerHorseInventory.onContainerClosed(EntityPlayer playerIn) |
void |
Container.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerRepair.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerWorkbench.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerEnchantment.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerChest.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerBeacon.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerPlayer.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerHopper.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerShulkerBox.onContainerClosed(EntityPlayer playerIn) |
void |
ContainerMerchant.onContainerClosed(EntityPlayer playerIn) |
ItemStack |
Slot.onTake(EntityPlayer thePlayer,
ItemStack stack) |
ItemStack |
SlotMerchantResult.onTake(EntityPlayer thePlayer,
ItemStack stack) |
ItemStack |
SlotFurnaceOutput.onTake(EntityPlayer thePlayer,
ItemStack stack) |
ItemStack |
ContainerBrewingStand.Potion.onTake(EntityPlayer thePlayer,
ItemStack stack) |
ItemStack |
SlotCrafting.onTake(EntityPlayer thePlayer,
ItemStack stack) |
void |
InventoryCrafting.openInventory(EntityPlayer player) |
void |
InventoryEnderChest.openInventory(EntityPlayer player) |
void |
IInventory.openInventory(EntityPlayer player) |
void |
InventoryBasic.openInventory(EntityPlayer player) |
void |
InventoryMerchant.openInventory(EntityPlayer player) |
void |
InventoryCraftResult.openInventory(EntityPlayer player) |
void |
InventoryLargeChest.openInventory(EntityPlayer player) |
void |
Container.setCanCraft(EntityPlayer player,
boolean canCraft) |
protected void |
Container.slotChangedCraftingGrid(World p_192389_1_,
EntityPlayer p_192389_2_,
InventoryCrafting p_192389_3_,
InventoryCraftResult p_192389_4_) |
ItemStack |
Container.slotClick(int slotId,
int dragType,
ClickType clickTypeIn,
EntityPlayer player) |
ItemStack |
ContainerHorseInventory.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerDispenser.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerFurnace.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
Container.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerRepair.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerWorkbench.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerBrewingStand.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerEnchantment.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerChest.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerBeacon.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerPlayer.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerHopper.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerShulkerBox.transferStackInSlot(EntityPlayer playerIn,
int index) |
ItemStack |
ContainerMerchant.transferStackInSlot(EntityPlayer playerIn,
int index) |
Constructor and Description |
---|
ContainerChest(IInventory playerInventory,
IInventory chestInventory,
EntityPlayer player) |
ContainerHopper(InventoryPlayer playerInventory,
IInventory hopperInventoryIn,
EntityPlayer player) |
ContainerHorseInventory(IInventory playerInventory,
IInventory horseInventoryIn,
AbstractHorse horse,
EntityPlayer player) |
ContainerPlayer(InventoryPlayer playerInventory,
boolean localWorld,
EntityPlayer playerIn) |
ContainerRepair(InventoryPlayer playerInventory,
World worldIn,
BlockPos blockPosIn,
EntityPlayer player) |
ContainerRepair(InventoryPlayer playerInventory,
World worldIn,
EntityPlayer player) |
ContainerShulkerBox(InventoryPlayer p_i47266_1_,
IInventory p_i47266_2_,
EntityPlayer p_i47266_3_) |
InventoryMerchant(EntityPlayer thePlayerIn,
IMerchant theMerchantIn) |
SlotCrafting(EntityPlayer player,
InventoryCrafting craftingInventory,
IInventory inventoryIn,
int slotIndex,
int xPosition,
int yPosition) |
SlotFurnaceOutput(EntityPlayer player,
IInventory inventoryIn,
int slotIndex,
int xPosition,
int yPosition) |
SlotMerchantResult(EntityPlayer player,
IMerchant merchant,
InventoryMerchant merchantInventory,
int slotIndex,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ItemDye.applyBonemeal(ItemStack stack,
World worldIn,
BlockPos target,
EntityPlayer player,
EnumHand hand) |
static void |
ItemMonsterPlacer.applyItemEntityDataToEntity(World entityWorld,
EntityPlayer player,
ItemStack stack,
Entity targetEntity) |
static boolean |
ItemLead.attachToFence(EntityPlayer player,
World worldIn,
BlockPos fence) |
boolean |
Item.canDestroyBlockInCreative(World world,
BlockPos pos,
ItemStack stack,
EntityPlayer player)
Checked from
PlayerControllerMP.onPlayerDestroyBlock()
when a creative player left-clicks a block with this item. |
boolean |
ItemSnow.canPlaceBlockOnSide(World world,
BlockPos pos,
EnumFacing side,
EntityPlayer player,
ItemStack stack) |
boolean |
ItemSlab.canPlaceBlockOnSide(World worldIn,
BlockPos pos,
EnumFacing side,
EntityPlayer player,
ItemStack stack) |
boolean |
ItemBlock.canPlaceBlockOnSide(World worldIn,
BlockPos pos,
EnumFacing side,
EntityPlayer player,
ItemStack stack) |
Packet<?> |
ItemMap.createMapDataPacket(ItemStack stack,
World worldIn,
EntityPlayer player) |
Packet<?> |
ItemMapBase.createMapDataPacket(ItemStack stack,
World worldIn,
EntityPlayer player) |
boolean |
ItemStack.doesSneakBypassUse(IBlockAccess world,
BlockPos pos,
EntityPlayer player)
Should this item, when held, allow sneak-clicks to pass through to the underlying block?
|
boolean |
Item.doesSneakBypassUse(ItemStack stack,
IBlockAccess world,
BlockPos pos,
EntityPlayer player)
Should this item, when held, allow sneak-clicks to pass through to the underlying block?
|
private ItemStack |
ItemBucket.fillBucket(ItemStack emptyBuckets,
EntityPlayer player,
Item fullBucket) |
protected ItemStack |
ItemBow.findAmmo(EntityPlayer player) |
int |
Item.getHarvestLevel(ItemStack stack,
java.lang.String toolClass,
EntityPlayer player,
IBlockState blockState)
Queries the harvest level of this item stack for the specified tool class,
Returns -1 if this tool is not of the specified type
|
int |
ItemTool.getHarvestLevel(ItemStack stack,
java.lang.String toolClass,
EntityPlayer player,
IBlockState blockState) |
java.util.List<java.lang.String> |
ItemStack.getTooltip(EntityPlayer playerIn,
ITooltipFlag advanced) |
void |
ItemStack.hitEntity(EntityLivingBase entityIn,
EntityPlayer playerIn) |
boolean |
ItemStack.interactWithEntity(EntityPlayer playerIn,
EntityLivingBase entityIn,
EnumHand hand) |
boolean |
ItemArrow.isInfinite(ItemStack stack,
ItemStack bow,
EntityPlayer player) |
boolean |
Item.itemInteractionForEntity(ItemStack stack,
EntityPlayer playerIn,
EntityLivingBase target,
EnumHand hand) |
boolean |
ItemDye.itemInteractionForEntity(ItemStack stack,
EntityPlayer playerIn,
EntityLivingBase target,
EnumHand hand) |
boolean |
ItemSaddle.itemInteractionForEntity(ItemStack stack,
EntityPlayer playerIn,
EntityLivingBase target,
EnumHand hand) |
boolean |
ItemNameTag.itemInteractionForEntity(ItemStack stack,
EntityPlayer playerIn,
EntityLivingBase target,
EnumHand hand) |
boolean |
ItemShears.itemInteractionForEntity(ItemStack itemstack,
EntityPlayer player,
EntityLivingBase entity,
EnumHand hand) |
void |
Item.onArmorTick(World world,
EntityPlayer player,
ItemStack itemStack)
Called to tick armor in the armor slot.
|
void |
ItemStack.onBlockDestroyed(World worldIn,
IBlockState blockIn,
BlockPos pos,
EntityPlayer playerIn) |
boolean |
Item.onBlockStartBreak(ItemStack itemstack,
BlockPos pos,
EntityPlayer player)
Called before a block is broken.
|
boolean |
ItemShears.onBlockStartBreak(ItemStack itemstack,
BlockPos pos,
EntityPlayer player) |
void |
ItemStack.onCrafting(World worldIn,
EntityPlayer playerIn,
int amount) |
void |
ItemMap.onCreated(ItemStack stack,
World worldIn,
EntityPlayer playerIn) |
void |
Item.onCreated(ItemStack stack,
World worldIn,
EntityPlayer playerIn) |
boolean |
Item.onDroppedByPlayer(ItemStack item,
EntityPlayer player)
Called when a player drops the item into the world,
returning false from this will prevent the item from
being removed from the players inventory and spawning
in the world
|
protected void |
ItemFood.onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
protected void |
ItemFishFood.onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
protected void |
ItemAppleGold.onFoodEaten(ItemStack stack,
World worldIn,
EntityPlayer player) |
ActionResult<ItemStack> |
ItemGlassBottle.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemPotion.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemEnderPearl.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemWrittenBook.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemArmor.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemExpBottle.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemSplashPotion.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemCarrotOnAStick.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemBoat.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemSnowball.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemEgg.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
Item.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemWritableBook.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemBucketMilk.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemFood.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemEmptyMap.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemEnderEye.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemKnowledgeBook.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemLilyPad.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemBucket.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemElytra.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemFishingRod.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemBow.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemLingeringPotion.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemShield.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemFirework.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
ActionResult<ItemStack> |
ItemMonsterPlacer.onItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand handIn) |
EnumActionResult |
ItemSnow.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemSlab.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemBanner.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemRedstone.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemSkull.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemSeedFood.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemStack.onItemUse(EntityPlayer playerIn,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing side,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemSpade.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemBlock.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
Item.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemHoe.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemDye.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemMinecart.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemDoor.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemEnderEye.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemBed.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemFlintAndSteel.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemBlockSpecial.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemFireball.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemSign.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemRecord.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemArmorStand.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemLead.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemSeeds.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemFirework.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemHangingEntity.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemEndCrystal.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
ItemMonsterPlacer.onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
Item.onItemUseFirst(EntityPlayer player,
World world,
BlockPos pos,
EnumFacing side,
float hitX,
float hitY,
float hitZ,
EnumHand hand)
This is called when the item is used, before the block is activated.
|
EnumActionResult |
ItemStack.onItemUseFirst(EntityPlayer playerIn,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing side,
float hitX,
float hitY,
float hitZ) |
boolean |
Item.onLeftClickEntity(ItemStack stack,
EntityPlayer player,
Entity entity)
Called when the player Left Clicks (attacks) an entity.
|
boolean |
ItemBlock.placeBlockAt(ItemStack stack,
EntityPlayer player,
World world,
BlockPos pos,
EnumFacing side,
float hitX,
float hitY,
float hitZ,
IBlockState newState)
Called to actually place the block, after the location is determined
and all permission checks have been made.
|
protected RayTraceResult |
Item.rayTrace(World worldIn,
EntityPlayer playerIn,
boolean useLiquids) |
void |
Item.renderHelmetOverlay(ItemStack stack,
EntityPlayer player,
ScaledResolution resolution,
float partialTicks)
Called when the client starts rendering the HUD, for whatever item the player currently has as a helmet.
|
private void |
ItemWrittenBook.resolveContents(ItemStack stack,
EntityPlayer player) |
protected void |
ItemHoe.setBlock(ItemStack stack,
EntityPlayer player,
World worldIn,
BlockPos pos,
IBlockState state) |
static boolean |
ItemBlock.setTileEntityNBT(World worldIn,
EntityPlayer player,
BlockPos pos,
ItemStack stackIn) |
private boolean |
ItemSlab.tryPlace(EntityPlayer player,
ItemStack stack,
World worldIn,
BlockPos pos,
java.lang.Object itemSlabType) |
boolean |
ItemBucket.tryPlaceContainedLiquid(EntityPlayer player,
World worldIn,
BlockPos posIn) |
protected ItemStack |
ItemGlassBottle.turnBottleIntoItem(ItemStack p_185061_1_,
EntityPlayer player,
ItemStack stack) |
ActionResult<ItemStack> |
ItemStack.useItemRightClick(World worldIn,
EntityPlayer playerIn,
EnumHand hand) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
SPacketUseBed.getPlayer(World worldIn) |
Constructor and Description |
---|
SPacketSpawnPlayer(EntityPlayer player) |
SPacketUseBed(EntityPlayer player,
BlockPos posIn) |
Modifier and Type | Method and Description |
---|---|
void |
PathWorldListener.playEvent(EntityPlayer player,
int type,
BlockPos blockPosIn,
int data) |
void |
PathWorldListener.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
boolean |
MinecraftServer.isBlockProtected(World worldIn,
BlockPos pos,
EntityPlayer playerIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
DedicatedServer.isBlockProtected(World worldIn,
BlockPos pos,
EntityPlayer playerIn) |
Modifier and Type | Method and Description |
---|---|
StatisticsManagerServer |
PlayerList.getPlayerStatsFile(EntityPlayer playerIn) |
EnumActionResult |
DemoPlayerInteractionManager.processRightClick(EntityPlayer player,
World worldIn,
ItemStack stack,
EnumHand hand) |
EnumActionResult |
PlayerInteractionManager.processRightClick(EntityPlayer player,
World worldIn,
ItemStack stack,
EnumHand hand) |
EnumActionResult |
DemoPlayerInteractionManager.processRightClickBlock(EntityPlayer player,
World worldIn,
ItemStack stack,
EnumHand hand,
BlockPos pos,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
EnumActionResult |
PlayerInteractionManager.processRightClickBlock(EntityPlayer player,
World worldIn,
ItemStack stack,
EnumHand hand,
BlockPos pos,
EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
void |
PlayerList.sendMessageToAllTeamMembers(EntityPlayer player,
ITextComponent message) |
void |
PlayerList.sendMessageToTeamOrAllPlayers(EntityPlayer player,
ITextComponent message) |
void |
PlayerList.sendToAllNearExcept(EntityPlayer except,
double x,
double y,
double z,
double radius,
int dimension,
Packet<?> packetIn) |
Modifier and Type | Method and Description |
---|---|
void |
StatisticsManager.increaseStat(EntityPlayer player,
StatBase stat,
int amount) |
void |
StatisticsManager.unlockAchievement(EntityPlayer playerIn,
StatBase statIn,
int p_150873_3_) |
void |
StatisticsManagerServer.unlockAchievement(EntityPlayer playerIn,
StatBase statIn,
int p_150873_3_) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
TileEntitySign.player |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
TileEntitySign.getPlayer() |
Modifier and Type | Method and Description |
---|---|
boolean |
TileEntityEnderChest.canBeUsed(EntityPlayer player) |
void |
TileEntityShulkerBox.closeInventory(EntityPlayer player) |
void |
TileEntityLockableLoot.closeInventory(EntityPlayer player) |
void |
TileEntityFurnace.closeInventory(EntityPlayer player) |
void |
TileEntityChest.closeInventory(EntityPlayer player) |
void |
TileEntityBrewingStand.closeInventory(EntityPlayer player) |
void |
TileEntityBeacon.closeInventory(EntityPlayer player) |
Container |
TileEntityShulkerBox.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
TileEntityEnchantmentTable.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
TileEntityFurnace.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
TileEntityChest.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
TileEntityDispenser.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
TileEntityHopper.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
TileEntityBrewingStand.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
Container |
TileEntityBeacon.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
boolean |
TileEntitySign.executeCommand(EntityPlayer playerIn) |
void |
TileEntityLockableLoot.fillWithLoot(EntityPlayer player) |
boolean |
TileEntityLockableLoot.isUsableByPlayer(EntityPlayer player) |
boolean |
TileEntityFurnace.isUsableByPlayer(EntityPlayer player) |
boolean |
TileEntityBrewingStand.isUsableByPlayer(EntityPlayer player) |
boolean |
TileEntityBeacon.isUsableByPlayer(EntityPlayer player) |
void |
TileEntityShulkerBox.openInventory(EntityPlayer player) |
void |
TileEntityLockableLoot.openInventory(EntityPlayer player) |
void |
TileEntityFurnace.openInventory(EntityPlayer player) |
void |
TileEntityChest.openInventory(EntityPlayer player) |
void |
TileEntityBrewingStand.openInventory(EntityPlayer player) |
void |
TileEntityBeacon.openInventory(EntityPlayer player) |
void |
TileEntitySign.setPlayer(EntityPlayer playerIn) |
boolean |
CommandBlockBaseLogic.tryOpenEditCommandBlock(EntityPlayer playerIn) |
boolean |
TileEntityStructure.usedBy(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
static DamageSource |
DamageSource.causePlayerDamage(EntityPlayer player) |
void |
FoodStats.onUpdate(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
Village.getNearestTargetPlayer(EntityLivingBase villageDefender) |
Modifier and Type | Field and Description |
---|---|
java.util.List<EntityPlayer> |
World.playerEntities |
private java.util.Map<EntityPlayer,Vec3d> |
Explosion.playerKnockbackMap |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
World.getClosestPlayer(double posX,
double posY,
double posZ,
double distance,
boolean spectator) |
EntityPlayer |
World.getClosestPlayer(double x,
double y,
double z,
double p_190525_7_,
com.google.common.base.Predicate<Entity> p_190525_9_) |
EntityPlayer |
World.getClosestPlayerToEntity(Entity entityIn,
double distance) |
EntityPlayer |
World.getNearestAttackablePlayer(BlockPos pos,
double maxXZDistance,
double maxYDistance) |
EntityPlayer |
World.getNearestAttackablePlayer(double posX,
double posY,
double posZ,
double maxXZDistance,
double maxYDistance,
com.google.common.base.Function<EntityPlayer,java.lang.Double> playerToDouble,
com.google.common.base.Predicate<EntityPlayer> p_184150_12_) |
EntityPlayer |
World.getNearestAttackablePlayer(Entity entityIn,
double maxXZDistance,
double maxYDistance) |
EntityPlayer |
World.getNearestPlayerNotCreative(Entity entityIn,
double distance) |
EntityPlayer |
World.getPlayerEntityByName(java.lang.String name) |
EntityPlayer |
World.getPlayerEntityByUUID(java.util.UUID uuid) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<EntityPlayer,Vec3d> |
Explosion.getPlayerKnockbackMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
WorldProvider.canMineBlock(EntityPlayer player,
BlockPos pos) |
boolean |
World.canMineBlockBody(EntityPlayer player,
BlockPos pos) |
boolean |
WorldServer.canMineBlockBody(EntityPlayer player,
BlockPos pos) |
WorldProvider.WorldSleepResult |
WorldProvider.canSleepAt(EntityPlayer player,
BlockPos pos)
Determines if the player can sleep in this world (or if the bed should explode for example).
|
Container |
IInteractionObject.createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
boolean |
World.extinguishFire(EntityPlayer player,
BlockPos pos,
EnumFacing side) |
boolean |
World.isBlockModifiable(EntityPlayer player,
BlockPos pos) |
boolean |
WorldServer.isBlockModifiable(EntityPlayer player,
BlockPos pos) |
void |
World.playEvent(EntityPlayer player,
int type,
BlockPos pos,
int data) |
void |
ServerWorldEventHandler.playEvent(EntityPlayer player,
int type,
BlockPos blockPosIn,
int data) |
void |
IWorldEventListener.playEvent(EntityPlayer player,
int type,
BlockPos blockPosIn,
int data) |
void |
World.playSound(EntityPlayer player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
void |
World.playSound(EntityPlayer player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
void |
ServerWorldEventHandler.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
float volume,
float pitch) |
void |
IWorldEventListener.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
World.getNearestAttackablePlayer(double posX,
double posY,
double posZ,
double maxXZDistance,
double maxYDistance,
com.google.common.base.Function<EntityPlayer,java.lang.Double> playerToDouble,
com.google.common.base.Predicate<EntityPlayer> p_184150_12_) |
EntityPlayer |
World.getNearestAttackablePlayer(double posX,
double posY,
double posZ,
double maxXZDistance,
double maxYDistance,
com.google.common.base.Function<EntityPlayer,java.lang.Double> playerToDouble,
com.google.common.base.Predicate<EntityPlayer> p_184150_12_) |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
MapData.MapInfo.player |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<EntityPlayer,MapData.MapInfo> |
MapData.playersHashMap |
Modifier and Type | Method and Description |
---|---|
MapData.MapInfo |
MapData.getMapInfo(EntityPlayer player) |
Packet<?> |
MapData.getMapPacket(ItemStack mapStack,
World worldIn,
EntityPlayer player) |
NBTTagCompound |
IPlayerFileData.readPlayerData(EntityPlayer player) |
NBTTagCompound |
SaveHandler.readPlayerData(EntityPlayer player) |
void |
MapData.updateVisiblePlayers(EntityPlayer player,
ItemStack mapStack) |
void |
IPlayerFileData.writePlayerData(EntityPlayer player) |
void |
SaveHandler.writePlayerData(EntityPlayer player) |
Constructor and Description |
---|
MapInfo(EntityPlayer player) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
LootContext.player |
private EntityPlayer |
LootContext.Builder.player |
Modifier and Type | Method and Description |
---|---|
LootContext.Builder |
LootContext.Builder.withPlayer(EntityPlayer playerIn) |
Constructor and Description |
---|
LootContext(float luckIn,
WorldServer worldIn,
LootTableManager lootTableManagerIn,
Entity lootedEntityIn,
EntityPlayer playerIn,
DamageSource damageSourceIn) |
Modifier and Type | Method and Description |
---|---|
static float |
ForgeHooksClient.getOffsetFOV(EntityPlayer entity,
float fov) |
static boolean |
ForgeHooksClient.onDrawBlockHighlight(RenderGlobal context,
EntityPlayer player,
RayTraceResult target,
int subID,
float partialTicks) |
static void |
ForgeHooksClient.onInputUpdate(EntityPlayer player,
MovementInput movementInput) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
FOVUpdateEvent.entity |
private EntityPlayer |
RenderBlockOverlayEvent.player |
private EntityPlayer |
DrawBlockHighlightEvent.player |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
FOVUpdateEvent.getEntity() |
EntityPlayer |
RenderBlockOverlayEvent.getPlayer()
The player which the overlay will apply to
|
EntityPlayer |
DrawBlockHighlightEvent.getPlayer() |
Constructor and Description |
---|
DrawBlockHighlightEvent(RenderGlobal context,
EntityPlayer player,
RayTraceResult target,
int subID,
float partialTicks) |
FOVUpdateEvent(EntityPlayer entity,
float fov) |
InputUpdateEvent(EntityPlayer player,
MovementInput movementInput) |
PlayerSPPushOutOfBlocksEvent(EntityPlayer player,
AxisAlignedBB entityBoundingBox) |
Post(EntityPlayer player,
RenderPlayer renderer,
float tick)
Deprecated.
|
Post(EntityPlayer player,
RenderPlayer renderer,
float partialTicks) |
Post(EntityPlayer player,
RenderPlayer renderer,
float tick,
double x,
double y,
double z) |
Pre(EntityPlayer player,
RenderPlayer renderer,
float tick)
Deprecated.
|
Pre(EntityPlayer player,
RenderPlayer renderer,
float partialTicks) |
Pre(EntityPlayer player,
RenderPlayer renderer,
float tick,
double x,
double y,
double z) |
RenderBlockOverlayEvent(EntityPlayer player,
float renderPartialTicks,
RenderBlockOverlayEvent.OverlayType type,
Block block,
int x,
int y,
int z)
Deprecated.
|
RenderBlockOverlayEvent(EntityPlayer player,
float renderPartialTicks,
RenderBlockOverlayEvent.OverlayType type,
IBlockState block,
BlockPos blockPos) |
RenderPlayerEvent(EntityPlayer player,
RenderPlayer renderer,
float partialRenderTick,
double x,
double y,
double z) |
SetArmorModel(EntityPlayer player,
RenderPlayer renderer,
int slot,
float partialTick,
ItemStack stack)
Deprecated.
|
Specials(EntityPlayer player,
RenderPlayer renderer,
float partialTicks)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<EntityPlayer> |
ForgeHooks.craftingPlayer |
Modifier and Type | Method and Description |
---|---|
static EntityPlayer |
ForgeHooks.getCraftingPlayer() |
Modifier and Type | Method and Description |
---|---|
static float |
ForgeHooks.blockStrength(IBlockState state,
EntityPlayer player,
World world,
BlockPos pos) |
static boolean |
ForgeHooks.canHarvestBlock(Block block,
EntityPlayer player,
IBlockAccess world,
BlockPos pos) |
int |
ISpecialArmor.getArmorDisplay(EntityPlayer player,
ItemStack armor,
int slot)
Get the displayed effective armor.
|
static CriticalHitEvent |
ForgeHooks.getCriticalHit(EntityPlayer player,
Entity target,
boolean vanillaCritical,
float damageModifier) |
static double |
ForgeHooks.getPlayerVisibilityDistance(EntityPlayer player,
double xzDistance,
double maxXZDistance) |
static int |
ForgeHooks.getTotalArmorValue(EntityPlayer player) |
static float |
ForgeHooks.onAnvilRepair(EntityPlayer player,
ItemStack output,
ItemStack left,
ItemStack right) |
static void |
ForgeHooks.onEmptyClick(EntityPlayer player,
EnumHand hand) |
static void |
ForgeHooks.onEmptyLeftClick(EntityPlayer player) |
static EnumActionResult |
ForgeHooks.onInteractEntity(EntityPlayer player,
Entity entity,
EnumHand hand) |
static EnumActionResult |
ForgeHooks.onInteractEntityAt(EntityPlayer player,
Entity entity,
RayTraceResult ray,
EnumHand hand) |
static EnumActionResult |
ForgeHooks.onInteractEntityAt(EntityPlayer player,
Entity entity,
Vec3d vec3d,
EnumHand hand) |
static EnumActionResult |
ForgeHooks.onItemRightClick(EntityPlayer player,
EnumHand hand) |
static PlayerInteractEvent.LeftClickBlock |
ForgeHooks.onLeftClickBlock(EntityPlayer player,
BlockPos pos,
EnumFacing face,
Vec3d hitVec) |
static boolean |
ForgeHooks.onPickBlock(RayTraceResult target,
EntityPlayer player,
World world)
Called when a player uses 'pick block', calls new Entity and Block hooks.
|
static EnumActionResult |
ForgeHooks.onPlaceItemIntoWorld(ItemStack itemstack,
EntityPlayer player,
World world,
BlockPos pos,
EnumFacing side,
float hitX,
float hitY,
float hitZ,
EnumHand hand) |
static boolean |
ForgeHooks.onPlayerAttackTarget(EntityPlayer player,
Entity target) |
static EntityItem |
ForgeHooks.onPlayerTossEvent(EntityPlayer player,
ItemStack item,
boolean includeName) |
static PlayerInteractEvent.RightClickBlock |
ForgeHooks.onRightClickBlock(EntityPlayer player,
EnumHand hand,
BlockPos pos,
EnumFacing face,
Vec3d hitVec) |
static void |
ForgeHooks.setCraftingPlayer(EntityPlayer player) |
Modifier and Type | Class and Description |
---|---|
class |
FakePlayer |
Modifier and Type | Method and Description |
---|---|
boolean |
FakePlayer.canAttackPlayer(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeEventFactory.doPlayerHarvestCheck(EntityPlayer player,
IBlockState state,
boolean success) |
static float |
ForgeEventFactory.fireBlockHarvesting(java.util.List<ItemStack> drops,
World world,
BlockPos pos,
IBlockState state,
int fortune,
float dropChance,
boolean silkTouch,
EntityPlayer player) |
static void |
ForgeEventFactory.firePlayerLoadingEvent(EntityPlayer player,
java.io.File playerDirectory,
java.lang.String uuidString) |
static void |
ForgeEventFactory.firePlayerLoadingEvent(EntityPlayer player,
IPlayerFileData playerFileData,
java.lang.String uuidString) |
static void |
ForgeEventFactory.firePlayerSavingEvent(EntityPlayer player,
java.io.File playerDirectory,
java.lang.String uuidString) |
static boolean |
ForgeEventFactory.fireSleepingLocationCheck(EntityPlayer player,
BlockPos sleepingLocation) |
static boolean |
ForgeEventFactory.fireSleepingTimeCheck(EntityPlayer player,
BlockPos sleepingLocation) |
static float |
ForgeEventFactory.getBreakSpeed(EntityPlayer player,
IBlockState state,
float original,
BlockPos pos) |
static int |
ForgeEventFactory.getExperienceDrop(EntityLivingBase entity,
EntityPlayer attackingPlayer,
int originalExperience) |
static java.lang.String |
ForgeEventFactory.getPlayerDisplayName(EntityPlayer player,
java.lang.String username) |
static MerchantRecipeList |
ForgeEventFactory.listTradeOffers(IMerchant merchant,
EntityPlayer player,
MerchantRecipeList list) |
static boolean |
ForgeEventFactory.onAnimalTame(EntityAnimal animal,
EntityPlayer tamer) |
static int |
ForgeEventFactory.onApplyBonemeal(EntityPlayer player,
World world,
BlockPos pos,
IBlockState state,
ItemStack stack,
EnumHand hand) |
static int |
ForgeEventFactory.onArrowLoose(ItemStack stack,
World world,
EntityPlayer player,
int charge,
boolean hasAmmo) |
static ActionResult<ItemStack> |
ForgeEventFactory.onArrowNock(ItemStack item,
World world,
EntityPlayer player,
EnumHand hand,
boolean hasAmmo) |
static ActionResult<ItemStack> |
ForgeEventFactory.onBucketUse(EntityPlayer player,
World world,
ItemStack stack,
RayTraceResult target) |
static int |
ForgeEventFactory.onHoeUse(ItemStack stack,
EntityPlayer player,
World worldIn,
BlockPos pos) |
static int |
ForgeEventFactory.onItemPickup(EntityItem entityItem,
EntityPlayer player) |
static ItemTooltipEvent |
ForgeEventFactory.onItemTooltip(ItemStack itemStack,
EntityPlayer entityPlayer,
java.util.List<java.lang.String> toolTip,
ITooltipFlag flags) |
static BlockEvent.PlaceEvent |
ForgeEventFactory.onPlayerBlockPlace(EntityPlayer player,
BlockSnapshot blockSnapshot,
EnumFacing direction,
EnumHand hand) |
static void |
ForgeEventFactory.onPlayerBrewedPotion(EntityPlayer player,
ItemStack stack) |
static void |
ForgeEventFactory.onPlayerClone(EntityPlayer player,
EntityPlayer oldPlayer,
boolean wasDeath) |
static void |
ForgeEventFactory.onPlayerDestroyItem(EntityPlayer player,
ItemStack stack,
EnumHand hand) |
static void |
ForgeEventFactory.onPlayerDrops(EntityPlayer player,
DamageSource cause,
java.util.List<EntityItem> capturedDrops,
boolean recentlyHit) |
static void |
ForgeEventFactory.onPlayerFall(EntityPlayer player,
float distance,
float multiplier) |
static BlockEvent.MultiPlaceEvent |
ForgeEventFactory.onPlayerMultiBlockPlace(EntityPlayer player,
java.util.List<BlockSnapshot> blockSnapshots,
EnumFacing direction,
EnumHand hand) |
static EntityPlayer.SleepResult |
ForgeEventFactory.onPlayerSleepInBed(EntityPlayer player,
BlockPos pos) |
static boolean |
ForgeEventFactory.onPlayerSpawnSet(EntityPlayer player,
BlockPos pos,
boolean forced) |
static void |
ForgeEventFactory.onPlayerWakeup(EntityPlayer player,
boolean wakeImmediately,
boolean updateWorldFlag,
boolean setSpawn) |
static void |
ForgeEventFactory.onStartEntityTracking(Entity entity,
EntityPlayer player) |
static void |
ForgeEventFactory.onStopEntityTracking(Entity entity,
EntityPlayer player) |
static boolean |
ForgeEventFactory.renderBlockOverlay(EntityPlayer player,
float renderPartialTicks,
RenderBlockOverlayEvent.OverlayType type,
IBlockState block,
BlockPos pos) |
static boolean |
ForgeEventFactory.renderFireOverlay(EntityPlayer player,
float renderPartialTicks) |
static boolean |
ForgeEventFactory.renderWaterOverlay(EntityPlayer player,
float renderPartialTicks) |
Constructor and Description |
---|
PlayerBrewedPotionEvent(EntityPlayer player,
ItemStack stack) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
ItemTossEvent.player |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
ItemTossEvent.getPlayer()
The player tossing the item.
|
Constructor and Description |
---|
ItemTossEvent(EntityItem entityItem,
EntityPlayer player)
Creates a new event for EntityItems tossed by a player.
|
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
LivingExperienceDropEvent.attackingPlayer |
private EntityPlayer |
BabyEntitySpawnEvent.causedByPlayer |
private EntityPlayer |
AnimalTameEvent.tamer |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
LivingExperienceDropEvent.getAttackingPlayer() |
EntityPlayer |
BabyEntitySpawnEvent.getCausedByPlayer() |
EntityPlayer |
AnimalTameEvent.getTamer() |
Constructor and Description |
---|
AnimalTameEvent(EntityAnimal animal,
EntityPlayer tamer) |
LivingExperienceDropEvent(EntityLivingBase entity,
EntityPlayer attackingPlayer,
int originalExperience) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
MinecartInteractEvent.player |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
MinecartInteractEvent.getPlayer() |
Constructor and Description |
---|
MinecartInteractEvent(EntityMinecart minecart,
EntityPlayer player,
EnumHand hand) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
PlayerDropsEvent.entityPlayer |
private EntityPlayer |
PlayerEvent.entityPlayer |
private EntityPlayer |
PlayerEvent.Clone.original |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
ItemTooltipEvent.getEntityPlayer()
This event is fired with a null player during startup when populating search trees for tooltips.
|
EntityPlayer |
PlayerDropsEvent.getEntityPlayer() |
EntityPlayer |
PlayerEvent.getEntityPlayer() |
EntityPlayer |
PlayerEvent.Clone.getOriginal()
The old EntityPlayer that this new entity is a clone of.
|
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
MerchantTradeOffersEvent.player |
private EntityPlayer |
VillageSiegeEvent.player |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
MerchantTradeOffersEvent.getPlayer() |
EntityPlayer |
VillageSiegeEvent.getPlayer() |
Constructor and Description |
---|
MerchantTradeOffersEvent(IMerchant merchant,
EntityPlayer player,
MerchantRecipeList list) |
VillageSiegeEvent(VillageSiege siege,
World world,
EntityPlayer player,
Village village,
Vec3d attemptedSpawnPos) |
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
BlockEvent.HarvestDropsEvent.harvester |
private EntityPlayer |
BlockEvent.BreakEvent.player
Reference to the Player who broke the block.
|
private EntityPlayer |
BlockEvent.PlaceEvent.player
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
BlockEvent.HarvestDropsEvent.getHarvester() |
EntityPlayer |
BlockEvent.BreakEvent.getPlayer() |
EntityPlayer |
BlockEvent.PlaceEvent.getPlayer()
Deprecated.
|
Constructor and Description |
---|
BreakEvent(World world,
BlockPos pos,
IBlockState state,
EntityPlayer player) |
HarvestDropsEvent(World world,
BlockPos pos,
IBlockState state,
int fortuneLevel,
float dropChance,
java.util.List<ItemStack> drops,
EntityPlayer harvester,
boolean isSilkTouching) |
MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
IBlockState placedAgainst,
EntityPlayer player,
EnumHand hand) |
PlaceEvent(BlockSnapshot blockSnapshot,
IBlockState placedAgainst,
EntityPlayer player,
EnumHand hand)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
FluidUtil.interactWithFluidHandler(EntityPlayer player,
EnumHand hand,
IFluidHandler handler)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler.
|
static boolean |
FluidUtil.interactWithFluidHandler(EntityPlayer player,
EnumHand hand,
World world,
BlockPos pos,
EnumFacing side)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.
|
ActionResult<ItemStack> |
UniversalBucket.onItemRightClick(World world,
EntityPlayer player,
EnumHand hand) |
static FluidActionResult |
FluidUtil.tryEmptyContainer(ItemStack container,
IFluidHandler fluidDestination,
int maxAmount,
EntityPlayer player,
boolean doDrain)
Takes a filled container and tries to empty it into the given tank.
|
static FluidActionResult |
FluidUtil.tryEmptyContainerAndStow(ItemStack container,
IFluidHandler fluidDestination,
IItemHandler inventory,
int maxAmount,
EntityPlayer player)
|
static FluidActionResult |
FluidUtil.tryEmptyContainerAndStow(ItemStack container,
IFluidHandler fluidDestination,
IItemHandler inventory,
int maxAmount,
EntityPlayer player,
boolean doDrain)
Takes an Fluid Container Item, tries to empty it into the fluid handler, and stows it in the given inventory.
|
static FluidActionResult |
FluidUtil.tryFillContainer(ItemStack container,
IFluidHandler fluidSource,
int maxAmount,
EntityPlayer player,
boolean doFill)
Fill a container from the given fluidSource.
|
static FluidActionResult |
FluidUtil.tryFillContainerAndStow(ItemStack container,
IFluidHandler fluidSource,
IItemHandler inventory,
int maxAmount,
EntityPlayer player)
|
static FluidActionResult |
FluidUtil.tryFillContainerAndStow(ItemStack container,
IFluidHandler fluidSource,
IItemHandler inventory,
int maxAmount,
EntityPlayer player,
boolean doFill)
Takes an Fluid Container Item and tries to fill it from the given tank.
|
static FluidActionResult |
FluidUtil.tryPickUpFluid(ItemStack emptyContainer,
EntityPlayer playerIn,
World worldIn,
BlockPos pos,
EnumFacing side)
Attempts to pick up a fluid in the world and put it in an empty container item.
|
static boolean |
FluidUtil.tryPlaceFluid(EntityPlayer player,
World world,
BlockPos pos,
IFluidHandler fluidSource,
FluidStack resource)
Tries to place a fluid resource into the world as a block and drains the fluidSource.
|
static FluidActionResult |
FluidUtil.tryPlaceFluid(EntityPlayer player,
World world,
BlockPos pos,
ItemStack container,
FluidStack resource)
ItemStack version of
FluidUtil.tryPlaceFluid(EntityPlayer, World, BlockPos, IFluidHandler, FluidStack) . |
void |
Fluid.vaporize(EntityPlayer player,
World worldIn,
BlockPos pos,
FluidStack fluidStack)
Called instead of placing the fluid block if
WorldProvider.doesWaterVaporize() and Fluid.doesVaporize(FluidStack) are true. |
Modifier and Type | Method and Description |
---|---|
void |
FMLClientHandler.displayGuiScreen(EntityPlayer player,
GuiScreen gui) |
Modifier and Type | Method and Description |
---|---|
void |
FMLCommonHandler.firePlayerChangedDimensionEvent(EntityPlayer player,
int fromDim,
int toDim) |
void |
FMLCommonHandler.firePlayerCraftingEvent(EntityPlayer player,
ItemStack crafted,
IInventory craftMatrix) |
void |
FMLCommonHandler.firePlayerItemPickupEvent(EntityPlayer player,
EntityItem item,
ItemStack clone) |
void |
FMLCommonHandler.firePlayerLoggedIn(EntityPlayer player) |
void |
FMLCommonHandler.firePlayerLoggedOut(EntityPlayer player) |
void |
FMLCommonHandler.firePlayerRespawnEvent(EntityPlayer player,
boolean endConquered) |
void |
FMLCommonHandler.firePlayerSmeltedEvent(EntityPlayer player,
ItemStack smelted) |
void |
FMLCommonHandler.onPlayerPostTick(EntityPlayer player) |
void |
FMLCommonHandler.onPlayerPreTick(EntityPlayer player) |
Modifier and Type | Field and Description |
---|---|
EntityPlayer |
TickEvent.PlayerTickEvent.player |
EntityPlayer |
PlayerEvent.player |
Constructor and Description |
---|
ItemCraftedEvent(EntityPlayer player,
ItemStack crafting,
IInventory craftMatrix) |
ItemPickupEvent(EntityPlayer player,
EntityItem entPickedUp,
ItemStack stack) |
ItemSmeltedEvent(EntityPlayer player,
ItemStack crafting) |
PlayerChangedDimensionEvent(EntityPlayer player,
int fromDim,
int toDim) |
PlayerEvent(EntityPlayer player) |
PlayerLoggedInEvent(EntityPlayer player) |
PlayerLoggedOutEvent(EntityPlayer player) |
PlayerRespawnEvent(EntityPlayer player,
boolean endConquered) |
PlayerTickEvent(TickEvent.Phase phase,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
IGuiHandler.getClientGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
Returns a Container to be displayed to the user.
|
java.lang.Object |
NetworkRegistry.getLocalGuiContainer(ModContainer mc,
EntityPlayer player,
int modGuiId,
World world,
int x,
int y,
int z)
INTERNAL method for accessing the Gui registry
|
java.lang.Object |
IGuiHandler.getServerGuiElement(int ID,
EntityPlayer player,
World world,
int x,
int y,
int z)
Returns a Server side Container to be displayed to the user.
|
Modifier and Type | Method and Description |
---|---|
static void |
FMLNetworkHandler.openGui(EntityPlayer entityPlayer,
java.lang.Object mod,
int modGuiId,
World world,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
boolean |
SlotItemHandler.canTakeStack(EntityPlayer playerIn) |
static void |
ItemHandlerHelper.giveItemToPlayer(EntityPlayer player,
ItemStack stack)
giveItemToPlayer without preferred slot
|
static void |
ItemHandlerHelper.giveItemToPlayer(EntityPlayer player,
ItemStack stack,
int preferredSlot)
Inserts the given itemstack into the players inventory.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PermissionAPI.hasPermission(EntityPlayer player,
java.lang.String node)
Shortcut method using EntityPlayer and creating PlayerContext
|
Modifier and Type | Field and Description |
---|---|
private EntityPlayer |
PlayerContext.player |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
IContext.getPlayer() |
EntityPlayer |
PlayerContext.getPlayer() |
EntityPlayer |
Context.getPlayer() |
EntityPlayer |
WorldContext.getPlayer() |
Constructor and Description |
---|
AreaContext(EntityPlayer ep,
AxisAlignedBB aabb) |
BlockPosContext(EntityPlayer ep,
BlockPos pos,
IBlockState state,
EnumFacing f) |
BlockPosContext(EntityPlayer ep,
ChunkPos pos) |
PlayerContext(EntityPlayer ep) |
TargetContext(EntityPlayer ep,
Entity entity) |