public class NmsEntityMockPlayer
extends net.minecraft.server.v1_16_R3.EntityHuman
| Modifier and Type | Field and Description |
|---|---|
private net.minecraft.server.v1_16_R3.WorldServer |
worldServer
The world server the entity is located in.
|
abilities, activeContainer, bA, bB, bG, bh, bH, bi, bj, bk, bl, br, bs, bt, bu, bv, bw, bx, by, bz, defaultContainer, enderChest, exp, expLevel, expTotal, fauxSleeping, foodData, hookedFish, inventory, oldLevel, sleepTicksaA, aB, aC, activeItem, aD, aE, ag, ah, ai, aj, aJ, ak, aK, aL, am, aM, aN, aO, ap, ar, aR, arrowCooldown, ARROWS_IN_BODY, as, aS, at, aT, au, aU, av, aV, aw, aW, aX, ay, aY, az, aZ, ba, bb, bd, be, bf, bg, canPickUpLoot, collidableExemptions, collides, combatTracker, craftAttributes, deathTicks, drops, effects, expToDrop, forceDrops, HEALTH, hurtDuration, hurtTicks, hurtTimestamp, jumping, killed, killer, lastDamage, lastDamageByPlayerTime, lastDamager, maxAirTicks, maxNoDamageTicks, ticksFarFromPlayer, updateEffectsA, ac, ae, attachedToPlayer, B, chunkX, chunkY, chunkZ, D, datawatcher, dead, E, F, fallDistance, fireTicks, forceExplosionKnockback, G, glowing, i, I, impulse, inChunk, inPortal, inWater, j, justCreated, lastPitch, lastX, lastY, lastYaw, lastZ, LOGGER, M, N, noclip, noDamageTicks, O, onGround, passengers, persist, persistentInvisibility, pitch, portalCooldown, portalTicks, POSE, positionChanged, projectileSource, random, S, ticksLived, uniqueID, v, valid, velocityChanged, world, x, Y, yaw, z| Constructor and Description |
|---|
NmsEntityMockPlayer(net.minecraft.server.v1_16_R3.WorldServer worldServer)
Creates a mock player in the given world.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCreative()
If the player is in creative mode.
|
boolean |
isSpectator()
If the player is in spectator mode.
|
void |
updateMap(net.minecraft.server.v1_16_R3.ItemWorldMap itemWorldMap,
net.minecraft.server.v1_16_R3.WorldMap worldMap,
int size)
Uses the entity to render the given map.
|
a_, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, addScore, aj, aJ, alwaysGivesExp, aM, applyExhaustion, applyExhaustion, attack, b, b, b, b, b, bb, bf, bn, bV, c, checkMovement, closeInventory, cP, cT, damageArmor, damageEntity, damageEntity0, damageShield, die, die, discoverRecipes, dN, doTick, drop, dropInventory, dropItem, e, eC, eD, eG, ej, eJ, eK, enchantDone, entityWakeup, ep, eq, er, eR, es, et, eu, eU, ex, ez, f, f, g, g, g, g, getAbsorptionHearts, getArmorItems, getAttackCooldown, getBed, getBlockSpeedFactor, getBukkitEntity, getCooldownTracker, getDefaultPortalCooldown, getDisplayName, getEnderChest, getEquipment, getExpToLevel, getExpValue, getFoodData, getMainHand, getMaxFireTicks, getName, getOfflineUUID, getProfile, getScore, getScoreboard, getScoreboardDisplayName, getShoulderEntityLeft, getShoulderEntityRight, getSoundCategory, getSoundDeath, getSoundFall, getSoundHurt, getSoundSplash, getSoundSplashHighSpeed, getSoundSwim, giveExp, hasBlock, i, initDatawatcher, isCreativeAndOp, isDeeplySleeping, isFrozen, isInvulnerable, isSwimming, jump, levelDown, loadData, movementTick, openBook, openContainer, openHorseInventory, openSign, openTrade, p, passengerTick, playSound, playStepSound, q, releaseShoulderEntities, removeCursedItems, resetAttackCooldown, saveData, setAbsorptionHearts, setFireTicks, setScore, setShoulderEntityLeft, setShoulderEntityRight, setSlot, setSlot, shieldBlock, sleep, sleep, startGliding, stopGliding, tick, undiscoverRecipes, updateAbilities, wakeupa, a, a, a, a, a, a, a, a, A, a, a, a, a, a, a, a, a, a, a, a, a, a, a, addEffect, addEffect, an, applyArmorModifier, applyMagicModifier, attackEntity, b, b, b, b, bC, broadcastItemBreak, broadcastItemBreak, bt, C, c, c, c, c, C, c, c, c, c, c, c, c, canCollideWith, cK, cL, clearActiveItem, cM, cN, cO, collide, collideNearby, cQ, cR, cS, cU, cW, d, d, d, da, dA, db, dc, dd, df, dF, dH, di, dj, dJ, dl, dm, dM, dO, doAITick, dp, dr, dropDeathLoot, dropExperience, ds, dU, dz, dZ, e, e, e, e, ea, ee, eh, ei, el, enterCombat, entityBaseTick, entitySleep, exitCombat, f, f, f, getActiveItem, getArmorStrength, getArrowCount, getAttributeInstance, getAttributeMap, getBedPosition, getBehaviorController, getBukkitYaw, getCombatTracker, getEffect, getEffects, getExpReward, getHeadHeight, getHeadRotation, getHealth, getItemInMainHand, getItemInOffHand, getKillingEntity, getLastDamager, getMaxHealth, getMonsterType, getRaisedHand, getRandom, getSoundVolume, h, h, hasEffect, hasLineOfSight, heal, heal, inBlock, isAlive, isBaby, isBlocking, isClimbing, isCollidable, isDropExperience, isGliding, isHandRaised, isInteractable, isRiptiding, isSleeping, killEntity, l, m, n, n, P, playBlockStepSound, playEquipSound, playEquipSound, q, q, r, receive, releaseActiveItem, removeAllEffects, removeAllEffects, removeEffect, removeEffect, s, setArrowCount, setArrowCount, setHeadRotation, setHealth, setJumping, setLastDamager, setOnGround, setSprinting, stopRiding, swingHand, swingHand, tickPotionEffects, updateEquipment, velocityChanged, za_, a_, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, a, addPassenger, addScoreboardTag, af, aG, aH, ai, aI, aK, aN, aO, ap, aP, appendEntityCrashDetails, aQ, aR, as, at, aV, az, aZ, b, b, b, b, b, b, bc, bE, bg, bH, bi, bJ, bL, bN, bp, bP, burnFromLava, bv, bw, bx, by, bz, c, c, c, c, c, c, callPortalEvent, canPortal, cb, cF, checkBlockCollisions, checkDespawn, ci, cj, ck, cl, cs, cx, d, d, d, d, d, d, d, decouple, doPortalTick, E, e, e, e, e, e, ejectPassengers, enderTeleportAndLoad, enderTeleportTo, equals, extinguish, f, f, f, findOrCreatePortal, g, g, g, g, getAdjustedDirection, getAirTicks, getAllPassengers, getBlockJumpFactor, getBoundingBox, getBukkitSender, getChunkCoordinates, getCommandListener, getCustomName, getCustomNameVisible, getDataWatcher, getDirection, getEntityType, getFireTicks, getFlag, getHeadHeight, getHeadY, getHeight, getId, getLookDirection, getMinecraftServer, getMot, getPassengers, getPose, getPositionVector, getPushReaction, getRidingPassenger, getRootVehicle, getSaveID, getScoreboardTags, getScoreboardTeam, getUniqueID, getUniqueIDString, getVehicle, getWidth, getWorld, h, h, hasCustomName, hashCode, hasSinglePlayerPassenger, i, i, i, isBurning, isChunkLoaded, isFireProof, isIgnoreBlockTrigger, isInvisible, isInvulnerable, isInWater, isInWaterOrRain, isNoGravity, isOnGround, isPassenger, isSameVehicle, isSilent, isSneaking, isSprinting, isVehicle, j, j, k, k, k, l, l, load, locX, locY, locZ, move, n, onLightningStrike, pickup, postTick, q, r, recalcPosition, recursiveStream, removePassenger, removeScoreboardTag, resetPortalCooldown, s, save, sendMessage, setAirTicks, setCustomName, setCustomNameVisible, setFlag, setInvisible, setInvulnerable, setLocation, setMot, setMot, setNoGravity, setOnFire, setOnFire, setPose, setPosition, setPositionRaw, setPositionRotation, setPositionRotation, setSilent, setSneaking, setSwimming, setYawPitch, shouldBroadcastCommands, shouldSendFailure, shouldSendSuccess, spawnIn, startRiding, t, teleportAndSync, teleportTo, toString, u, updateSize, v, w, yprivate net.minecraft.server.v1_16_R3.WorldServer worldServer
public NmsEntityMockPlayer(net.minecraft.server.v1_16_R3.WorldServer worldServer)
worldServer - The world server the entity is located in.public boolean isCreative()
isCreative in class net.minecraft.server.v1_16_R3.EntityHumanpublic boolean isSpectator()
isSpectator in class net.minecraft.server.v1_16_R3.EntityHumanpublic void updateMap(net.minecraft.server.v1_16_R3.ItemWorldMap itemWorldMap,
net.minecraft.server.v1_16_R3.WorldMap worldMap,
int size)
itemWorldMap - The map item.worldMap - The world map that should be rendered.size - The size of the world map.