public class FakePlayer extends ServerPlayerEntity
PlayerEntity.SleepResultEntity.IMoveCallbackconnection, currentWindowId, interactionManager, isChangingQuantityOnly, ping, queuedEndExit, serverabilities, cameraYaw, chasingPosX, chasingPosY, chasingPosZ, container, enterChestInventory, experience, experienceLevel, experienceTotal, eyesInWaterPlayer, fishingBobber, flyToggleTimer, foodStats, inventory, LEFT_SHOULDER_ENTITY, MAIN_HAND, openContainer, PERSISTED_NBT_TAG, PLAYER_MODEL_FLAG, prevCameraYaw, prevChasingPosX, prevChasingPosY, prevChasingPosZ, REACH_DISTANCE, RIGHT_SHOULDER_ENTITY, spawnForced, spawnForcedMap, spawnPos, spawnPosMap, speedInAir, STANDING_SIZE, xpCooldown, xpSeedactiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, beeStingRemovalCooldown, brain, dead, deathTime, ENTITY_GRAVITY, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, NAMETAG_DISTANCE, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, SWIM_SPEED, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inLava, inPortal, inWater, isAirBorne, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, worldDUMMY| コンストラクタと説明 | 
|---|
| FakePlayer(ServerWorld world,
          com.mojang.authlib.GameProfile name) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | addStat(Stat par1StatBase,
       int par2)Adds a value to a statistic field. | 
| boolean | canAttackPlayer(PlayerEntity player) | 
| Vec3d | getPositionVector()Get the position vector. | 
| MinecraftServer | getServer()Get the Minecraft server instance | 
| void | handleClientSettings(CClientSettingsPacket pkt) | 
| boolean | isInvulnerableTo(DamageSource source)Returns whether this Entity is invulnerable to the given DamageSource. | 
| void | onDeath(DamageSource source)Called when the mob's health reaches 0. | 
| void | sendMessage(ITextComponent component)Send a chat message to the CommandSender | 
| void | sendStatusMessage(ITextComponent chatComponent,
                 boolean actionBar) | 
