public class DeployerFakePlayer
extends net.minecraftforge.common.util.FakePlayer
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.authlib.GameProfile |
DEPLOYER_PROFILE |
connection, containerCounter, gameMode, ignoreSlotUpdateHack, latency, server, wonGameabilities, bob, containerMenu, DATA_PLAYER_MAIN_HAND, DATA_PLAYER_MODE_CUSTOMISATION, DATA_SHOULDER_LEFT, DATA_SHOULDER_RIGHT, defaultFlySpeed, enchantmentSeed, enderChestInventory, experienceLevel, experienceProgress, fishing, foodData, inventory, inventoryMenu, jumpTriggerTime, oBob, PERSISTED_NBT_TAG, STANDING_DIMENSIONS, takeXpDelay, totalExperience, wasUnderwater, xCloak, xCloakO, yCloak, yCloakO, zCloak, zCloakOanimationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, deathScore, deathTime, fallFlyTicks, flyingSpeed, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, lyHeadRot, noActionTime, oAttackAnim, oRun, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzablocksBuilding, boardingCooldown, DATA_POSE, DATA_SHARED_FLAGS_ID, entityData, fallDistance, firstTick, fluidHeight, fluidOnEyes, forcedLoading, glowing, hasImpulse, horizontalCollision, hurtMarked, inChunk, invulnerableTime, isInsidePortal, level, maxUpStep, moveDist, noCulling, noPhysics, onGround, portalEntrancePos, portalTime, pushthrough, random, removed, stringUUID, stuckSpeedMultiplier, tickCount, uuid, verticalCollision, walkDist, walkDistO, wasEyeInWater, wasTouchingWater, xChunk, xo, xOld, xRot, xRotO, yChunk, yo, yOld, yRot, yRotO, zChunk, zo, zOld| Constructor and Description |
|---|
DeployerFakePlayer(net.minecraft.world.server.ServerWorld world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEat(boolean ignoreHunger) |
static void |
deployerCollectsDropsFromKilledEntities(net.minecraftforge.event.entity.living.LivingDropsEvent event) |
static void |
deployerHasEyesOnHisFeet(net.minecraftforge.event.entity.EntityEvent.Size event) |
static void |
deployerKillsDoNotSpawnXP(net.minecraftforge.event.entity.living.LivingExperienceDropEvent event) |
net.minecraft.item.ItemStack |
eat(net.minecraft.world.World world,
net.minecraft.item.ItemStack stack) |
static void |
entitiesDontRetaliate(net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent event) |
float |
getCurrentItemAttackStrengthDelay() |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
float |
getEyeHeight(net.minecraft.entity.Pose poseIn) |
java.util.OptionalInt |
openMenu(net.minecraft.inventory.container.INamedContainerProvider container) |
protected void |
playEquipSound(net.minecraft.item.ItemStack p_184606_1_) |
net.minecraft.util.math.vector.Vector3d |
position() |
void |
remove(boolean keepData) |
awardStat, blockPosition, canHarmPlayer, die, displayClientMessage, getServer, isInvulnerableTo, sendMessage, tick, updateOptionsaddAdditionalSaveData, attack, awardKillScore, awardRecipes, awardRecipesByKey, broadcastCarriedItem, broadcastToPlayer, cancelRemoveEntity, changeDimension, checkFallDamage, closeContainer, completeUsingItem, createItemCooldowns, crit, disconnect, doCheckFallDamage, doCloseContainer, doTick, drop, findDimensionEntryPoint, getAddEntityPacket, getAdvancements, getCamera, getChatVisibility, getExitPortal, getIpAddress, getLanguage, getLastActionTime, getLastSectionPos, getLevel, getPermissionLevel, getRecipeBook, getRespawnAngle, getRespawnDimension, getRespawnPosition, getStats, getTabListDisplayName, getTextFilter, giveExperienceLevels, giveExperiencePoints, hasChangedDimension, hasDisconnected, hurt, initMenu, isChangingDimension, isCreative, isRespawnForced, isSpectator, lookAt, lookAt, magicCrit, moveTo, nextContainerCounter, onChangedBlock, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnchantmentPerformed, onEnterCombat, onInsideBlock, onLeaveCombat, onUpdateAbilities, openCommandBlock, openHorseInventory, openItemGui, openTextEdit, playNotifySound, processPortalCooldown, readAdditionalSaveData, refreshContainer, refreshContainer, refreshTabListName, resetLastActionTime, resetRecipes, resetSentInfo, resetStat, restoreFrom, sendMerchantOffers, sendMessage, sendRemoveEntity, sendTexturePack, setCamera, setContainerData, setExperienceLevels, setExperiencePoints, setGameMode, setLastSectionPos, setPlayerInput, setRespawnPosition, slotChanged, startRiding, startSleepInBed, startSleeping, stopRiding, stopSleepInBed, swing, take, teleportTo, teleportTo, trackChunk, untrackChunk, updateInvisibilityStatusactuallyHurt, addItem, aiStep, awardStat, awardStat, awardStat, blockActionRestricted, blockUsingShield, canTakeItem, canUseGameMasterBlocks, causeFallDamage, causeFoodExhaustion, checkMovementStatistics, createAttributes, createPlayerUUID, createPlayerUUID, defineSynchedData, destroyVanishingCursedItems, disableShield, doAutoAttackOnTouch, doWaterSplashEffect, drop, drop, dropEquipment, findRespawnPositionAndUseSpawnBlock, freeAt, getAbsorptionAmount, getArmorSlots, getAttackStrengthScale, getBlockSpeedFactor, getCapability, getCooldowns, getDeathSound, getDestroySpeed, getDigSpeed, getDimensionChangingDelay, getDimensions, getDismountPoses, getEnchantmentSeed, getEnderChestInventory, getExperienceReward, getFallDamageSound, getFireImmuneTicks, getFoodData, getForcedPose, getGameProfile, getHandSlots, getHurtSound, getItemBySlot, getLuck, getMainArm, getMyRidingOffset, getName, getPortalWaitTime, getPrefixes, getProjectile, getRopeHoldPosition, getScore, getScoreboard, getScoreboardName, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundSource, getSpeed, getStandingEyeHeight, getSuffixes, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getXpNeededForNextLevel, handleEntityEvent, hasCorrectToolForDrops, hurtArmor, hurtCurrentlyUsedShield, increaseScore, interactOn, isAffectedByFluids, isAlwaysExperienceDropper, isHurt, isImmobile, isLocalPlayer, isModelPartShown, isMovementNoisy, isPushedByFluid, isReducedDebugInfo, isSecondaryUseActive, isSleepingLongEnough, isStayingOnGroundSurface, isSwimming, jumpFromGround, killed, makeStuckInBlock, maybeBackOffFromEdge, mayBuild, mayUseItemAt, onSoulSpeedBlock, openJigsawBlock, openMinecartCommandBlock, openStructureBlock, playSound, refreshDisplayName, removeEntitiesOnShoulder, removeVehicle, resetAttackStrengthTicker, resetPos, respawn, rideTick, serverAiStep, setAbsorptionAmount, setEntityOnShoulder, setForcedPose, setItemSlot, setMainArm, setReducedDebugInfo, setRemainingFireTicks, setScore, setShoulderEntityLeft, setShoulderEntityRight, setSlot, shouldRemoveSoulSpeed, shouldShowName, startFallFlying, stopFallFlying, stopSleeping, sweepAttack, travel, tryToStartFallFlying, updateIsUnderwater, updatePlayerPose, updateSwimming, wantsToStopRidingaddEffect, animateHurt, areAllEffectsAmbient, attackable, baseTick, blockedByShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBreatheUnderwater, canSee, canSpawnSoulSpeedParticle, canStandOnFluid, checkAutoSpinAttack, clearSleepingPos, createLivingAttributes, createLootContext, createWitherRose, curePotionEffects, decreaseAirSupply, doHurtTarget, doPush, dropAllDeathLoot, dropCustomDeathLoot, dropExperience, dropFromLootTable, forceAddEffect, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBoundingBoxForCulling, getBrain, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDrinkingSound, getEatingSound, getEffect, getEyeHeight, getFallFlyingTicks, getFeetBlockState, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getMainHandItem, getMaxHealth, getMobType, getNoActionTime, getOffhandItem, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSoundVolume, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, heal, increaseAirSupply, invalidateCaps, isAffectedByPotions, isAlive, isAutoSpinAttack, isBaby, isBlocking, isDeadOrDying, isEffectiveAi, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpInLiquid, kill, knockback, lerpHeadTo, lerpTo, makeBrain, markHurt, onClimbable, onItemPickup, onSyncedDataUpdated, outOfWorld, playBlockFallSound, playHurtSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, rideableUnderWater, setArrowCount, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDropExperience, shouldDropLoot, shouldRiderFaceForward, spawnSoulSpeedParticle, startAutoSpinAttack, startUsingItem, stopUsingItem, swing, tickDeath, tickEffects, tickHeadTurn, triggerItemUseEffects, tryAddSoulSpeed, updateEffectVisibility, updateSwingTimeabsMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addPassenger, addTag, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, checkAndResetForcedChunkAdditionFlag, checkAndResetUpdateChunkPos, checkDespawn, checkInsideBlocks, clearFire, closerThan, collideBoundingBox, collideBoundingBoxHeuristically, collideBoundingBoxLegacy, copyPosition, createCommandSourceStack, createHoverEvent, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, ejectPassengers, equals, fillCrashReportCategory, fireImmune, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBoundingBox, getBoundingBoxForPose, getBrightness, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDirection, getDismountLocationForPassenger, getEncodeId, getEntityData, getEyeHeight, getEyeHeightAccess, getEyePosition, getEyeY, getFluidHeight, getFluidJumpThreshold, getForward, getHorizontalDistanceSqr, getId, getIndirectPassengers, getLeashOffset, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMotionDirection, getOnPos, getPacketCoordinates, getPassengers, getPassengersRidingOffset, getPersistentData, getPickRadius, getPistonPushReaction, getPose, getPosition, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRootVehicle, getRotationVector, getSelfAndPassengers, getSharedFlag, getStringUUID, getTags, getTeam, getTeamColor, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasCustomName, hashCode, hasIndirectPassenger, hasOnePlayerPassenger, hasPassenger, hasPassenger, hasPermissions, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFree, isGlowing, isIgnoringBlockTriggers, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isShiftKeyDown, isSilent, isSprinting, isSteppingCarefully, isSuppressingBounce, isUnderWater, isVehicle, isVisuallyCrawling, lavaHurt, lerpMotion, limitPistonMovement, load, makeFlySound, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playerTouch, playFlySound, playStepSound, playSwimSound, positionRider, positionRider, push, reapplyPosition, refreshDimensions, remove, removeAfterChangingDimensions, removePassenger, removeTag, repositionEntityAfterLoad, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setGlowing, setId, setInvisible, setInvulnerable, setLevel, setLocationFromBoundingbox, setNoGravity, setPacketCoordinates, setPacketCoordinates, setPortalCooldown, setPos, setPosAndOldPos, setPose, setPosRaw, setRot, setSecondsOnFire, setSharedFlag, setShiftKeyDown, setSilent, setSwimming, setUUID, setViewScale, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, teleportToWithTicket, thunderHit, toString, turn, unRide, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushingareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic DeployerFakePlayer(net.minecraft.world.server.ServerWorld world)
public java.util.OptionalInt openMenu(net.minecraft.inventory.container.INamedContainerProvider container)
openMenu in class net.minecraft.entity.player.ServerPlayerEntitypublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.util.INameablegetDisplayName in class net.minecraft.entity.player.PlayerEntitypublic float getEyeHeight(net.minecraft.entity.Pose poseIn)
getEyeHeight in class net.minecraft.entity.Entitypublic net.minecraft.util.math.vector.Vector3d position()
position in class net.minecraftforge.common.util.FakePlayerpublic float getCurrentItemAttackStrengthDelay()
getCurrentItemAttackStrengthDelay in class net.minecraft.entity.player.PlayerEntitypublic boolean canEat(boolean ignoreHunger)
canEat in class net.minecraft.entity.player.PlayerEntitypublic net.minecraft.item.ItemStack eat(net.minecraft.world.World world,
net.minecraft.item.ItemStack stack)
eat in class net.minecraft.entity.player.PlayerEntitypublic static void deployerHasEyesOnHisFeet(net.minecraftforge.event.entity.EntityEvent.Size event)
public static void deployerCollectsDropsFromKilledEntities(net.minecraftforge.event.entity.living.LivingDropsEvent event)
protected void playEquipSound(net.minecraft.item.ItemStack p_184606_1_)
playEquipSound in class net.minecraft.entity.LivingEntitypublic void remove(boolean keepData)
remove in class net.minecraft.entity.player.PlayerEntitypublic static void deployerKillsDoNotSpawnXP(net.minecraftforge.event.entity.living.LivingExperienceDropEvent event)
public static void entitiesDontRetaliate(net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent event)