Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
PlayerAdvancements.player |
Modifier and Type | Method and Description |
---|---|
void |
AdvancementRewards.apply(ServerPlayerEntity player) |
void |
PlayerAdvancements.flushDirty(ServerPlayerEntity p_192741_1_) |
void |
PlayerAdvancements.setPlayer(ServerPlayerEntity player) |
Constructor and Description |
---|
PlayerAdvancements(MinecraftServer server,
java.io.File progressFileIn,
ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
void |
ShotCrossbowTrigger.func_215111_a(ServerPlayerEntity shooter,
ItemStack stack) |
void |
VillagerTradeTrigger.func_215114_a(ServerPlayerEntity p_215114_1_,
AbstractVillagerEntity p_215114_2_,
ItemStack p_215114_3_) |
boolean |
VillagerTradeTrigger.Instance.func_215125_a(ServerPlayerEntity p_215125_1_,
AbstractVillagerEntity p_215125_2_,
ItemStack p_215125_3_) |
void |
SlideDownBlockTrigger.func_227152_a_(ServerPlayerEntity p_227152_1_,
BlockState p_227152_2_) |
boolean |
EffectsChangedTrigger.Instance.test(ServerPlayerEntity player) |
boolean |
TameAnimalTrigger.Instance.test(ServerPlayerEntity player,
AnimalEntity entity) |
boolean |
BredAnimalsTrigger.Instance.test(ServerPlayerEntity player,
AnimalEntity parent1In,
AnimalEntity parent2In,
AgeableEntity childIn) |
void |
BeeNestDestroyedTrigger.test(ServerPlayerEntity p_226223_1_,
Block p_226223_2_,
ItemStack p_226223_3_,
int p_226223_4_) |
void |
RightClickBlockWithItemTrigger.test(ServerPlayerEntity p_226695_1_,
BlockPos p_226695_2_,
ItemStack p_226695_3_) |
boolean |
ChanneledLightningTrigger.Instance.test(ServerPlayerEntity player,
java.util.Collection<? extends Entity> p_204823_2_) |
boolean |
KilledByCrossbowTrigger.Instance.test(ServerPlayerEntity p_215115_1_,
java.util.Collection<Entity> p_215115_2_,
int p_215115_3_) |
boolean |
DamageSourcePredicate.test(ServerPlayerEntity player,
DamageSource source) |
boolean |
DamagePredicate.test(ServerPlayerEntity player,
DamageSource source,
float dealt,
float taken,
boolean blocked) |
boolean |
EntityHurtPlayerTrigger.Instance.test(ServerPlayerEntity player,
DamageSource source,
float amountDealt,
float amountTaken,
boolean wasBlocked) |
boolean |
SummonedEntityTrigger.Instance.test(ServerPlayerEntity player,
Entity entity) |
boolean |
EntityPredicate.test(ServerPlayerEntity player,
Entity entity) |
boolean |
KilledTrigger.Instance.test(ServerPlayerEntity player,
Entity entity,
DamageSource source) |
boolean |
PlayerHurtEntityTrigger.Instance.test(ServerPlayerEntity player,
Entity entity,
DamageSource source,
float dealt,
float taken,
boolean blocked) |
boolean |
FishingRodHookedTrigger.Instance.test(ServerPlayerEntity p_204830_1_,
ItemStack p_204830_2_,
FishingBobberEntity p_204830_3_,
java.util.Collection<ItemStack> p_204830_4_) |
boolean |
LevitationTrigger.Instance.test(ServerPlayerEntity player,
Vec3d startPos,
int durationIn) |
boolean |
CuredZombieVillagerTrigger.Instance.test(ServerPlayerEntity player,
ZombieEntity zombie,
VillagerEntity villager) |
void |
EffectsChangedTrigger.trigger(ServerPlayerEntity player) |
void |
PositionTrigger.trigger(ServerPlayerEntity player) |
void |
TickTrigger.trigger(ServerPlayerEntity player) |
void |
TameAnimalTrigger.trigger(ServerPlayerEntity player,
AnimalEntity entity) |
void |
BredAnimalsTrigger.trigger(ServerPlayerEntity player,
AnimalEntity parent1,
AnimalEntity parent2,
AgeableEntity child) |
void |
ConstructBeaconTrigger.trigger(ServerPlayerEntity player,
BeaconTileEntity beacon) |
void |
UsedEnderEyeTrigger.trigger(ServerPlayerEntity player,
BlockPos pos) |
void |
PlacedBlockTrigger.trigger(ServerPlayerEntity player,
BlockPos pos,
ItemStack item) |
void |
EnterBlockTrigger.trigger(ServerPlayerEntity player,
BlockState state) |
void |
ChanneledLightningTrigger.trigger(ServerPlayerEntity player,
java.util.Collection<? extends Entity> entityTriggered) |
void |
KilledByCrossbowTrigger.trigger(ServerPlayerEntity p_215105_1_,
java.util.Collection<Entity> p_215105_2_,
int p_215105_3_) |
void |
EntityHurtPlayerTrigger.trigger(ServerPlayerEntity player,
DamageSource source,
float amountDealt,
float amountTaken,
boolean wasBlocked) |
void |
ChangeDimensionTrigger.trigger(ServerPlayerEntity player,
DimensionType from,
DimensionType to) |
void |
SummonedEntityTrigger.trigger(ServerPlayerEntity player,
Entity entity) |
void |
KilledTrigger.trigger(ServerPlayerEntity player,
Entity entity,
DamageSource source) |
void |
PlayerHurtEntityTrigger.trigger(ServerPlayerEntity player,
Entity entityIn,
DamageSource source,
float amountDealt,
float amountTaken,
boolean blocked) |
void |
RecipeUnlockedTrigger.trigger(ServerPlayerEntity player,
IRecipe<?> recipe) |
void |
UsedTotemTrigger.trigger(ServerPlayerEntity player,
ItemStack item) |
void |
ConsumeItemTrigger.trigger(ServerPlayerEntity player,
ItemStack item) |
void |
FilledBucketTrigger.trigger(ServerPlayerEntity p_204817_1_,
ItemStack p_204817_2_) |
void |
FishingRodHookedTrigger.trigger(ServerPlayerEntity p_204820_1_,
ItemStack p_204820_2_,
FishingBobberEntity p_204820_3_,
java.util.Collection<ItemStack> p_204820_4_) |
void |
EnchantedItemTrigger.trigger(ServerPlayerEntity player,
ItemStack item,
int levelsSpent) |
void |
ItemDurabilityTrigger.trigger(ServerPlayerEntity player,
ItemStack itemIn,
int newDurability) |
void |
InventoryChangeTrigger.trigger(ServerPlayerEntity player,
PlayerInventory inventory) |
void |
BrewedPotionTrigger.trigger(ServerPlayerEntity player,
Potion potionIn) |
void |
NetherTravelTrigger.trigger(ServerPlayerEntity player,
Vec3d enteredNetherPosition) |
void |
LevitationTrigger.trigger(ServerPlayerEntity player,
Vec3d startPos,
int duration) |
void |
CuredZombieVillagerTrigger.trigger(ServerPlayerEntity player,
ZombieEntity zombie,
VillagerEntity villager) |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
CommandSource.asPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
Commands.send(ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
static ServerPlayerEntity |
EntityArgument.getPlayer(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
ServerPlayerEntity |
EntitySelector.selectOnePlayer(CommandSource source) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<ServerPlayerEntity> |
EntityArgument.getPlayers(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
static java.util.Collection<ServerPlayerEntity> |
EntityArgument.getPlayersAllowingNone(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
java.util.List<ServerPlayerEntity> |
EntitySelector.selectPlayers(CommandSource source) |
Modifier and Type | Field and Description |
---|---|
java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer> |
ExperienceCommand.Type.xpAdder |
private java.util.function.ToIntFunction<ServerPlayerEntity> |
ExperienceCommand.Type.xpGetter |
java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer> |
ExperienceCommand.Type.xpSetter |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
AdvancementCommand.Action.applyToAdvancement(ServerPlayerEntity player,
Advancement advancementIn) |
int |
AdvancementCommand.Action.applyToAdvancements(ServerPlayerEntity player,
java.lang.Iterable<Advancement> advancements) |
protected abstract boolean |
AdvancementCommand.Action.applyToCriterion(ServerPlayerEntity player,
Advancement advancementIn,
java.lang.String criterionName) |
private static Score |
TriggerCommand.checkValidTrigger(ServerPlayerEntity player,
ScoreObjective objective) |
private static int |
SpectateCommand.func_229829_a_(CommandSource p_229829_0_,
Entity p_229829_1_,
ServerPlayerEntity p_229829_2_) |
private static int |
ExperienceCommand.queryExperience(CommandSource source,
ServerPlayerEntity player,
ExperienceCommand.Type type) |
private static void |
GameModeCommand.sendGameModeFeedback(CommandSource source,
ServerPlayerEntity player,
GameType gameTypeIn) |
Modifier and Type | Method and Description |
---|---|
private static int |
ExperienceCommand.addExperience(CommandSource source,
java.util.Collection<? extends ServerPlayerEntity> targets,
int amount,
ExperienceCommand.Type type) |
private static int |
TitleCommand.clear(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets) |
private static int |
ClearCommand.clearInventory(CommandSource source,
java.util.Collection<ServerPlayerEntity> targetPlayers,
java.util.function.Predicate<ItemStack> itemPredicateIn,
int maxCount) |
private static int |
AdvancementCommand.forEachAdvancement(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
AdvancementCommand.Action action,
java.util.Collection<Advancement> advancements) |
private static int |
LootCommand.func_218859_a(java.util.Collection<ServerPlayerEntity> p_218859_0_,
java.util.List<ItemStack> p_218859_1_,
LootCommand.ISuccessListener p_218859_2_) |
private static int |
GiveCommand.giveItem(CommandSource source,
ItemInput itemIn,
java.util.Collection<ServerPlayerEntity> targets,
int count) |
private static int |
RecipeCommand.giveRecipes(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
java.util.Collection<IRecipe<?>> recipes) |
private static int |
KickCommand.kickPlayers(CommandSource source,
java.util.Collection<ServerPlayerEntity> players,
ITextComponent reason) |
private static int |
ListCommand.listPlayers(CommandSource source,
java.util.function.Function<ServerPlayerEntity,ITextComponent> nameExtractor) |
private static int |
PlaySoundCommand.playSound(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
ResourceLocation soundIn,
SoundCategory category,
Vec3d pos,
float volume,
float pitch,
float minVolume) |
private static int |
TitleCommand.reset(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets) |
private static int |
MessageCommand.sendPrivateMessage(CommandSource source,
java.util.Collection<ServerPlayerEntity> recipients,
ITextComponent message) |
private static int |
ExperienceCommand.setExperience(CommandSource source,
java.util.Collection<? extends ServerPlayerEntity> targets,
int amount,
ExperienceCommand.Type type) |
private static int |
GameModeCommand.setGameMode(com.mojang.brigadier.context.CommandContext<CommandSource> source,
java.util.Collection<ServerPlayerEntity> players,
GameType gameTypeIn) |
private static int |
BossBarCommand.setPlayers(CommandSource source,
CustomServerBossInfo bossbar,
java.util.Collection<ServerPlayerEntity> players) |
private static int |
SpawnPointCommand.setSpawnPoint(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
BlockPos pos) |
private static int |
TitleCommand.setTimes(CommandSource source,
java.util.Collection<ServerPlayerEntity> target,
int fadeIn,
int stay,
int fadeOut) |
private static int |
TitleCommand.show(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
ITextComponent message,
STitlePacket.Type type) |
private static int |
ParticleCommand.spawnParticle(CommandSource source,
IParticleData particleData,
Vec3d pos,
Vec3d delta,
float speed,
int count,
boolean force,
java.util.Collection<ServerPlayerEntity> viewers) |
private static int |
StopSoundCommand.stopSound(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
SoundCategory category,
ResourceLocation soundIn) |
private static int |
RecipeCommand.takeRecipes(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
java.util.Collection<IRecipe<?>> recipes) |
private static int |
AdvancementCommand.updateCriterion(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
AdvancementCommand.Action action,
Advancement advancementIn,
java.lang.String criterionName) |
Constructor and Description |
---|
Type(java.lang.String nameIn,
java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer> xpAdderIn,
java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer> xpSetterIn,
java.util.function.ToIntFunction<ServerPlayerEntity> xpGetterIn) |
Type(java.lang.String nameIn,
java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer> xpAdderIn,
java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer> xpSetterIn,
java.util.function.ToIntFunction<ServerPlayerEntity> xpGetterIn) |
Type(java.lang.String nameIn,
java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer> xpAdderIn,
java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer> xpSetterIn,
java.util.function.ToIntFunction<ServerPlayerEntity> xpGetterIn) |
Modifier and Type | Method and Description |
---|---|
void |
Entity.addTrackingPlayer(ServerPlayerEntity player) |
boolean |
Entity.isSpectatedByPlayer(ServerPlayerEntity player) |
void |
Entity.removeTrackingPlayer(ServerPlayerEntity player) |
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
LandOnOwnersShoulderGoal.owner |
Modifier and Type | Method and Description |
---|---|
void |
WitherEntity.addTrackingPlayer(ServerPlayerEntity player) |
void |
WitherEntity.removeTrackingPlayer(ServerPlayerEntity player) |
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
LightningBoltEntity.caster |
Modifier and Type | Method and Description |
---|---|
void |
LightningBoltEntity.setCaster(ServerPlayerEntity casterIn) |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
AnimalEntity.getLoveCause() |
Modifier and Type | Method and Description |
---|---|
boolean |
ShoulderRidingEntity.func_213439_d(ServerPlayerEntity p_213439_1_) |
Modifier and Type | Method and Description |
---|---|
void |
ServerPlayerEntity.copyFrom(ServerPlayerEntity that,
boolean keepEverything) |
boolean |
ServerPlayerEntity.isSpectatedByPlayer(ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IRecipeHolder.canUseRecipe(World worldIn,
ServerPlayerEntity player,
IRecipe<?> recipe) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFurnaceContainer.func_217056_a(boolean p_217056_1_,
IRecipe<?> p_217056_2_,
ServerPlayerEntity p_217056_3_) |
void |
RecipeBookContainer.func_217056_a(boolean p_217056_1_,
IRecipe<?> p_217056_2_,
ServerPlayerEntity p_217056_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
ItemStack.attemptDamageItem(int amount,
java.util.Random rand,
ServerPlayerEntity damager) |
Modifier and Type | Method and Description |
---|---|
int |
ServerRecipeBook.add(java.util.Collection<IRecipe<?>> p_197926_1_,
ServerPlayerEntity p_197926_2_) |
void |
ServerRecipeBook.init(ServerPlayerEntity player) |
void |
ServerRecipePlacer.place(ServerPlayerEntity player,
IRecipe<C> recipe,
boolean placeAll) |
int |
ServerRecipeBook.remove(java.util.Collection<IRecipe<?>> p_197925_1_,
ServerPlayerEntity p_197925_2_) |
private void |
ServerRecipeBook.sendPacket(SRecipeBookPacket.State state,
ServerPlayerEntity player,
java.util.List<ResourceLocation> recipesIn) |
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
ServerLoginNetHandler.player |
Modifier and Type | Field and Description |
---|---|
ServerPlayerEntity |
ServerPlayNetHandler.player |
Constructor and Description |
---|
ServerPlayNetHandler(MinecraftServer server,
NetworkManager networkManagerIn,
ServerPlayerEntity playerIn) |
Constructor and Description |
---|
SPlayerListItemPacket(SPlayerListItemPacket.Action actionIn,
ServerPlayerEntity... playersIn) |
Constructor and Description |
---|
SPlayerListItemPacket(SPlayerListItemPacket.Action actionIn,
java.lang.Iterable<ServerPlayerEntity> playersIn) |
Modifier and Type | Method and Description |
---|---|
void |
CustomServerBossInfo.addPlayer(ServerPlayerEntity player) |
void |
CustomServerBossInfoManager.onPlayerLogin(ServerPlayerEntity player) |
void |
CustomServerBossInfo.onPlayerLogin(ServerPlayerEntity player) |
void |
CustomServerBossInfoManager.onPlayerLogout(ServerPlayerEntity player) |
void |
CustomServerBossInfo.onPlayerLogout(ServerPlayerEntity player) |
void |
CustomServerBossInfo.removePlayer(ServerPlayerEntity player) |
private void |
MinecraftServer.sendDifficultyToPlayer(ServerPlayerEntity playerIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
CustomServerBossInfo.setPlayers(java.util.Collection<ServerPlayerEntity> p_201368_1_) |
Modifier and Type | Method and Description |
---|---|
protected void |
IntegratedPlayerList.writePlayerData(ServerPlayerEntity playerIn) |
Modifier and Type | Field and Description |
---|---|
ServerPlayerEntity |
PlayerInteractionManager.player |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ServerPlayerEntity> |
PlayerList.players |
private java.util.List<ServerPlayerEntity> |
PlayerList.playersView |
private java.util.Map<java.util.UUID,ServerPlayerEntity> |
PlayerList.uuidToPlayerMap |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
PlayerList.createPlayerForUser(com.mojang.authlib.GameProfile profile) |
ServerPlayerEntity |
PlayerList.getPlayerByUsername(java.lang.String username) |
ServerPlayerEntity |
PlayerList.getPlayerByUUID(java.util.UUID playerUUID) |
ServerPlayerEntity |
PlayerList.recreatePlayerEntity(ServerPlayerEntity playerIn,
DimensionType dimension,
boolean conqueredEnd) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ServerPlayerEntity> |
PlayerList.getPlayers() |
java.util.List<ServerPlayerEntity> |
PlayerList.getPlayersMatchingAddress(java.lang.String address) |
Modifier and Type | Method and Description |
---|---|
void |
ServerStatisticsManager.sendStats(ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
CommandSource |
SignTileEntity.getCommandSource(ServerPlayerEntity playerIn) |
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
ServerCooldownTracker.player |
Constructor and Description |
---|
ServerCooldownTracker(ServerPlayerEntity playerIn) |
Modifier and Type | Method and Description |
---|---|
void |
TrackedEntity.track(ServerPlayerEntity player) |
void |
TrackedEntity.untrack(ServerPlayerEntity player) |
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.objects.Object2BooleanMap<ServerPlayerEntity> |
PlayerGenerationTracker.generatingPlayers |
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<ServerPlayerEntity> |
PlayerGenerationTracker.getGeneratingPlayers(long chunkPosIn) |
Modifier and Type | Method and Description |
---|---|
void |
PlayerGenerationTracker.addPlayer(long chunkPosIn,
ServerPlayerEntity player,
boolean canGenerateChunks) |
boolean |
PlayerGenerationTracker.cannotGenerateChunks(ServerPlayerEntity player) |
void |
PlayerGenerationTracker.disableGeneration(ServerPlayerEntity player) |
void |
PlayerGenerationTracker.enableGeneration(ServerPlayerEntity player) |
boolean |
PlayerGenerationTracker.func_225419_d(ServerPlayerEntity p_225419_1_) |
void |
PlayerGenerationTracker.removePlayer(long chunkPosIn,
ServerPlayerEntity player) |
void |
PlayerGenerationTracker.updatePlayerPosition(long oldChunkPos,
long newChunkPos,
ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
void |
DragonFightManager.addPlayer(ServerPlayerEntity player) |
void |
DragonFightManager.removePlayer(ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.Predicate<ServerPlayerEntity> |
Raid.getParticipantsPredicate() |
Modifier and Type | Method and Description |
---|---|
Raid |
RaidManager.badOmenTick(ServerPlayerEntity p_215170_1_) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<ServerPlayerEntity> |
ServerBossInfo.players |
private java.util.List<ServerPlayerEntity> |
ServerWorld.players |
private it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.ObjectSet<ServerPlayerEntity>> |
TicketManager.playersByChunkPos |
private java.util.Set<ServerPlayerEntity> |
ServerBossInfo.readOnlyPlayers |
private java.util.Set<ServerPlayerEntity> |
ChunkManager.EntityTracker.trackingPlayers |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
ServerWorld.getRandomPlayer() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ServerPlayerEntity> |
ServerBossInfo.getPlayers() |
java.util.List<ServerPlayerEntity> |
ServerWorld.getPlayers() |
java.util.List<ServerPlayerEntity> |
ServerWorld.getPlayers(java.util.function.Predicate<? super ServerPlayerEntity> predicateIn) |
java.util.stream.Stream<ServerPlayerEntity> |
ChunkManager.getTrackingPlayers(ChunkPos pos,
boolean boundaryOnly) |
java.util.stream.Stream<ServerPlayerEntity> |
ChunkHolder.IPlayerProvider.getTrackingPlayers(ChunkPos pos,
boolean boundaryOnly) |
Modifier and Type | Method and Description |
---|---|
void |
ServerWorld.addDuringCommandTeleport(ServerPlayerEntity playerIn) |
void |
ServerWorld.addDuringPortalTeleport(ServerPlayerEntity playerIn) |
void |
ServerWorld.addNewPlayer(ServerPlayerEntity player) |
void |
ServerBossInfo.addPlayer(ServerPlayerEntity player) |
private void |
ServerWorld.addPlayer(ServerPlayerEntity player) |
void |
ServerWorld.addRespawnedPlayer(ServerPlayerEntity player) |
private boolean |
ChunkManager.cannotGenerateChunks(ServerPlayerEntity player) |
private static int |
ChunkManager.func_219215_b(ChunkPos pos,
ServerPlayerEntity player,
boolean p_219215_2_) |
void |
ChunkManager.EntityTracker.func_219399_a(ServerPlayerEntity p_219399_1_) |
private SectionPos |
ChunkManager.func_223489_c(ServerPlayerEntity p_223489_1_) |
void |
TicketManager.removePlayer(SectionPos sectionPosIn,
ServerPlayerEntity player) |
void |
ServerBossInfo.removePlayer(ServerPlayerEntity player) |
void |
ServerWorld.removePlayer(ServerPlayerEntity player) |
void |
ServerWorld.removePlayer(ServerPlayerEntity player,
boolean keepData) |
private void |
ChunkManager.sendChunkData(ServerPlayerEntity player,
IPacket<?>[] packetCache,
Chunk chunkIn) |
private boolean |
ServerWorld.sendPacketWithinDistance(ServerPlayerEntity player,
boolean longDistance,
double posX,
double posY,
double posZ,
IPacket<?> packet) |
protected void |
ChunkManager.setChunkLoadedAtClient(ServerPlayerEntity player,
ChunkPos chunkPosIn,
IPacket<?>[] packetCache,
boolean wasLoaded,
boolean load) |
(package private) void |
ChunkManager.setPlayerTracking(ServerPlayerEntity player,
boolean track) |
<T extends IParticleData> |
ServerWorld.spawnParticle(ServerPlayerEntity player,
T type,
boolean longDistance,
double posX,
double posY,
double posZ,
int particleCount,
double xOffset,
double yOffset,
double zOffset,
double speed) |
void |
TicketManager.updatePlayerPosition(SectionPos sectionPosIn,
ServerPlayerEntity player) |
void |
ChunkManager.updatePlayerPosition(ServerPlayerEntity player) |
void |
ServerChunkProvider.updatePlayerPosition(ServerPlayerEntity player) |
void |
ChunkManager.EntityTracker.updateTrackingState(ServerPlayerEntity p_219400_1_) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ServerPlayerEntity> |
ServerWorld.getPlayers(java.util.function.Predicate<? super ServerPlayerEntity> predicateIn) |
void |
ChunkManager.EntityTracker.updateTrackingState(java.util.List<ServerPlayerEntity> p_219397_1_) |
Modifier and Type | Method and Description |
---|---|
CompoundNBT |
SaveHandler.getPlayerNBT(ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeHooks.onAdvancement(ServerPlayerEntity player,
Advancement advancement) |
static int |
ForgeHooks.onBlockBreakEvent(World world,
GameType gameType,
ServerPlayerEntity entityPlayer,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
default DimensionType |
IForgeDimension.getRespawnDimension(ServerPlayerEntity player)
Determines the dimension the player will be respawned in, typically this brings them back to the overworld.
|
Modifier and Type | Class and Description |
---|---|
class |
FakePlayer |
Constructor and Description |
---|
ChunkCoordComparator(ServerPlayerEntity entityplayer) |
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
ServerChatEvent.player |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
ServerChatEvent.getPlayer() |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeEventFactory.fireChunkWatch(boolean wasLoaded,
boolean load,
ServerPlayerEntity entity,
ChunkPos chunkpos,
ServerWorld world) |
static void |
ForgeEventFactory.fireChunkWatch(boolean watch,
ServerPlayerEntity entity,
ChunkPos chunkpos,
ServerWorld world) |
Constructor and Description |
---|
ServerChatEvent(ServerPlayerEntity player,
java.lang.String message,
ITextComponent component) |
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
ChunkWatchEvent.player |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
ChunkWatchEvent.getPlayer() |
Constructor and Description |
---|
ChunkWatchEvent(ServerPlayerEntity player,
ChunkPos pos,
ServerWorld world) |
UnWatch(ServerPlayerEntity player,
ChunkPos pos,
ServerWorld world) |
Watch(ServerPlayerEntity player,
ChunkPos pos,
ServerWorld world) |
Modifier and Type | Field and Description |
---|---|
private ServerPlayerEntity |
PacketDistributor.TargetPoint.excluded |
Modifier and Type | Field and Description |
---|---|
static PacketDistributor<ServerPlayerEntity> |
PacketDistributor.PLAYER
Send to the player specified in the Supplier
PacketDistributor.with(Supplier) Player |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
NetworkEvent.Context.getSender()
When available, gets the sender for packets that are sent from a client to the server.
|
Modifier and Type | Method and Description |
---|---|
static void |
NetworkHooks.openGui(ServerPlayerEntity player,
INamedContainerProvider containerSupplier)
Request to open a GUI on the client, from the server
Refer to
net.minecraftforge.fml.ExtensionPoint#GUIFACTORY for how to provide a function to consume
these GUI requests on the client. |
static void |
NetworkHooks.openGui(ServerPlayerEntity player,
INamedContainerProvider containerSupplier,
BlockPos pos)
Request to open a GUI on the client, from the server
Refer to
net.minecraftforge.fml.ExtensionPoint#GUIFACTORY for how to provide a function to consume
these GUI requests on the client. |
static void |
NetworkHooks.openGui(ServerPlayerEntity player,
INamedContainerProvider containerSupplier,
java.util.function.Consumer<PacketBuffer> extraDataWriter)
Request to open a GUI on the client, from the server
Refer to
net.minecraftforge.fml.ExtensionPoint#GUIFACTORY for how to provide a function to consume
these GUI requests on the client. |
static void |
NetworkHooks.sendDimensionDataPacket(NetworkManager manager,
ServerPlayerEntity player) |
static boolean |
NetworkHooks.tickNegotiation(ServerLoginNetHandler netHandlerLoginServer,
NetworkManager networkManager,
ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.Consumer<IPacket<?>> |
PacketDistributor.playerConsumer(java.util.function.Supplier<ServerPlayerEntity> entityPlayerMPSupplier) |
Constructor and Description |
---|
TargetPoint(ServerPlayerEntity excluded,
double x,
double y,
double z,
double r2,
DimensionType dim)
A target point with excluded entity
|