Uses of Class
net.minecraft.entity.player.PlayerEntity
-
-
Uses of PlayerEntity in net.minecraft.block
Methods in net.minecraft.block with parameters of type PlayerEntity Modifier and Type Method Description void
AbstractBlock.AbstractBlockState. attack(World p_196942_1_, BlockPos p_196942_2_, PlayerEntity p_196942_3_)
void
AbstractBlock. attack(BlockState p_196270_1_, World p_196270_2_, BlockPos p_196270_3_, PlayerEntity p_196270_4_)
Deprecated.void
DragonEggBlock. attack(BlockState p_196270_1_, World p_196270_2_, BlockPos p_196270_3_, PlayerEntity p_196270_4_)
void
NoteBlock. attack(BlockState p_196270_1_, World p_196270_2_, BlockPos p_196270_3_, PlayerEntity p_196270_4_)
void
RedstoneOreBlock. attack(BlockState p_196270_1_, World p_196270_2_, BlockPos p_196270_3_, PlayerEntity p_196270_4_)
void
StairsBlock. attack(BlockState p_196270_1_, World p_196270_2_, BlockPos p_196270_3_, PlayerEntity p_196270_4_)
private ActionResultType
CakeBlock. eat(IWorld p_226911_1_, BlockPos p_226911_2_, BlockState p_226911_3_, PlayerEntity p_226911_4_)
float
AbstractBlock.AbstractBlockState. getDestroyProgress(PlayerEntity p_185903_1_, IBlockReader p_185903_2_, BlockPos p_185903_3_)
float
AbstractBlock. getDestroyProgress(BlockState p_180647_1_, PlayerEntity p_180647_2_, IBlockReader p_180647_3_, BlockPos p_180647_4_)
Deprecated.float
BambooBlock. getDestroyProgress(BlockState p_180647_1_, PlayerEntity p_180647_2_, IBlockReader p_180647_3_, BlockPos p_180647_4_)
float
BambooSaplingBlock. getDestroyProgress(BlockState p_180647_1_, PlayerEntity p_180647_2_, IBlockReader p_180647_3_, BlockPos p_180647_4_)
boolean
BellBlock. onHit(World p_226884_1_, BlockState p_226884_2_, BlockRayTraceResult p_226884_3_, PlayerEntity p_226884_4_, boolean p_226884_5_)
protected abstract void
AbstractFurnaceBlock. openContainer(World p_220089_1_, BlockPos p_220089_2_, PlayerEntity p_220089_3_)
protected void
BlastFurnaceBlock. openContainer(World p_220089_1_, BlockPos p_220089_2_, PlayerEntity p_220089_3_)
protected void
FurnaceBlock. openContainer(World p_220089_1_, BlockPos p_220089_2_, PlayerEntity p_220089_3_)
protected void
SmokerBlock. openContainer(World p_220089_1_, BlockPos p_220089_2_, PlayerEntity p_220089_3_)
private void
LecternBlock. openScreen(World p_220152_1_, BlockPos p_220152_2_, PlayerEntity p_220152_3_)
void
BeehiveBlock. playerDestroy(World p_180657_1_, PlayerEntity p_180657_2_, BlockPos p_180657_3_, BlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
void
Block. playerDestroy(World p_180657_1_, PlayerEntity p_180657_2_, BlockPos p_180657_3_, BlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
void
DoublePlantBlock. playerDestroy(World p_180657_1_, PlayerEntity p_180657_2_, BlockPos p_180657_3_, BlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
void
IceBlock. playerDestroy(World p_180657_1_, PlayerEntity p_180657_2_, BlockPos p_180657_3_, BlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
void
TurtleEggBlock. playerDestroy(World p_180657_1_, PlayerEntity p_180657_2_, BlockPos p_180657_3_, BlockState p_180657_4_, TileEntity p_180657_5_, ItemStack p_180657_6_)
void
AbstractFireBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
BedBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
BeehiveBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
Block. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
DoorBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
DoublePlantBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
PistonHeadBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
ShulkerBoxBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
TNTBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
void
TripWireBlock. playerWillDestroy(World p_176208_1_, BlockPos p_176208_2_, BlockState p_176208_3_, PlayerEntity p_176208_4_)
protected void
AbstractButtonBlock. playSound(PlayerEntity p_196367_1_, IWorld p_196367_2_, BlockPos p_196367_3_, boolean p_196367_4_)
protected void
TrapDoorBlock. playSound(PlayerEntity p_185731_1_, World p_185731_2_, BlockPos p_185731_3_, boolean p_185731_4_)
protected static void
DoublePlantBlock. preventCreativeDropFromBottomPart(World p_241471_0_, BlockPos p_241471_1_, BlockState p_241471_2_, PlayerEntity p_241471_3_)
void
BeehiveBlock. releaseBeesAndResetHoneyLevel(World p_226877_1_, BlockState p_226877_2_, BlockPos p_226877_3_, PlayerEntity p_226877_4_, BeehiveTileEntity.State p_226877_5_)
ActionResultType
AbstractBlock.AbstractBlockState. use(World p_227031_1_, PlayerEntity p_227031_2_, Hand p_227031_3_, BlockRayTraceResult p_227031_4_)
ActionResultType
AbstractBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
Deprecated.ActionResultType
AbstractButtonBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
AbstractFurnaceBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
AbstractSignBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
AnvilBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BarrelBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BeaconBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BedBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BeehiveBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BellBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
BrewingStandBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CakeBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CampfireBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CartographyTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CauldronBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ChestBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CommandBlockBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ComparatorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ComposterBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
CraftingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DaylightDetectorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DispenserBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DoorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
DragonEggBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
EnchantingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
EnderChestBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FenceBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FenceGateBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FletchingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FlowerPotBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
GrindstoneBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
HopperBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
JigsawBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
JukeboxBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
LecternBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
LeverBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
LoomBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
MovingPistonBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
NoteBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
PumpkinBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RedstoneOreBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RedstoneWireBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RepeaterBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
RespawnAnchorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
ShulkerBoxBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
SmithingTableBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
StairsBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
StonecutterBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
StructureBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
SweetBerryBushBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
TNTBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
TrapDoorBlock. use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
-
Uses of PlayerEntity in net.minecraft.client.audio
Fields in net.minecraft.client.audio declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
RidingMinecartTickableSound. player
Constructors in net.minecraft.client.audio with parameters of type PlayerEntity Constructor Description RidingMinecartTickableSound(PlayerEntity p_i48613_1_, AbstractMinecartEntity p_i48613_2_)
-
Uses of PlayerEntity in net.minecraft.client.entity.player
Subclasses of PlayerEntity in net.minecraft.client.entity.player Modifier and Type Class Description class
AbstractClientPlayerEntity
class
ClientPlayerEntity
class
RemoteClientPlayerEntity
-
Uses of PlayerEntity in net.minecraft.client.gui
Methods in net.minecraft.client.gui that return PlayerEntity Modifier and Type Method Description private PlayerEntity
IngameGui. getCameraPlayer()
Methods in net.minecraft.client.gui with parameters of type PlayerEntity Modifier and Type Method Description private void
IngameGui. renderSlot(int p_184044_1_, int p_184044_2_, float p_184044_3_, PlayerEntity p_184044_4_, ItemStack p_184044_5_)
-
Uses of PlayerEntity in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
EditBookScreen. owner
Constructors in net.minecraft.client.gui.screen with parameters of type PlayerEntity Constructor Description EditBookScreen(PlayerEntity p_i51100_1_, ItemStack p_i51100_2_, Hand p_i51100_3_)
-
Uses of PlayerEntity in net.minecraft.client.gui.screen.inventory
Methods in net.minecraft.client.gui.screen.inventory with parameters of type PlayerEntity Modifier and Type Method Description boolean
CreativeScreen.CreativeSlot. mayPickup(PlayerEntity p_82869_1_)
boolean
CreativeScreen.LockedSlot. mayPickup(PlayerEntity p_82869_1_)
ItemStack
CreativeScreen.CreativeSlot. onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
ItemStack
CreativeScreen.CreativeContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
boolean
CreativeScreen.CreativeContainer. stillValid(PlayerEntity p_75145_1_)
Constructors in net.minecraft.client.gui.screen.inventory with parameters of type PlayerEntity Constructor Description CreativeContainer(PlayerEntity p_i1086_1_)
CreativeScreen(PlayerEntity p_i1088_1_)
InventoryScreen(PlayerEntity p_i1094_1_)
-
Uses of PlayerEntity in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type PlayerEntity Modifier and Type Method Description void
PlayerController. adjustPlayer(PlayerEntity p_78748_1_)
void
PlayerController. attack(PlayerEntity p_78764_1_, Entity p_78764_2_)
ItemStack
PlayerController. handleInventoryMouseClick(int p_187098_1_, int p_187098_2_, int p_187098_3_, ClickType p_187098_4_, PlayerEntity p_187098_5_)
ActionResultType
PlayerController. interact(PlayerEntity p_187097_1_, Entity p_187097_2_, Hand p_187097_3_)
ActionResultType
PlayerController. interactAt(PlayerEntity p_187102_1_, Entity p_187102_2_, EntityRayTraceResult p_187102_3_, Hand p_187102_4_)
void
PlayerController. releaseUsingItem(PlayerEntity p_78766_1_)
ActionResultType
PlayerController. useItem(PlayerEntity p_187101_1_, World p_187101_2_, Hand p_187101_3_)
-
Uses of PlayerEntity in net.minecraft.client.network.play
Methods in net.minecraft.client.network.play with parameters of type PlayerEntity Modifier and Type Method Description private static ItemStack
ClientPlayNetHandler. findTotem(PlayerEntity p_217282_0_)
-
Uses of PlayerEntity in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type PlayerEntity Modifier and Type Method Description private static org.apache.commons.lang3.tuple.Pair<BlockState,BlockPos>
OverlayRenderer. getOverlayBlock(PlayerEntity p_230018_0_)
private static BlockState
OverlayRenderer. getViewBlockingState(PlayerEntity p_230018_0_)
void
WorldRenderer. levelEvent(PlayerEntity p_180439_1_, int p_180439_2_, BlockPos p_180439_3_, int p_180439_4_)
-
Uses of PlayerEntity in net.minecraft.client.renderer.entity.layers
Classes in net.minecraft.client.renderer.entity.layers with type parameters of type PlayerEntity Modifier and Type Class Description class
ParrotVariantLayer<T extends PlayerEntity>
-
Uses of PlayerEntity in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type PlayerEntity Modifier and Type Method Description void
ClientWorld. levelEvent(PlayerEntity p_217378_1_, int p_217378_2_, BlockPos p_217378_3_, int p_217378_4_)
void
ClientWorld. playSound(PlayerEntity p_184148_1_, double p_184148_2_, double p_184148_4_, double p_184148_6_, SoundEvent p_184148_8_, SoundCategory p_184148_9_, float p_184148_10_, float p_184148_11_)
void
ClientWorld. playSound(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_)
-
Uses of PlayerEntity in net.minecraft.entity
Fields in net.minecraft.entity declared as PlayerEntity Modifier and Type Field Description protected PlayerEntity
LivingEntity. lastHurtByPlayer
private PlayerEntity
NPCMerchant. source
Fields in net.minecraft.entity with type parameters of type PlayerEntity Modifier and Type Field Description static EntityType<PlayerEntity>
EntityType. PLAYER
Methods in net.minecraft.entity that return PlayerEntity Modifier and Type Method Description PlayerEntity
NPCMerchant. getTradingPlayer()
Methods in net.minecraft.entity with parameters of type PlayerEntity Modifier and Type Method Description boolean
MobEntity. canBeLeashed(PlayerEntity p_184652_1_)
private ActionResultType
MobEntity. checkAndHandleImportantInteractions(PlayerEntity p_233661_1_, Hand p_233661_2_)
T
EntityType. create(ServerWorld p_220349_1_, CompoundNBT p_220349_2_, ITextComponent p_220349_3_, PlayerEntity p_220349_4_, BlockPos p_220349_5_, SpawnReason p_220349_6_, boolean p_220349_7_, boolean p_220349_8_)
protected int
LivingEntity. getExperienceReward(PlayerEntity p_70693_1_)
protected int
MobEntity. getExperienceReward(PlayerEntity p_70693_1_)
ActionResultType
Entity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
MobEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
Entity. interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)
boolean
Entity. isInvisibleTo(PlayerEntity p_98034_1_)
private void
MobEntity. maybeDisableShield(PlayerEntity p_233655_1_, ItemStack p_233655_2_, ItemStack p_233655_3_)
protected ActionResultType
MobEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected void
MobEntity. onOffspringSpawnedFromEgg(PlayerEntity p_213406_1_, MobEntity p_213406_2_)
default void
IAngerable. playerDied(PlayerEntity p_233681_1_)
void
Entity. playerTouch(PlayerEntity p_70100_1_)
void
IAngerable. setLastHurtByPlayer(PlayerEntity p_230246_1_)
void
LivingEntity. setLastHurtByPlayer(PlayerEntity p_230246_1_)
void
NPCMerchant. setTradingPlayer(PlayerEntity p_70932_1_)
boolean
LivingEntity. shouldRiderFaceForward(PlayerEntity player)
Returns true if the entity's rider (EntityPlayer) should face forward when mounted.Entity
EntityType. spawn(ServerWorld p_220331_1_, ItemStack p_220331_2_, PlayerEntity p_220331_3_, BlockPos p_220331_4_, SpawnReason p_220331_5_, boolean p_220331_6_, boolean p_220331_7_)
T
EntityType. spawn(ServerWorld p_220342_1_, CompoundNBT p_220342_2_, ITextComponent p_220342_3_, PlayerEntity p_220342_4_, BlockPos p_220342_5_, SpawnReason p_220342_6_, boolean p_220342_7_, boolean p_220342_8_)
static void
EntityType. updateCustomEntityTag(World p_208048_0_, PlayerEntity p_208048_1_, Entity p_208048_2_, CompoundNBT p_208048_3_)
Constructors in net.minecraft.entity with parameters of type PlayerEntity Constructor Description NPCMerchant(PlayerEntity p_i50184_1_)
-
Uses of PlayerEntity in net.minecraft.entity.ai.brain.memory
Fields in net.minecraft.entity.ai.brain.memory with type parameters of type PlayerEntity Modifier and Type Field Description static MemoryModuleType<PlayerEntity>
MemoryModuleType. NEAREST_PLAYER_HOLDING_WANTED_ITEM
static MemoryModuleType<java.util.List<PlayerEntity>>
MemoryModuleType. NEAREST_PLAYERS
static MemoryModuleType<PlayerEntity>
MemoryModuleType. NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD
static MemoryModuleType<PlayerEntity>
MemoryModuleType. NEAREST_VISIBLE_PLAYER
static MemoryModuleType<PlayerEntity>
MemoryModuleType. NEAREST_VISIBLE_TARGETABLE_PLAYER
-
Uses of PlayerEntity in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type PlayerEntity Modifier and Type Method Description private java.util.Optional<PlayerEntity>
GiveHeroGiftsTask. getNearestTargetableHero(VillagerEntity p_220400_1_)
Methods in net.minecraft.entity.ai.brain.task with parameters of type PlayerEntity Modifier and Type Method Description private boolean
GiveHeroGiftsTask. isHero(PlayerEntity p_220402_1_)
private boolean
GiveHeroGiftsTask. isWithinThrowingDistance(VillagerEntity p_220401_1_, PlayerEntity p_220401_2_)
-
Uses of PlayerEntity in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
FollowBoatGoal. following
private PlayerEntity
BegGoal. player
protected PlayerEntity
TemptGoal. player
Methods in net.minecraft.entity.ai.goal with parameters of type PlayerEntity Modifier and Type Method Description private boolean
BegGoal. playerHoldingInteresting(PlayerEntity p_75382_1_)
-
Uses of PlayerEntity in net.minecraft.entity.boss.dragon.phase
Methods in net.minecraft.entity.boss.dragon.phase with parameters of type PlayerEntity Modifier and Type Method Description void
HoldingPatternPhase. onCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_)
void
IPhase. onCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_)
void
Phase. onCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_)
private void
HoldingPatternPhase. strafePlayer(PlayerEntity p_188674_1_)
-
Uses of PlayerEntity in net.minecraft.entity.item
Fields in net.minecraft.entity.item declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
ExperienceOrbEntity. followingPlayer
Methods in net.minecraft.entity.item with parameters of type PlayerEntity Modifier and Type Method Description ActionResultType
BoatEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ItemFrameEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
LeashKnotEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ArmorStandEntity. interactAt(PlayerEntity p_184199_1_, Vector3d p_184199_2_, Hand p_184199_3_)
void
ExperienceOrbEntity. playerTouch(PlayerEntity p_70100_1_)
void
ItemEntity. playerTouch(PlayerEntity p_70100_1_)
private boolean
ArmorStandEntity. swapItem(PlayerEntity p_226529_1_, EquipmentSlotType p_226529_2_, ItemStack p_226529_3_, Hand p_226529_4_)
-
Uses of PlayerEntity in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart with parameters of type PlayerEntity Modifier and Type Method Description Container
ContainerMinecartEntity. createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
ActionResultType
CommandBlockMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
ContainerMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
FurnaceMinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
ActionResultType
MinecartEntity. interact(PlayerEntity p_184230_1_, Hand p_184230_2_)
boolean
ContainerMinecartEntity. stillValid(PlayerEntity p_70300_1_)
void
ContainerMinecartEntity. unpackLootTable(PlayerEntity p_184288_1_)
-
Uses of PlayerEntity in net.minecraft.entity.merchant
Methods in net.minecraft.entity.merchant that return PlayerEntity Modifier and Type Method Description PlayerEntity
IMerchant. getTradingPlayer()
Methods in net.minecraft.entity.merchant with parameters of type PlayerEntity Modifier and Type Method Description default void
IMerchant. openTradingScreen(PlayerEntity p_213707_1_, ITextComponent p_213707_2_, int p_213707_3_)
void
IMerchant. setTradingPlayer(PlayerEntity p_70932_1_)
-
Uses of PlayerEntity in net.minecraft.entity.merchant.villager
Fields in net.minecraft.entity.merchant.villager declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
VillagerEntity. lastTradedPlayer
private PlayerEntity
AbstractVillagerEntity. tradingPlayer
Methods in net.minecraft.entity.merchant.villager that return PlayerEntity Modifier and Type Method Description PlayerEntity
AbstractVillagerEntity. getTradingPlayer()
Methods in net.minecraft.entity.merchant.villager with parameters of type PlayerEntity Modifier and Type Method Description boolean
AbstractVillagerEntity. canBeLeashed(PlayerEntity p_184652_1_)
int
VillagerEntity. getPlayerReputation(PlayerEntity p_223107_1_)
ActionResultType
VillagerEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
WanderingTraderEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
void
AbstractVillagerEntity. setTradingPlayer(PlayerEntity p_70932_1_)
void
VillagerEntity. setTradingPlayer(PlayerEntity p_70932_1_)
private void
VillagerEntity. startTrading(PlayerEntity p_213740_1_)
private void
VillagerEntity. updateSpecialPrices(PlayerEntity p_213762_1_)
-
Uses of PlayerEntity in net.minecraft.entity.monster
Fields in net.minecraft.entity.monster declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
EndermanEntity.FindPlayerGoal. pendingTarget
Fields in net.minecraft.entity.monster with type parameters of type PlayerEntity Modifier and Type Field Description private ToggleableNearestAttackableTargetGoal<PlayerEntity>
WitchEntity. attackPlayersGoal
Methods in net.minecraft.entity.monster with parameters of type PlayerEntity Modifier and Type Method Description boolean
HoglinEntity. canBeLeashed(PlayerEntity p_184652_1_)
boolean
ZoglinEntity. canBeLeashed(PlayerEntity p_184652_1_)
protected int
HoglinEntity. getExperienceReward(PlayerEntity p_70693_1_)
protected int
ZombieEntity. getExperienceReward(PlayerEntity p_70693_1_)
private boolean
EndermanEntity. isLookingAtMe(PlayerEntity p_70821_1_)
boolean
MonsterEntity. isPreventingPlayerRest(PlayerEntity p_230292_1_)
boolean
ZombifiedPiglinEntity. isPreventingPlayerRest(PlayerEntity p_230292_1_)
protected ActionResultType
CreeperEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
HoglinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ZombieVillagerEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
void
SlimeEntity. playerTouch(PlayerEntity p_70100_1_)
-
Uses of PlayerEntity in net.minecraft.entity.monster.piglin
Methods in net.minecraft.entity.monster.piglin that return types with arguments of type PlayerEntity Modifier and Type Method Description static java.util.Optional<PlayerEntity>
PiglinTasks. getNearestVisibleTargetablePlayer(AbstractPiglinEntity p_241432_0_)
Methods in net.minecraft.entity.monster.piglin with parameters of type PlayerEntity Modifier and Type Method Description static void
PiglinTasks. angerNearbyPiglins(PlayerEntity p_234478_0_, boolean p_234478_1_)
protected int
PiglinEntity. getExperienceReward(PlayerEntity p_70693_1_)
ActionResultType
PiglinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
static ActionResultType
PiglinTasks. mobInteract(PiglinEntity p_234471_0_, PlayerEntity p_234471_1_, Hand p_234471_2_)
private static void
PiglinTasks. throwItemsTowardPlayer(PiglinEntity p_234472_0_, PlayerEntity p_234472_1_, java.util.List<ItemStack> p_234472_2_)
-
Uses of PlayerEntity in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
CatEntity.MorningGiftGoal. ownerPlayer
private PlayerEntity
DolphinEntity.SwimWithPlayerGoal. player
private PlayerEntity
TurtleEntity.PlayerTemptGoal. player
private PlayerEntity
CatEntity.TemptGoal. selectedPlayer
Fields in net.minecraft.entity.passive with type parameters of type PlayerEntity Modifier and Type Field Description private CatEntity.AvoidPlayerGoal<PlayerEntity>
CatEntity. avoidPlayersGoal
private OcelotEntity.AvoidEntityGoal<PlayerEntity>
OcelotEntity. ocelotAvoidPlayersGoal
Methods in net.minecraft.entity.passive with parameters of type PlayerEntity Modifier and Type Method Description boolean
AmbientEntity. canBeLeashed(PlayerEntity p_184652_1_)
boolean
DolphinEntity. canBeLeashed(PlayerEntity p_184652_1_)
boolean
PandaEntity. canBeLeashed(PlayerEntity p_184652_1_)
boolean
TameableEntity. canBeLeashed(PlayerEntity p_184652_1_)
boolean
TurtleEntity. canBeLeashed(PlayerEntity p_184652_1_)
boolean
WaterMobEntity. canBeLeashed(PlayerEntity p_184652_1_)
boolean
WolfEntity. canBeLeashed(PlayerEntity p_184652_1_)
protected int
AnimalEntity. getExperienceReward(PlayerEntity p_70693_1_)
protected int
ChickenEntity. getExperienceReward(PlayerEntity p_70693_1_)
protected int
WaterMobEntity. getExperienceReward(PlayerEntity p_70693_1_)
ActionResultType
AnimalEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
CatEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
CowEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected ActionResultType
DolphinEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected ActionResultType
IronGolemEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
MooshroomEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
OcelotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
PandaEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ParrotEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
PigEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
SheepEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected ActionResultType
SnowGolemEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
StriderEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
WolfEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
protected void
FoxEntity. onOffspringSpawnedFromEgg(PlayerEntity p_213406_1_, MobEntity p_213406_2_)
java.util.List<ItemStack>
MooshroomEntity. onSheared(PlayerEntity player, ItemStack item, World world, BlockPos pos, int fortune)
java.util.List<ItemStack>
SheepEntity. onSheared(PlayerEntity player, ItemStack item, World world, BlockPos pos, int fortune)
java.util.List<ItemStack>
SnowGolemEntity. onSheared(PlayerEntity player, ItemStack item, World world, BlockPos pos, int fortune)
void
AnimalEntity. setInLove(PlayerEntity p_146082_1_)
void
TameableEntity. tame(PlayerEntity p_193101_1_)
protected void
AnimalEntity. usePlayerItem(PlayerEntity p_175505_1_, ItemStack p_175505_2_)
protected void
CatEntity. usePlayerItem(PlayerEntity p_175505_1_, ItemStack p_175505_2_)
protected void
FoxEntity. usePlayerItem(PlayerEntity p_175505_1_, ItemStack p_175505_2_)
-
Uses of PlayerEntity in net.minecraft.entity.passive.fish
Methods in net.minecraft.entity.passive.fish with parameters of type PlayerEntity Modifier and Type Method Description protected ActionResultType
AbstractFishEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
void
PufferfishEntity. playerTouch(PlayerEntity p_70100_1_)
-
Uses of PlayerEntity in net.minecraft.entity.passive.horse
Methods in net.minecraft.entity.passive.horse with parameters of type PlayerEntity Modifier and Type Method Description protected void
AbstractHorseEntity. doPlayerRide(PlayerEntity p_110237_1_)
protected void
TraderLlamaEntity. doPlayerRide(PlayerEntity p_110237_1_)
ActionResultType
AbstractHorseEntity. fedFood(PlayerEntity p_241395_1_, ItemStack p_241395_2_)
protected boolean
AbstractHorseEntity. handleEating(PlayerEntity p_190678_1_, ItemStack p_190678_2_)
protected boolean
LlamaEntity. handleEating(PlayerEntity p_190678_1_, ItemStack p_190678_2_)
ActionResultType
AbstractChestedHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
HorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
SkeletonHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
ActionResultType
ZombieHorseEntity. mobInteract(PlayerEntity p_230254_1_, Hand p_230254_2_)
void
AbstractHorseEntity. openInventory(PlayerEntity p_110199_1_)
boolean
AbstractHorseEntity. tameWithName(PlayerEntity p_110263_1_)
-
Uses of PlayerEntity in net.minecraft.entity.player
Subclasses of PlayerEntity in net.minecraft.entity.player Modifier and Type Class Description class
ServerPlayerEntity
Fields in net.minecraft.entity.player declared as PlayerEntity Modifier and Type Field Description PlayerEntity
PlayerInventory. player
Methods in net.minecraft.entity.player with parameters of type PlayerEntity Modifier and Type Method Description boolean
PlayerEntity. canHarmPlayer(PlayerEntity p_96122_1_)
boolean
ServerPlayerEntity. canHarmPlayer(PlayerEntity p_96122_1_)
protected int
PlayerEntity. getExperienceReward(PlayerEntity p_70693_1_)
boolean
PlayerInventory. stillValid(PlayerEntity p_70300_1_)
Constructors in net.minecraft.entity.player with parameters of type PlayerEntity Constructor Description PlayerInventory(PlayerEntity p_i1750_1_)
-
Uses of PlayerEntity in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return PlayerEntity Modifier and Type Method Description PlayerEntity
FishingBobberEntity. getPlayerOwner()
Methods in net.minecraft.entity.projectile with parameters of type PlayerEntity Modifier and Type Method Description void
AbstractArrowEntity. playerTouch(PlayerEntity p_70100_1_)
void
TridentEntity. playerTouch(PlayerEntity p_70100_1_)
private boolean
FishingBobberEntity. shouldStopFishing(PlayerEntity p_234600_1_)
Constructors in net.minecraft.entity.projectile with parameters of type PlayerEntity Constructor Description FishingBobberEntity(PlayerEntity p_i50220_1_, World p_i50220_2_, int p_i50220_3_, int p_i50220_4_)
FishingBobberEntity(World p_i47290_1_, PlayerEntity p_i47290_2_, double p_i47290_3_, double p_i47290_5_, double p_i47290_7_)
FishingBobberEntity(World p_i50219_1_, PlayerEntity p_i50219_2_, int p_i50219_3_, int p_i50219_4_)
-
Uses of PlayerEntity in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type PlayerEntity Modifier and Type Method Description default void
IRecipeHolder. awardUsedRecipes(PlayerEntity p_201560_1_)
void
DoubleSidedInventory. startOpen(PlayerEntity p_174889_1_)
void
EnderChestInventory. startOpen(PlayerEntity p_174889_1_)
default void
IInventory. startOpen(PlayerEntity p_174889_1_)
boolean
CraftingInventory. stillValid(PlayerEntity p_70300_1_)
boolean
CraftResultInventory. stillValid(PlayerEntity p_70300_1_)
boolean
DoubleSidedInventory. stillValid(PlayerEntity p_70300_1_)
boolean
EnderChestInventory. stillValid(PlayerEntity p_70300_1_)
boolean
IInventory. stillValid(PlayerEntity p_70300_1_)
boolean
Inventory. stillValid(PlayerEntity p_70300_1_)
boolean
MerchantInventory. stillValid(PlayerEntity p_70300_1_)
void
DoubleSidedInventory. stopOpen(PlayerEntity p_174886_1_)
void
EnderChestInventory. stopOpen(PlayerEntity p_174886_1_)
default void
IInventory. stopOpen(PlayerEntity p_174886_1_)
-
Uses of PlayerEntity in net.minecraft.inventory.container
Fields in net.minecraft.inventory.container declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
PlayerContainer. owner
protected PlayerEntity
AbstractRepairContainer. player
private PlayerEntity
CraftingResultSlot. player
private PlayerEntity
FurnaceResultSlot. player
private PlayerEntity
MerchantResultSlot. player
private PlayerEntity
WorkbenchContainer. player
Fields in net.minecraft.inventory.container with type parameters of type PlayerEntity Modifier and Type Field Description private java.util.Set<PlayerEntity>
Container. unSynchedPlayers
Methods in net.minecraft.inventory.container with parameters of type PlayerEntity Modifier and Type Method Description protected void
Container. clearContainer(PlayerEntity p_193327_1_, World p_193327_2_, IInventory p_193327_3_)
ItemStack
Container. clicked(int p_184996_1_, int p_184996_2_, ClickType p_184996_3_, PlayerEntity p_184996_4_)
boolean
Container. clickMenuButton(PlayerEntity p_75140_1_, int p_75140_2_)
boolean
EnchantmentContainer. clickMenuButton(PlayerEntity p_75140_1_, int p_75140_2_)
boolean
LecternContainer. clickMenuButton(PlayerEntity p_75140_1_, int p_75140_2_)
boolean
LoomContainer. clickMenuButton(PlayerEntity p_75140_1_, int p_75140_2_)
boolean
StonecutterContainer. clickMenuButton(PlayerEntity p_75140_1_, int p_75140_2_)
Container
IContainerProvider. createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
Container
SimpleNamedContainerProvider. createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
private ItemStack
Container. doClick(int p_241440_1_, int p_241440_2_, ClickType p_241440_3_, PlayerEntity p_241440_4_)
boolean
Container. isSynched(PlayerEntity p_75129_1_)
static boolean
Container. isValidQuickcraftType(int p_180610_0_, PlayerEntity p_180610_1_)
protected abstract boolean
AbstractRepairContainer. mayPickup(PlayerEntity p_230303_1_, boolean p_230303_2_)
protected boolean
RepairContainer. mayPickup(PlayerEntity p_230303_1_, boolean p_230303_2_)
boolean
Slot. mayPickup(PlayerEntity p_82869_1_)
protected boolean
SmithingTableContainer. mayPickup(PlayerEntity p_230303_1_, boolean p_230303_2_)
protected abstract ItemStack
AbstractRepairContainer. onTake(PlayerEntity p_230301_1_, ItemStack p_230301_2_)
ItemStack
BrewingStandContainer.PotionSlot. onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
ItemStack
CraftingResultSlot. onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
ItemStack
FurnaceResultSlot. onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
ItemStack
MerchantResultSlot. onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
protected ItemStack
RepairContainer. onTake(PlayerEntity p_230301_1_, ItemStack p_230301_2_)
ItemStack
Slot. onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
protected ItemStack
SmithingTableContainer. onTake(PlayerEntity p_230301_1_, ItemStack p_230301_2_)
ItemStack
AbstractFurnaceContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
AbstractRepairContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
BeaconContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
BrewingStandContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
CartographyContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
ChestContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
Container. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
DispenserContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
EnchantmentContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
GrindstoneContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
HopperContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
HorseInventoryContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
LoomContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
MerchantContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
PlayerContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
ShulkerBoxContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
StonecutterContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
ItemStack
WorkbenchContainer. quickMoveStack(PlayerEntity p_82846_1_, int p_82846_2_)
void
AbstractRepairContainer. removed(PlayerEntity p_75134_1_)
void
BeaconContainer. removed(PlayerEntity p_75134_1_)
void
CartographyContainer. removed(PlayerEntity p_75134_1_)
void
ChestContainer. removed(PlayerEntity p_75134_1_)
void
Container. removed(PlayerEntity p_75134_1_)
void
DispenserContainer. removed(PlayerEntity p_75134_1_)
void
EnchantmentContainer. removed(PlayerEntity p_75134_1_)
void
GrindstoneContainer. removed(PlayerEntity p_75134_1_)
void
HopperContainer. removed(PlayerEntity p_75134_1_)
void
HorseInventoryContainer. removed(PlayerEntity p_75134_1_)
void
LoomContainer. removed(PlayerEntity p_75134_1_)
void
MerchantContainer. removed(PlayerEntity p_75134_1_)
void
PlayerContainer. removed(PlayerEntity p_75134_1_)
void
ShulkerBoxContainer. removed(PlayerEntity p_75134_1_)
void
StonecutterContainer. removed(PlayerEntity p_75134_1_)
void
WorkbenchContainer. removed(PlayerEntity p_75134_1_)
void
Container. setSynched(PlayerEntity p_75128_1_, boolean p_75128_2_)
protected static void
WorkbenchContainer. slotChangedCraftingGrid(int p_217066_0_, World p_217066_1_, PlayerEntity p_217066_2_, CraftingInventory p_217066_3_, CraftResultInventory p_217066_4_)
boolean
AbstractFurnaceContainer. stillValid(PlayerEntity p_75145_1_)
boolean
AbstractRepairContainer. stillValid(PlayerEntity p_75145_1_)
boolean
BeaconContainer. stillValid(PlayerEntity p_75145_1_)
boolean
BrewingStandContainer. stillValid(PlayerEntity p_75145_1_)
boolean
CartographyContainer. stillValid(PlayerEntity p_75145_1_)
boolean
ChestContainer. stillValid(PlayerEntity p_75145_1_)
abstract boolean
Container. stillValid(PlayerEntity p_75145_1_)
protected static boolean
Container. stillValid(IWorldPosCallable p_216963_0_, PlayerEntity p_216963_1_, Block p_216963_2_)
boolean
DispenserContainer. stillValid(PlayerEntity p_75145_1_)
boolean
EnchantmentContainer. stillValid(PlayerEntity p_75145_1_)
boolean
GrindstoneContainer. stillValid(PlayerEntity p_75145_1_)
boolean
HopperContainer. stillValid(PlayerEntity p_75145_1_)
boolean
HorseInventoryContainer. stillValid(PlayerEntity p_75145_1_)
boolean
LecternContainer. stillValid(PlayerEntity p_75145_1_)
boolean
LoomContainer. stillValid(PlayerEntity p_75145_1_)
boolean
MerchantContainer. stillValid(PlayerEntity p_75145_1_)
boolean
PlayerContainer. stillValid(PlayerEntity p_75145_1_)
boolean
ShulkerBoxContainer. stillValid(PlayerEntity p_75145_1_)
boolean
StonecutterContainer. stillValid(PlayerEntity p_75145_1_)
boolean
WorkbenchContainer. stillValid(PlayerEntity p_75145_1_)
Constructors in net.minecraft.inventory.container with parameters of type PlayerEntity Constructor Description CraftingResultSlot(PlayerEntity p_i45790_1_, CraftingInventory p_i45790_2_, IInventory p_i45790_3_, int p_i45790_4_, int p_i45790_5_, int p_i45790_6_)
FurnaceResultSlot(PlayerEntity p_i45793_1_, IInventory p_i45793_2_, int p_i45793_3_, int p_i45793_4_, int p_i45793_5_)
MerchantResultSlot(PlayerEntity p_i1822_1_, IMerchant p_i1822_2_, MerchantInventory p_i1822_3_, int p_i1822_4_, int p_i1822_5_, int p_i1822_6_)
PlayerContainer(PlayerInventory p_i1819_1_, boolean p_i1819_2_, PlayerEntity p_i1819_3_)
-
Uses of PlayerEntity in net.minecraft.item
Fields in net.minecraft.item declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
ItemUseContext. player
Methods in net.minecraft.item that return PlayerEntity Modifier and Type Method Description PlayerEntity
ItemUseContext. getPlayer()
Methods in net.minecraft.item with parameters of type PlayerEntity Modifier and Type Method Description static boolean
BoneMealItem. applyBonemeal(ItemStack p_195966_0_, World p_195966_1_, BlockPos p_195966_2_, PlayerEntity player)
static ActionResultType
LeadItem. bindPlayerMobs(PlayerEntity p_226641_0_, World p_226641_1_, BlockPos p_226641_2_)
boolean
DebugStickItem. canAttackBlock(BlockState p_195938_1_, World p_195938_2_, BlockPos p_195938_3_, PlayerEntity p_195938_4_)
boolean
Item. canAttackBlock(BlockState p_195938_1_, World p_195938_2_, BlockPos p_195938_3_, PlayerEntity p_195938_4_)
boolean
SwordItem. canAttackBlock(BlockState p_195938_1_, World p_195938_2_, BlockPos p_195938_3_, PlayerEntity p_195938_4_)
boolean
TridentItem. canAttackBlock(BlockState p_195938_1_, World p_195938_2_, BlockPos p_195938_3_, PlayerEntity p_195938_4_)
boolean
BucketItem. emptyBucket(PlayerEntity p_180616_1_, World p_180616_2_, BlockPos p_180616_3_, BlockRayTraceResult p_180616_4_)
protected ItemStack
BucketItem. getEmptySuccessItem(ItemStack p_203790_1_, PlayerEntity p_203790_2_)
int
Item. getHarvestLevel(ItemStack stack, ToolType tool, PlayerEntity player, BlockState blockState)
protected SoundEvent
BlockItem. getPlaceSound(BlockState state, World world, BlockPos pos, PlayerEntity entity)
protected static BlockRayTraceResult
Item. getPlayerPOVHitResult(World p_219968_0_, PlayerEntity p_219968_1_, RayTraceContext.FluidMode p_219968_2_)
java.util.List<ITextComponent>
ItemStack. getTooltipLines(PlayerEntity p_82840_1_, ITooltipFlag p_82840_2_)
IPacket<?>
AbstractMapItem. getUpdatePacket(ItemStack p_150911_1_, World p_150911_2_, PlayerEntity p_150911_3_)
IPacket<?>
FilledMapItem. getUpdatePacket(ItemStack p_150911_1_, World p_150911_2_, PlayerEntity p_150911_3_)
private void
DebugStickItem. handleInteraction(PlayerEntity p_195958_1_, BlockState p_195958_2_, IWorld p_195958_3_, BlockPos p_195958_4_, boolean p_195958_5_, ItemStack p_195958_6_)
void
ItemStack. hurtEnemy(LivingEntity p_77961_1_, PlayerEntity p_77961_2_)
ActionResultType
DyeItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
Item. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
ItemStack. interactLivingEntity(PlayerEntity p_111282_1_, LivingEntity p_111282_2_, Hand p_111282_3_)
ActionResultType
NameTagItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
SaddleItem. interactLivingEntity(ItemStack p_111207_1_, PlayerEntity p_111207_2_, LivingEntity p_111207_3_, Hand p_111207_4_)
ActionResultType
ShearsItem. interactLivingEntity(ItemStack stack, PlayerEntity playerIn, LivingEntity entity, Hand hand)
boolean
ArrowItem. isInfinite(ItemStack stack, ItemStack bow, PlayerEntity player)
protected boolean
HangingEntityItem. mayPlace(PlayerEntity p_200127_1_, Direction p_200127_2_, ItemStack p_200127_3_, BlockPos p_200127_4_)
protected boolean
ItemFrameItem. mayPlace(PlayerEntity p_200127_1_, Direction p_200127_2_, ItemStack p_200127_3_, BlockPos p_200127_4_)
private static void
DebugStickItem. message(PlayerEntity p_195956_0_, ITextComponent p_195956_1_)
void
ItemStack. mineBlock(World p_179548_1_, BlockState p_179548_2_, BlockPos p_179548_3_, PlayerEntity p_179548_4_)
void
FilledMapItem. onCraftedBy(ItemStack p_77622_1_, World p_77622_2_, PlayerEntity p_77622_3_)
void
Item. onCraftedBy(ItemStack p_77622_1_, World p_77622_2_, PlayerEntity p_77622_3_)
void
ItemStack. onCraftedBy(World p_77980_1_, PlayerEntity p_77980_2_, int p_77980_3_)
protected void
BucketItem. playEmptySound(PlayerEntity p_203791_1_, IWorld p_203791_2_, BlockPos p_203791_3_)
protected void
FishBucketItem. playEmptySound(PlayerEntity p_203791_1_, IWorld p_203791_2_, BlockPos p_203791_3_)
static boolean
WrittenBookItem. resolveBookComponents(ItemStack p_220050_0_, CommandSource p_220050_1_, PlayerEntity p_220050_2_)
java.util.Optional<MobEntity>
SpawnEggItem. spawnOffspringFromSpawnEgg(PlayerEntity p_234809_1_, MobEntity p_234809_2_, EntityType<? extends MobEntity> p_234809_3_, ServerWorld p_234809_4_, Vector3d p_234809_5_, ItemStack p_234809_6_)
protected ItemStack
GlassBottleItem. turnBottleIntoItem(ItemStack p_185061_1_, PlayerEntity p_185061_2_, ItemStack p_185061_3_)
protected boolean
BlockItem. updateCustomBlockEntityTag(BlockPos p_195943_1_, World p_195943_2_, PlayerEntity p_195943_3_, ItemStack p_195943_4_, BlockState p_195943_5_)
static boolean
BlockItem. updateCustomBlockEntityTag(World p_179224_0_, PlayerEntity p_179224_1_, BlockPos p_179224_2_, ItemStack p_179224_3_)
protected boolean
SignItem. updateCustomBlockEntityTag(BlockPos p_195943_1_, World p_195943_2_, PlayerEntity p_195943_3_, ItemStack p_195943_4_, BlockState p_195943_5_)
ActionResult<ItemStack>
ArmorItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BoatItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BowItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
BucketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
CrossbowItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EggItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ElytraItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EnderEyeItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
EnderPearlItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ExperienceBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
FireworkRocketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
FishingRodItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
GlassBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
HoneyBottleItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
Item. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ItemStack. use(World p_77957_1_, PlayerEntity p_77957_2_, Hand p_77957_3_)
ActionResult<ItemStack>
KnowledgeBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
LilyPadItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
LingeringPotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
MapItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
MilkBucketItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
OnAStickItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
PotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ShieldItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SnowballItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SpawnEggItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
SplashPotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
ThrowablePotionItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
TridentItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
WritableBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
ActionResult<ItemStack>
WrittenBookItem. use(World p_77659_1_, PlayerEntity p_77659_2_, Hand p_77659_3_)
Constructors in net.minecraft.item with parameters of type PlayerEntity Constructor Description BlockItemUseContext(PlayerEntity p_i241237_1_, Hand p_i241237_2_, ItemStack p_i241237_3_, BlockRayTraceResult p_i241237_4_)
BlockItemUseContext(World p_i50056_1_, PlayerEntity p_i50056_2_, Hand p_i50056_3_, ItemStack p_i50056_4_, BlockRayTraceResult p_i50056_5_)
ItemUseContext(PlayerEntity p_i50033_1_, Hand p_i50033_2_, BlockRayTraceResult p_i50033_3_)
ItemUseContext(World p_i50034_1_, PlayerEntity p_i50034_2_, Hand p_i50034_3_, ItemStack p_i50034_4_, BlockRayTraceResult p_i50034_5_)
-
Uses of PlayerEntity in net.minecraft.loot
Fields in net.minecraft.loot with type parameters of type PlayerEntity Modifier and Type Field Description static LootParameter<PlayerEntity>
LootParameters. LAST_DAMAGE_PLAYER
-
Uses of PlayerEntity in net.minecraft.network.play.server
Constructors in net.minecraft.network.play.server with parameters of type PlayerEntity Constructor Description SSpawnPlayerPacket(PlayerEntity p_i46971_1_)
-
Uses of PlayerEntity in net.minecraft.server
Methods in net.minecraft.server with parameters of type PlayerEntity Modifier and Type Method Description boolean
MinecraftServer. isUnderSpawnProtection(ServerWorld p_175579_1_, BlockPos p_175579_2_, PlayerEntity p_175579_3_)
-
Uses of PlayerEntity in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type PlayerEntity Modifier and Type Method Description boolean
DedicatedServer. isUnderSpawnProtection(ServerWorld p_175579_1_, BlockPos p_175579_2_, PlayerEntity p_175579_3_)
-
Uses of PlayerEntity in net.minecraft.server.management
Methods in net.minecraft.server.management with parameters of type PlayerEntity Modifier and Type Method Description void
PlayerList. broadcast(PlayerEntity p_148543_1_, double p_148543_2_, double p_148543_4_, double p_148543_6_, double p_148543_8_, RegistryKey<World> p_148543_10_, IPacket<?> p_148543_11_)
void
PlayerList. broadcastToAllExceptTeam(PlayerEntity p_177452_1_, ITextComponent p_177452_2_)
void
PlayerList. broadcastToTeam(PlayerEntity p_177453_1_, ITextComponent p_177453_2_)
ServerStatisticsManager
PlayerList. getPlayerStats(PlayerEntity p_152602_1_)
-
Uses of PlayerEntity in net.minecraft.stats
Methods in net.minecraft.stats with parameters of type PlayerEntity Modifier and Type Method Description void
StatisticsManager. increment(PlayerEntity p_150871_1_, Stat<?> p_150871_2_, int p_150871_3_)
void
ServerStatisticsManager. setValue(PlayerEntity p_150873_1_, Stat<?> p_150873_2_, int p_150873_3_)
void
StatisticsManager. setValue(PlayerEntity p_150873_1_, Stat<?> p_150873_2_, int p_150873_3_)
-
Uses of PlayerEntity in net.minecraft.tileentity
Fields in net.minecraft.tileentity declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
SignTileEntity. playerWhoMayEdit
Methods in net.minecraft.tileentity that return PlayerEntity Modifier and Type Method Description PlayerEntity
SignTileEntity. getPlayerWhoMayEdit()
Methods in net.minecraft.tileentity with parameters of type PlayerEntity Modifier and Type Method Description void
AbstractFurnaceTileEntity. awardUsedRecipes(PlayerEntity p_201560_1_)
void
AbstractFurnaceTileEntity. awardUsedRecipesAndPopExperience(PlayerEntity p_235645_1_)
boolean
LockableLootTileEntity. canOpen(PlayerEntity p_213904_1_)
boolean
LockableTileEntity. canOpen(PlayerEntity p_213904_1_)
static boolean
LockableTileEntity. canUnlock(PlayerEntity p_213905_0_, LockCode p_213905_1_, ITextComponent p_213905_2_)
private CommandSource
LecternTileEntity. createCommandSourceStack(PlayerEntity p_214039_1_)
Container
BeaconTileEntity. createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
Container
LecternTileEntity. createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
Container
LockableLootTileEntity. createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
Container
LockableTileEntity. createMenu(int p_createMenu_1_, PlayerInventory p_createMenu_2_, PlayerEntity p_createMenu_3_)
void
BeehiveTileEntity. emptyAllLivingFromHive(PlayerEntity p_226963_1_, BlockState p_226963_2_, BeehiveTileEntity.State p_226963_3_)
boolean
SignTileEntity. executeClickCommands(PlayerEntity p_174882_1_)
private ItemStack
LecternTileEntity. resolveBook(ItemStack p_214047_1_, PlayerEntity p_214047_2_)
void
SignTileEntity. setAllowedPlayerEditor(PlayerEntity p_145912_1_)
void
LecternTileEntity. setBook(ItemStack p_214040_1_, PlayerEntity p_214040_2_)
void
BarrelTileEntity. startOpen(PlayerEntity p_174889_1_)
void
ChestTileEntity. startOpen(PlayerEntity p_174889_1_)
void
ShulkerBoxTileEntity. startOpen(PlayerEntity p_174889_1_)
boolean
AbstractFurnaceTileEntity. stillValid(PlayerEntity p_70300_1_)
boolean
BrewingStandTileEntity. stillValid(PlayerEntity p_70300_1_)
boolean
EnderChestTileEntity. stillValid(PlayerEntity p_145971_1_)
boolean
LockableLootTileEntity. stillValid(PlayerEntity p_70300_1_)
void
BarrelTileEntity. stopOpen(PlayerEntity p_174886_1_)
void
ChestTileEntity. stopOpen(PlayerEntity p_174886_1_)
void
ShulkerBoxTileEntity. stopOpen(PlayerEntity p_174886_1_)
void
LockableLootTileEntity. unpackLootTable(PlayerEntity p_184281_1_)
ActionResultType
CommandBlockLogic. usedBy(PlayerEntity p_175574_1_)
boolean
StructureBlockTileEntity. usedBy(PlayerEntity p_189701_1_)
-
Uses of PlayerEntity in net.minecraft.util
Methods in net.minecraft.util with parameters of type PlayerEntity Modifier and Type Method Description static ItemStack
DrinkHelper. createFilledResult(ItemStack p_242398_0_, PlayerEntity p_242398_1_, ItemStack p_242398_2_)
static ItemStack
DrinkHelper. createFilledResult(ItemStack p_241445_0_, PlayerEntity p_241445_1_, ItemStack p_241445_2_, boolean p_241445_3_)
static DamageSource
DamageSource. playerAttack(PlayerEntity p_76365_0_)
void
FoodStats. tick(PlayerEntity p_75118_1_)
static ActionResult<ItemStack>
DrinkHelper. useDrink(World p_234707_0_, PlayerEntity p_234707_1_, Hand p_234707_2_)
-
Uses of PlayerEntity in net.minecraft.world
Fields in net.minecraft.world with type parameters of type PlayerEntity Modifier and Type Field Description private java.util.Map<PlayerEntity,Vector3d>
Explosion. hitPlayers
Methods in net.minecraft.world that return PlayerEntity Modifier and Type Method Description default PlayerEntity
IEntityReader. getNearestPlayer(double p_217366_1_, double p_217366_3_, double p_217366_5_, double p_217366_7_, boolean p_217366_9_)
default PlayerEntity
IEntityReader. getNearestPlayer(double p_190525_1_, double p_190525_3_, double p_190525_5_, double p_190525_7_, java.util.function.Predicate<Entity> p_190525_9_)
default PlayerEntity
IEntityReader. getNearestPlayer(Entity p_217362_1_, double p_217362_2_)
default PlayerEntity
IEntityReader. getNearestPlayer(EntityPredicate p_217359_1_, double p_217359_2_, double p_217359_4_, double p_217359_6_)
default PlayerEntity
IEntityReader. getNearestPlayer(EntityPredicate p_217370_1_, LivingEntity p_217370_2_)
default PlayerEntity
IEntityReader. getNearestPlayer(EntityPredicate p_217372_1_, LivingEntity p_217372_2_, double p_217372_3_, double p_217372_5_, double p_217372_7_)
default PlayerEntity
IEntityReader. getPlayerByUUID(java.util.UUID p_217371_1_)
Methods in net.minecraft.world that return types with arguments of type PlayerEntity Modifier and Type Method Description java.util.Map<PlayerEntity,Vector3d>
Explosion. getHitPlayers()
default java.util.List<PlayerEntity>
IEntityReader. getNearbyPlayers(EntityPredicate p_217373_1_, LivingEntity p_217373_2_, AxisAlignedBB p_217373_3_)
java.util.List<? extends PlayerEntity>
IEntityReader. players()
Methods in net.minecraft.world with parameters of type PlayerEntity Modifier and Type Method Description void
IWorld. levelEvent(PlayerEntity p_217378_1_, int p_217378_2_, BlockPos p_217378_3_, int p_217378_4_)
boolean
World. mayInteract(PlayerEntity p_175660_1_, BlockPos p_175660_2_)
void
IWorld. playSound(PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_)
abstract void
World. playSound(PlayerEntity p_184148_1_, double p_184148_2_, double p_184148_4_, double p_184148_6_, SoundEvent p_184148_8_, SoundCategory p_184148_9_, float p_184148_10_, float p_184148_11_)
abstract void
World. playSound(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_)
void
World. playSound(PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_)
-
Uses of PlayerEntity in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return PlayerEntity Modifier and Type Method Description PlayerEntity
WorldGenRegion. getNearestPlayer(double p_190525_1_, double p_190525_3_, double p_190525_5_, double p_190525_7_, java.util.function.Predicate<Entity> p_190525_9_)
Methods in net.minecraft.world.gen that return types with arguments of type PlayerEntity Modifier and Type Method Description java.util.List<PlayerEntity>
WorldGenRegion. players()
Methods in net.minecraft.world.gen with parameters of type PlayerEntity Modifier and Type Method Description void
WorldGenRegion. levelEvent(PlayerEntity p_217378_1_, int p_217378_2_, BlockPos p_217378_3_, int p_217378_4_)
void
WorldGenRegion. playSound(PlayerEntity p_184133_1_, BlockPos p_184133_2_, SoundEvent p_184133_3_, SoundCategory p_184133_4_, float p_184133_5_, float p_184133_6_)
-
Uses of PlayerEntity in net.minecraft.world.raid
Methods in net.minecraft.world.raid with parameters of type PlayerEntity Modifier and Type Method Description void
Raid. absorbBadOmen(PlayerEntity p_221309_1_)
-
Uses of PlayerEntity in net.minecraft.world.server
Methods in net.minecraft.world.server with parameters of type PlayerEntity Modifier and Type Method Description void
ServerWorld. levelEvent(PlayerEntity p_217378_1_, int p_217378_2_, BlockPos p_217378_3_, int p_217378_4_)
boolean
ServerWorld. mayInteract(PlayerEntity p_175660_1_, BlockPos p_175660_2_)
void
ServerWorld. playSound(PlayerEntity p_184148_1_, double p_184148_2_, double p_184148_4_, double p_184148_6_, SoundEvent p_184148_8_, SoundCategory p_184148_9_, float p_184148_10_, float p_184148_11_)
void
ServerWorld. playSound(PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_)
-
Uses of PlayerEntity in net.minecraft.world.storage
Fields in net.minecraft.world.storage declared as PlayerEntity Modifier and Type Field Description PlayerEntity
MapData.MapInfo. player
Fields in net.minecraft.world.storage with type parameters of type PlayerEntity Modifier and Type Field Description private java.util.Map<PlayerEntity,MapData.MapInfo>
MapData. carriedByPlayers
Methods in net.minecraft.world.storage with parameters of type PlayerEntity Modifier and Type Method Description MapData.MapInfo
MapData. getHoldingPlayer(PlayerEntity p_82568_1_)
IPacket<?>
MapData. getUpdatePacket(ItemStack p_176052_1_, IBlockReader p_176052_2_, PlayerEntity p_176052_3_)
CompoundNBT
PlayerData. load(PlayerEntity p_237336_1_)
void
PlayerData. save(PlayerEntity p_237335_1_)
void
MapData. tickCarriedBy(PlayerEntity p_76191_1_, ItemStack p_76191_2_)
Constructors in net.minecraft.world.storage with parameters of type PlayerEntity Constructor Description MapInfo(PlayerEntity p_i2138_2_)
-
Uses of PlayerEntity in net.minecraftforge.client
Methods in net.minecraftforge.client with parameters of type PlayerEntity Modifier and Type Method Description static float
ForgeHooksClient. getOffsetFOV(PlayerEntity entity, float fov)
static void
ForgeHooksClient. onInputUpdate(PlayerEntity player, MovementInput movementInput)
-
Uses of PlayerEntity in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
FOVUpdateEvent. entity
private PlayerEntity
RenderBlockOverlayEvent. player
Methods in net.minecraftforge.client.event that return PlayerEntity Modifier and Type Method Description PlayerEntity
FOVUpdateEvent. getEntity()
PlayerEntity
RenderBlockOverlayEvent. getPlayer()
The player which the overlay will apply toConstructors in net.minecraftforge.client.event with parameters of type PlayerEntity Constructor Description FOVUpdateEvent(PlayerEntity entity, float fov)
InputUpdateEvent(PlayerEntity player, MovementInput movementInput)
Post(PlayerEntity player, PlayerRenderer renderer, float tick, MatrixStack stack, IRenderTypeBuffer buffers, int light)
Pre(PlayerEntity player, PlayerRenderer renderer, float tick, MatrixStack stack, IRenderTypeBuffer buffers, int light)
RenderBlockOverlayEvent(PlayerEntity player, MatrixStack mat, RenderBlockOverlayEvent.OverlayType type, BlockState block, BlockPos blockPos)
RenderPlayerEvent(PlayerEntity player, PlayerRenderer renderer, float partialRenderTick, MatrixStack stack, IRenderTypeBuffer buffers, int light)
-
Uses of PlayerEntity in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type PlayerEntity Modifier and Type Field Description private static java.lang.ThreadLocal<PlayerEntity>
ForgeHooks. craftingPlayer
Methods in net.minecraftforge.common that return PlayerEntity Modifier and Type Method Description static PlayerEntity
ForgeHooks. getCraftingPlayer()
Methods in net.minecraftforge.common with parameters of type PlayerEntity Modifier and Type Method Description static boolean
ForgeHooks. canHarvestBlock(BlockState state, PlayerEntity player, IBlockReader world, BlockPos pos)
static CriticalHitEvent
ForgeHooks. getCriticalHit(PlayerEntity player, Entity target, boolean vanillaCritical, float damageModifier)
static double
ForgeHooks. getPlayerVisibilityDistance(PlayerEntity player, double xzDistance, double maxXZDistance)
Deprecated.static boolean
ForgeHooks. onAnvilChange(RepairContainer container, ItemStack left, ItemStack right, IInventory outputSlot, java.lang.String name, int baseCost, PlayerEntity player)
static float
ForgeHooks. onAnvilRepair(PlayerEntity player, ItemStack output, ItemStack left, ItemStack right)
static boolean
ForgeHooks. onChangeGameMode(PlayerEntity player, GameType currentGameMode, GameType newGameMode)
static void
ForgeHooks. onEmptyClick(PlayerEntity player, Hand hand)
static void
ForgeHooks. onEmptyLeftClick(PlayerEntity player)
static ActionResultType
ForgeHooks. onInteractEntity(PlayerEntity player, Entity entity, Hand hand)
static ActionResultType
ForgeHooks. onInteractEntityAt(PlayerEntity player, Entity entity, RayTraceResult ray, Hand hand)
static ActionResultType
ForgeHooks. onInteractEntityAt(PlayerEntity player, Entity entity, Vector3d vec3d, Hand hand)
static ActionResultType
ForgeHooks. onItemRightClick(PlayerEntity player, Hand hand)
static PlayerInteractEvent.LeftClickBlock
ForgeHooks. onLeftClickBlock(PlayerEntity player, BlockPos pos, Direction face)
static boolean
ForgeHooks. onPickBlock(RayTraceResult target, PlayerEntity player, World world)
Called when a player uses 'pick block', calls new Entity and Block hooks.static boolean
ForgeHooks. onPlayerAttackTarget(PlayerEntity player, Entity target)
static ItemEntity
ForgeHooks. onPlayerTossEvent(PlayerEntity player, ItemStack item, boolean includeName)
static PlayerInteractEvent.RightClickBlock
ForgeHooks. onRightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, Direction face)
Deprecated.static PlayerInteractEvent.RightClickBlock
ForgeHooks. onRightClickBlock(PlayerEntity player, Hand hand, BlockPos pos, BlockRayTraceResult hitVec)
default java.util.List<ItemStack>
IForgeShearable. onSheared(PlayerEntity player, ItemStack item, World world, BlockPos pos, int fortune)
Performs the shear function on this object.static void
ForgeHooks. setCraftingPlayer(PlayerEntity player)
-
Uses of PlayerEntity in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type PlayerEntity Modifier and Type Method Description default boolean
IForgeBlock. canHarvestBlock(BlockState state, IBlockReader world, BlockPos pos, PlayerEntity player)
Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default boolean
IForgeBlockState. canHarvestBlock(IBlockReader world, BlockPos pos, PlayerEntity player)
Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.default boolean
IForgeItem. doesSneakBypassUse(ItemStack stack, IWorldReader world, BlockPos pos, PlayerEntity player)
Should this item, when held, allow sneak-clicks to pass through to the underlying block?default boolean
IForgeItemStack. doesSneakBypassUse(IWorldReader world, BlockPos pos, PlayerEntity player)
Should this item, when held, allow sneak-clicks to pass through to the underlying block?int
IForgeItem. getHarvestLevel(ItemStack stack, ToolType tool, PlayerEntity player, BlockState blockState)
Queries the harvest level of this item stack for the specified tool class, Returns -1 if this tool is not of the specified typedefault int
IForgeItemStack. getHarvestLevel(ToolType tool, PlayerEntity player, BlockState state)
Queries the harvest level of this item stack for the specified tool class, Returns -1 if this tool is not of the specified typedefault ItemStack
IForgeBlock. getPickBlock(BlockState state, RayTraceResult target, IBlockReader world, BlockPos pos, PlayerEntity player)
Called when A user uses the creative pick block button on this blockdefault ItemStack
IForgeBlockState. getPickBlock(RayTraceResult target, IBlockReader world, BlockPos pos, PlayerEntity player)
Called when A user uses the creative pick block button on this blockdefault BlockState
IForgeBlock. getToolModifiedState(BlockState state, World world, BlockPos pos, PlayerEntity player, ItemStack stack, ToolType toolType)
Returns the state that this block should transform into when right clicked by a tool.default BlockState
IForgeBlockState. getToolModifiedState(World world, BlockPos pos, PlayerEntity player, ItemStack stack, ToolType toolType)
Returns the state that this block should transform into when right clicked by a tool.default boolean
IForgeItem. isEnderMask(ItemStack stack, PlayerEntity player, EndermanEntity endermanEntity)
Whether this Item can be used to hide player head for enderman.default boolean
IForgeItemStack. isEnderMask(PlayerEntity player, EndermanEntity endermanEntity)
Whether this Item can be used to hide player head for enderman.default void
IForgeItem. onArmorTick(ItemStack stack, World world, PlayerEntity player)
Called to tick armor in the armor slot.default void
IForgeItemStack. onArmorTick(World world, PlayerEntity player)
Called to tick armor in the armor slot.default boolean
IForgeItem. onBlockStartBreak(ItemStack itemstack, BlockPos pos, PlayerEntity player)
Called before a block is broken.default boolean
IForgeItemStack. onBlockStartBreak(BlockPos pos, PlayerEntity player)
Called before a block is broken.default boolean
IForgeItem. onDroppedByPlayer(ItemStack item, PlayerEntity 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 worlddefault boolean
IForgeItemStack. onDroppedByPlayer(PlayerEntity 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 worlddefault boolean
IForgeItem. onLeftClickEntity(ItemStack stack, PlayerEntity player, Entity entity)
Called when the player Left Clicks (attacks) an entity.default boolean
IForgeBlock. removedByPlayer(BlockState state, World world, BlockPos pos, PlayerEntity player, boolean willHarvest, FluidState fluid)
Called when a player removes a block.default boolean
IForgeBlockState. removedByPlayer(World world, BlockPos pos, PlayerEntity player, boolean willHarvest, FluidState fluid)
Called when a player removes a block.default void
IForgeItem. renderHelmetOverlay(ItemStack stack, PlayerEntity player, int width, int height, float partialTicks)
Called when the client starts rendering the HUD, for whatever item the player currently has as a helmet. -
Uses of PlayerEntity in net.minecraftforge.common.util
Subclasses of PlayerEntity in net.minecraftforge.common.util Modifier and Type Class Description class
FakePlayer
Methods in net.minecraftforge.common.util with parameters of type PlayerEntity Modifier and Type Method Description boolean
FakePlayer. canHarmPlayer(PlayerEntity player)
-
Uses of PlayerEntity in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type PlayerEntity Modifier and Type Method Description ActionResultType
CustomRespawnTest.CustomRespawnBlock. use(BlockState p_225533_1_, World world, BlockPos pos, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
ActionResultType
FullPotsAccessorDemo.DioriteFlowerPotBlock. use(BlockState state, World level, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit)
-
Uses of PlayerEntity in net.minecraftforge.debug.misc
Methods in net.minecraftforge.debug.misc with parameters of type PlayerEntity Modifier and Type Method Description boolean
ContainerTypeTest.TestContainer. stillValid(PlayerEntity playerIn)
-
Uses of PlayerEntity in net.minecraftforge.event
Fields in net.minecraftforge.event declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
AnvilUpdateEvent. player
PlayerEntity
TickEvent.PlayerTickEvent. player
Methods in net.minecraftforge.event that return PlayerEntity Modifier and Type Method Description PlayerEntity
AnvilUpdateEvent. getPlayer()
Nullable in the case someone is using the deprecated constructor.Methods in net.minecraftforge.event with parameters of type PlayerEntity Modifier and Type Method Description static boolean
ForgeEventFactory. doPlayerHarvestCheck(PlayerEntity player, BlockState state, boolean success)
static void
ForgeEventFactory. firePlayerLoadingEvent(PlayerEntity player, java.io.File playerDirectory, java.lang.String uuidString)
static void
ForgeEventFactory. firePlayerLoadingEvent(PlayerEntity player, PlayerData playerFileData, java.lang.String uuidString)
static void
ForgeEventFactory. firePlayerSavingEvent(PlayerEntity player, java.io.File playerDirectory, java.lang.String uuidString)
static boolean
ForgeEventFactory. fireSleepingTimeCheck(PlayerEntity player, java.util.Optional<BlockPos> sleepingLocation)
static float
ForgeEventFactory. getBreakSpeed(PlayerEntity player, BlockState state, float original, BlockPos pos)
static int
ForgeEventFactory. getExperienceDrop(LivingEntity entity, PlayerEntity attackingPlayer, int originalExperience)
static ITextComponent
ForgeEventFactory. getPlayerDisplayName(PlayerEntity player, ITextComponent username)
static ITextComponent
ForgeEventFactory. getPlayerTabListDisplayName(PlayerEntity player)
static boolean
ForgeEventFactory. onAnimalTame(AnimalEntity animal, PlayerEntity tamer)
static int
ForgeEventFactory. onApplyBonemeal(PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)
static int
ForgeEventFactory. onArrowLoose(ItemStack stack, World world, PlayerEntity player, int charge, boolean hasAmmo)
static ActionResult<ItemStack>
ForgeEventFactory. onArrowNock(ItemStack item, World world, PlayerEntity player, Hand hand, boolean hasAmmo)
static ActionResult<ItemStack>
ForgeEventFactory. onBucketUse(PlayerEntity player, World world, ItemStack stack, RayTraceResult target)
static int
ForgeEventFactory. onItemPickup(ItemEntity entityItem, PlayerEntity player)
static ItemTooltipEvent
ForgeEventFactory. onItemTooltip(ItemStack itemStack, PlayerEntity entityPlayer, java.util.List<ITextComponent> list, ITooltipFlag flags)
static void
ForgeEventFactory. onPlayerBrewedPotion(PlayerEntity player, ItemStack stack)
static void
ForgeEventFactory. onPlayerClone(PlayerEntity player, PlayerEntity oldPlayer, boolean wasDeath)
static void
ForgeEventFactory. onPlayerDestroyItem(PlayerEntity player, ItemStack stack, Hand hand)
static void
ForgeEventFactory. onPlayerFall(PlayerEntity player, float distance, float multiplier)
static PlayerEntity.SleepResult
ForgeEventFactory. onPlayerSleepInBed(PlayerEntity player, java.util.Optional<BlockPos> pos)
static boolean
ForgeEventFactory. onPlayerSpawnSet(PlayerEntity player, RegistryKey<World> world, BlockPos pos, boolean forced)
static void
ForgeEventFactory. onPlayerWakeup(PlayerEntity player, boolean wakeImmediately, boolean updateWorldFlag)
static void
ForgeEventFactory. onStartEntityTracking(Entity entity, PlayerEntity player)
static void
ForgeEventFactory. onStopEntityTracking(Entity entity, PlayerEntity player)
static BlockState
ForgeEventFactory. onToolUse(BlockState originalState, World world, BlockPos pos, PlayerEntity player, ItemStack stack, ToolType toolType)
static boolean
ForgeEventFactory. renderBlockOverlay(PlayerEntity player, MatrixStack mat, RenderBlockOverlayEvent.OverlayType type, BlockState block, BlockPos pos)
static boolean
ForgeEventFactory. renderFireOverlay(PlayerEntity player, MatrixStack mat)
static boolean
ForgeEventFactory. renderWaterOverlay(PlayerEntity player, MatrixStack mat)
Constructors in net.minecraftforge.event with parameters of type PlayerEntity Constructor Description AnvilUpdateEvent(ItemStack left, ItemStack right, java.lang.String name, int cost, PlayerEntity player)
PlayerTickEvent(TickEvent.Phase phase, PlayerEntity player)
-
Uses of PlayerEntity in net.minecraftforge.event.brewing
Constructors in net.minecraftforge.event.brewing with parameters of type PlayerEntity Constructor Description PlayerBrewedPotionEvent(PlayerEntity player, ItemStack stack)
-
Uses of PlayerEntity in net.minecraftforge.event.entity.item
Fields in net.minecraftforge.event.entity.item declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
ItemTossEvent. player
Methods in net.minecraftforge.event.entity.item that return PlayerEntity Modifier and Type Method Description PlayerEntity
ItemTossEvent. getPlayer()
The player tossing the item.Constructors in net.minecraftforge.event.entity.item with parameters of type PlayerEntity Constructor Description ItemTossEvent(ItemEntity entityItem, PlayerEntity player)
Creates a new event for EntityItems tossed by a player. -
Uses of PlayerEntity in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
LivingExperienceDropEvent. attackingPlayer
private PlayerEntity
BabyEntitySpawnEvent. causedByPlayer
private PlayerEntity
AnimalTameEvent. tamer
Methods in net.minecraftforge.event.entity.living that return PlayerEntity Modifier and Type Method Description PlayerEntity
LivingExperienceDropEvent. getAttackingPlayer()
PlayerEntity
BabyEntitySpawnEvent. getCausedByPlayer()
PlayerEntity
AnimalTameEvent. getTamer()
Constructors in net.minecraftforge.event.entity.living with parameters of type PlayerEntity Constructor Description AnimalTameEvent(AnimalEntity animal, PlayerEntity tamer)
LivingExperienceDropEvent(LivingEntity entity, PlayerEntity attackingPlayer, int originalExperience)
-
Uses of PlayerEntity in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
PlayerEvent. entityPlayer
private PlayerEntity
PlayerEvent.Clone. original
Methods in net.minecraftforge.event.entity.player that return PlayerEntity Modifier and Type Method Description PlayerEntity
PlayerEvent.Clone. getOriginal()
The old EntityPlayer that this new entity is a clone of.PlayerEntity
ItemTooltipEvent. getPlayer()
This event is fired with a null player during startup when populating search trees for tooltips.PlayerEntity
PlayerEvent. getPlayer()
-
Uses of PlayerEntity in net.minecraftforge.event.village
Fields in net.minecraftforge.event.village declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
VillageSiegeEvent. player
Methods in net.minecraftforge.event.village that return PlayerEntity Modifier and Type Method Description PlayerEntity
VillageSiegeEvent. getPlayer()
Constructors in net.minecraftforge.event.village with parameters of type PlayerEntity Constructor Description VillageSiegeEvent(VillageSiege siege, World world, PlayerEntity player, Vector3d attemptedSpawnPos)
-
Uses of PlayerEntity in net.minecraftforge.event.world
Fields in net.minecraftforge.event.world declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
BlockEvent.BlockToolInteractEvent. player
private PlayerEntity
BlockEvent.BreakEvent. player
Reference to the Player who broke the block.Methods in net.minecraftforge.event.world that return PlayerEntity Modifier and Type Method Description PlayerEntity
BlockEvent.BlockToolInteractEvent. getPlayer()
Gets the player using the tool.PlayerEntity
BlockEvent.BreakEvent. getPlayer()
Constructors in net.minecraftforge.event.world with parameters of type PlayerEntity Constructor Description BlockToolInteractEvent(IWorld world, BlockPos pos, BlockState originalState, PlayerEntity player, ItemStack stack, ToolType toolType)
BreakEvent(World world, BlockPos pos, BlockState state, PlayerEntity player)
-
Uses of PlayerEntity in net.minecraftforge.fluids
Methods in net.minecraftforge.fluids with parameters of type PlayerEntity Modifier and Type Method Description static boolean
FluidUtil. interactWithFluidHandler(PlayerEntity player, Hand hand, World world, BlockPos pos, Direction side)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler block.static boolean
FluidUtil. interactWithFluidHandler(PlayerEntity player, Hand hand, IFluidHandler handler)
Used to handle the common case of a player holding a fluid item and right-clicking on a fluid handler.static FluidActionResult
FluidUtil. tryEmptyContainer(ItemStack container, IFluidHandler fluidDestination, int maxAmount, PlayerEntity 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, PlayerEntity 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, PlayerEntity player, boolean doFill)
Fill a container from the given fluidSource.static FluidActionResult
FluidUtil. tryFillContainerAndStow(ItemStack container, IFluidHandler fluidSource, IItemHandler inventory, int maxAmount, PlayerEntity player, boolean doFill)
Takes an Fluid Container Item and tries to fill it from the given tank.static FluidActionResult
FluidUtil. tryPickUpFluid(ItemStack emptyContainer, PlayerEntity playerIn, World worldIn, BlockPos pos, Direction side)
Attempts to pick up a fluid in the world and put it in an empty container item.static FluidActionResult
FluidUtil. tryPlaceFluid(PlayerEntity player, World world, Hand hand, BlockPos pos, ItemStack container, FluidStack resource)
ItemStack version ofFluidUtil.tryPlaceFluid(PlayerEntity, World, Hand, BlockPos, IFluidHandler, FluidStack)
.static boolean
FluidUtil. tryPlaceFluid(PlayerEntity player, World world, Hand hand, BlockPos pos, IFluidHandler fluidSource, FluidStack resource)
Tries to place a fluid resource into the world as a block and drains the fluidSource.void
FluidAttributes. vaporize(PlayerEntity player, World worldIn, BlockPos pos, FluidStack fluidStack)
Called instead of placing the fluid block ifnet.minecraft.world.dimension.Dimension#doesWaterVaporize()
and#doesVaporize(FluidStack)
are true. -
Uses of PlayerEntity in net.minecraftforge.fml.hooks
Methods in net.minecraftforge.fml.hooks with parameters of type PlayerEntity Modifier and Type Method Description static void
BasicEventHooks. firePlayerChangedDimensionEvent(PlayerEntity player, RegistryKey<World> fromDim, RegistryKey<World> toDim)
static void
BasicEventHooks. firePlayerCraftingEvent(PlayerEntity player, ItemStack crafted, IInventory craftMatrix)
static void
BasicEventHooks. firePlayerItemPickupEvent(PlayerEntity player, ItemEntity item, ItemStack clone)
static void
BasicEventHooks. firePlayerLoggedIn(PlayerEntity player)
static void
BasicEventHooks. firePlayerLoggedOut(PlayerEntity player)
static void
BasicEventHooks. firePlayerRespawnEvent(PlayerEntity player, boolean endConquered)
static void
BasicEventHooks. firePlayerSmeltedEvent(PlayerEntity player, ItemStack smelted)
static void
BasicEventHooks. onPlayerPostTick(PlayerEntity player)
static void
BasicEventHooks. onPlayerPreTick(PlayerEntity player)
-
Uses of PlayerEntity in net.minecraftforge.items
Methods in net.minecraftforge.items with parameters of type PlayerEntity Modifier and Type Method Description static void
ItemHandlerHelper. giveItemToPlayer(PlayerEntity player, ItemStack stack)
giveItemToPlayer without preferred slotstatic void
ItemHandlerHelper. giveItemToPlayer(PlayerEntity player, ItemStack stack, int preferredSlot)
Inserts the given itemstack into the players inventory.boolean
SlotItemHandler. mayPickup(PlayerEntity playerIn)
-
Uses of PlayerEntity in net.minecraftforge.items.wrapper
Methods in net.minecraftforge.items.wrapper with parameters of type PlayerEntity Modifier and Type Method Description void
RecipeWrapper. startOpen(PlayerEntity player)
boolean
RecipeWrapper. stillValid(PlayerEntity player)
void
RecipeWrapper. stopOpen(PlayerEntity player)
-
Uses of PlayerEntity in net.minecraftforge.server.permission
Methods in net.minecraftforge.server.permission with parameters of type PlayerEntity Modifier and Type Method Description static boolean
PermissionAPI. hasPermission(PlayerEntity player, java.lang.String node)
Shortcut method using EntityPlayer and creating PlayerContext -
Uses of PlayerEntity in net.minecraftforge.server.permission.context
Fields in net.minecraftforge.server.permission.context declared as PlayerEntity Modifier and Type Field Description private PlayerEntity
PlayerContext. player
Methods in net.minecraftforge.server.permission.context that return PlayerEntity Modifier and Type Method Description PlayerEntity
Context. getPlayer()
PlayerEntity
IContext. getPlayer()
PlayerEntity
PlayerContext. getPlayer()
PlayerEntity
WorldContext. getPlayer()
Constructors in net.minecraftforge.server.permission.context with parameters of type PlayerEntity Constructor Description AreaContext(PlayerEntity ep, AxisAlignedBB aabb)
BlockPosContext(PlayerEntity ep, BlockPos pos, BlockState state, Direction f)
BlockPosContext(PlayerEntity ep, ChunkPos pos)
PlayerContext(PlayerEntity ep)
TargetContext(PlayerEntity ep, Entity entity)
-