| void | tick()Called to update the entity's position/logic. | 
addEntity, addExperienceLevel, addSelfToInternalCraftingInventory, attackEntityFrom, attackTargetEntityWithCurrentItem, awardKillScore, changeDimension, clearInvulnerableDimensionChange, closeContainer, closeScreen, copyFrom, createCooldownTracker, createSpawnPacket, decrementTimeUntilPortal, disconnect, dropItem, frostWalk, func_195394_a, func_225652_a_, getAdvancements, getChatVisibility, getLastActiveTime, getManagedSectionPos, getNextWindowId, getPermissionLevel, getPlayerIP, getRecipeBook, getServerWorld, getSpectatingEntity, getStats, getTabListDisplayName, giveExperiencePoints, handleFalling, hasDisconnected, isCreative, isInvulnerableDimensionChange, isSpectatedByPlayer, isSpectator, loadResourcePack, lookAt, lookAt, markPlayerActive, moveForced, onChangedPotionEffect, onCriticalHit, onEnchant, onEnchantmentCritical, onFinishedPotionEffect, onInsideBlock, onItemPickup, onItemUseFinish, onNewPotionEffect, openBook, openCommandBlock, openContainer, openHorseInventory, openMerchantContainer, openSignEditor, playerTick, playSound, readAdditional, removeEntity, resetRecipes, sendAllContents, sendChunkLoad, sendChunkUnload, sendContainerToPlayer, sendEndCombat, sendEnterCombat, sendMessage, sendPlayerAbilities, sendSlotContents, sendWindowProperty, setEntityActionState, setExperienceLevel, setGameType, setManagedSectionPos, setPlayerHealthUpdated, setPositionAndUpdate, setSpectatingEntity, startRiding, stopRiding, swingArm, takeStat, teleport, trySleep, unlockRecipes, unlockRecipes, updateFallState, updateHeldItem, updatePotionMetadata, writeAdditionaladdExhaustion, addItemStackToInventory, addMovementStat, addScore, addShoulderEntity, addStat, addStat, addStat, blockUsingShield, canEat, canHarvestBlock, canPickUpItem, canPlayerEdit, canTriggerWalking, canUseCommandBlock, damageArmor, damageEntity, damageShield, destroyVanishingCursedItems, disableShield, doWaterSplashEffect, dropInventory, dropItem, findAmmo, func_213822_a, func_223729_a, func_225514_a_, func_225609_n_, func_226560_a_, func_226563_dT_, func_226564_dU_, func_226565_dV_, func_226566_ei_, func_226567_ej_, func_226568_ek_, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorInventoryList, getBedLocation, getBedLocation, getCapability, getCooldownPeriod, getCooldownTracker, getCooledAttackStrength, getDeathSound, getDigSpeed, getDigSpeed, getDisplayName, getDisplayNameAndUUID, getExperiencePoints, getFallSound, getFireImmuneTicks, getFoodStats, getGameProfile, getHeldEquipment, getHighspeedSplashSound, getHurtSound, getInventoryEnderChest, getItemStackFromSlot, getLeftShoulderEntity, getLuck, getMaxInPortalTime, getName, getOfflineUUID, getPortalCooldown, getPrefixes, getPrimaryHand, getRightShoulderEntity, getScore, getScoreboardName, getSize, getSleepTimer, getSoundCategory, getSpawnDimension, getSpeedFactor, getSplashSound, getStandingEyeHeight, getSuffixes, getSwimSound, getUUID, getWorldScoreboard, getXPSeed, getYOffset, handleStatusUpdate, hasReducedDebug, interactOn, isAllowEdit, isMovementBlocked, isNormalCube, isPlayer, isPlayerFullyAsleep, isPushedByWater, isSpawnForced, isSpawnForced, isSwimming, isUser, isWearing, jump, livingTick, onFoodEaten, onKillEntity, onLivingFall, openJigsaw, openMinecartCommandBlock, openStructureBlock, playSound, preparePlayerToSpawn, registerAttributes, registerData, remove, replaceItemInInventory, resetCooldown, respawnPlayer, setAbsorptionAmount, setItemStackToSlot, setLeftShoulderEntity, setMotionMultiplier, setPrimaryHand, setReducedDebug, setRightShoulderEntity, setScore, setSpawnDimenion, setSpawnPoint, shouldHeal, spawnShoulderEntities, spawnSweepParticles, spinAttack, startSleeping, travel, updateEntityActionState, updateEyesInWaterPlayer, updatePose, updateRidden, updateSwimming, wakeUp, xpBarCapaddPotionEffect, applyArmorCalculations, applyEntityCollision, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attackEntityAsMob, attemptTeleport, baseTick, canAttack, canAttack, canAttack, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, clearBedPosition, collideWithEntity, collideWithNearbyEntities, constructKnockBackVector, createBrain, curePotionEffects, decreaseAirSupply, determineNextAir, dropLoot, dropSpecialItems, func_213343_cS, func_225508_e_, func_226292_a_, func_226293_b_, func_226294_cV_, func_226296_dJ_, func_226298_f_, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributes, getBedDirection, getBedPosition, getBeeStingCount, getBlockState, getBrain, getCombatTracker, getCreatureAttribute, getDrinkSound, getEatSound, getEyeHeight, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getLootContextBuilder, getLootTableResourceLocation, getMaxHealth, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidJump, handleFluidSneak, hasItemInSlot, heal, isActiveItemStackBlocking, isActualySwimming, isAlive, isChild, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isOnLadder, isPotionActive, isPotionApplicable, isServerWorld, isSleeping, isSpinAttacking, knockBack, markPotionsDirty, markVelocityChanged, notifyDataManagerChange, onDeathUpdate, onKillCommand, outOfWorld, performHurtAnimation, playEquipSound, playFallSound, playHurtSound, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setBedPosition, setBeeStingCount, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, spawnDrops, startSpinAttack, stopActiveHand, updateArmSwingProgress, updateDistance, updatePotionEffects, updateSpinAttackaddPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, areEyesInFluid, calculateUpVector, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceSetPosition, func_225513_by_, func_226265_a_, func_226266_a_, func_226276_cg_, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireTimer, getFlag, getForward, getHeight, getHorizontalFacing, getHoverEvent, getJumpFactor, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMirroredYaw, getMotion, getMountedYOffset, getOnPosition, getPassengers, getPersistentData, getPitch, getPitchYaw, getPose, getPosition, getPositionUnderneath, getPositionVec, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getSubmergedHeight, getTags, getTeam, getTeamColor, getTeleportDirection, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, handleFluidAcceleration, handlePistonMovement, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isRidingOrBeingRiddenBy, isRidingSameEntity, isShiftKeyDown, isSilent, isSprinting, isSteppingCarefully, isSuppressingBounce, isVisuallySwimming, isWet, makeFlySound, move, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onRemovedFromWorld, onStruckByLightning, pick, playFlySound, playStepSound, playSwimSound, processInitialInteract, pushOutOfBlocks, read, recalculateSize, recenterBoundingBox, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFireTimer, setFlag, setGlowing, setInLava, setInvisible, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionNonDirty, setRawPosition, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, teleportKeepLoaded, toString, updatePassenger, updatePortal, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapscanBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSitgetCapabilitypublic FakePlayer(ServerWorld world, com.mojang.authlib.GameProfile name)
public Vec3d getPositionVector()
Entitynull is not allowed! If you are not an entity in the world, return 0.0D,
 0.0D, 0.0DgetPositionVector クラス内 Entitypublic void sendStatusMessage(ITextComponent chatComponent, boolean actionBar)
sendStatusMessage クラス内 ServerPlayerEntitypublic void sendMessage(ITextComponent component)
ServerPlayerEntitysendMessage インタフェース内 ICommandSourcesendMessage クラス内 ServerPlayerEntitypublic void addStat(Stat par1StatBase, int par2)
ServerPlayerEntityaddStat クラス内 ServerPlayerEntitypublic boolean isInvulnerableTo(DamageSource source)
ServerPlayerEntityisInvulnerableTo クラス内 ServerPlayerEntitypublic boolean canAttackPlayer(PlayerEntity player)
canAttackPlayer クラス内 ServerPlayerEntitypublic void onDeath(DamageSource source)
ServerPlayerEntityonDeath クラス内 ServerPlayerEntitypublic void tick()
ServerPlayerEntitytick クラス内 ServerPlayerEntitypublic void handleClientSettings(CClientSettingsPacket pkt)
handleClientSettings クラス内 ServerPlayerEntity@Nullable public MinecraftServer getServer()
Entity