Class ClientPlayerEntityMixin

  • All Implemented Interfaces:
    net.minecraft.command.ICommandSource, net.minecraft.util.INameable, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundNBT>, net.minecraftforge.common.extensions.IForgeEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundNBT>

    public abstract class ClientPlayerEntityMixin
    extends net.minecraft.entity.player.PlayerEntity
    • Nested Class Summary

      • Nested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity

        net.minecraft.entity.player.PlayerEntity.SleepResult
      • Nested classes/interfaces inherited from class net.minecraft.entity.Entity

        net.minecraft.entity.Entity.IMoveCallback
    • Field Summary

      • Fields inherited from class net.minecraft.entity.player.PlayerEntity

        abilities, 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, RIGHT_SHOULDER_ENTITY, speedInAir, STANDING_SIZE, xpCooldown, xpSeed
      • Fields inherited from class net.minecraft.entity.LivingEntity

        activeItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, brain, dead, deathTime, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, stuckStingerTimer, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180
      • Fields inherited from class net.minecraft.entity.Entity

        addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collidedHorizontally, collidedVertically, dataManager, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, field_25599, firstUpdate, FLAGS, fluidHeight, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, lastNetherPortalPosition, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, stepHeight, ticksExisted, velocityChanged, world
      • Fields inherited from interface net.minecraft.command.ICommandSource

        field_213139_a_
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ClientPlayerEntityMixin​(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, float yaw, com.mojang.authlib.GameProfile profile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean shouldDismount()
      • Methods inherited from class net.minecraft.entity.player.PlayerEntity

        addExhaustion, addExperienceLevel, addItemStackToInventory, addMovementStat, addScore, addShoulderEntity, addStat, addStat, addStat, addStat, adjustMovementForSneaking, attackEntityFrom, attackTargetEntityWithCurrentItem, blockUsingShield, canAttackPlayer, canClimb, canEat, canPlayerEdit, canUseCommandBlock, checkFallFlying, clipAtLedge, closeScreen, createCooldownTracker, createPlayerAttributes, damageArmor, damageEntity, damageShield, destroyVanishingCursedItems, disableShield, doWaterSplashEffect, dropInventory, dropItem, dropItem, dropSelectedItem, findAmmo, findRespawnPosition, func_213365_e, func_213823_a, func_213826_a, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorInventoryList, getCapability, getCooldownPeriod, getCooldownTracker, getCooledAttackStrength, getDeathSound, getDigSpeed, getDigSpeed, getDisplayName, getExperiencePoints, getFallSound, getFireImmuneTicks, getFoodStats, getForcedPose, getGameProfile, getHeldEquipment, getHighspeedSplashSound, getHurtSound, getInventoryEnderChest, getItemStackFromSlot, getLeftShoulderEntity, getLuck, getMaxInPortalTime, getName, getOfflineUUID, getPortalCooldown, getPoses, getPrefixes, getPrimaryHand, getRightShoulderEntity, getScore, getScoreboardName, getSize, getSleepTimer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSuffixes, getSwimSound, getUUID, getVelocityMultiplier, getWorldScoreboard, getXPSeed, getYOffset, giveExperiencePoints, handleFallDamage, handleStatusUpdate, hasReducedDebug, interactOn, isAllowEdit, isBlockBreakingRestricted, isCreative, isInvulnerableTo, isMovementBlocked, isNormalCube, isOnSoulSpeedBlock, isPlayer, isPlayerFullyAsleep, isPushedByWater, isSpectator, isSwimming, isUser, isUsingEffectiveTool, isWearing, jump, livingTick, method_29239, method_29500, method_29920, method_30951, onCriticalHit, onDeath, onEnchant, onEnchantmentCritical, onFoodEaten, onKilledOther, openBook, openCommandBlock, openContainer, openHorseInventory, openMerchantContainer, openMinecartCommandBlock, openSignEditor, openStructureBlock, playSound, preparePlayerToSpawn, readAdditional, refreshDisplayName, registerData, remove, replaceItemInInventory, resetCooldown, resetRecipes, respawnPlayer, sendPlayerAbilities, sendStatusMessage, setAbsorptionAmount, setFireTicks, setForcedPose, setGameType, setItemStackToSlot, setLeftShoulderEntity, setMotionMultiplier, setPrimaryHand, setReducedDebug, setRightShoulderEntity, setScore, shouldCancelInteraction, shouldHeal, spawnShoulderEntities, spawnSweepParticles, spinAttack, startFallFlying, stopFallFlying, takeStat, tick, travel, trySleep, unlockRecipes, unlockRecipes, updateEntityActionState, updateEyesInWaterPlayer, updatePose, updateRidden, updateSwimming, wakeUp, wakeUp, writeAdditional, xpBarCap
      • Methods inherited from class net.minecraft.entity.LivingEntity

        addPotionEffect, addSoulSpeedBoostIfNeeded, applyArmorCalculations, applyEntityCollision, applyPotionDamageCalculations, applyStatusEffect, areAllPotionsAmbient, attackable, attackEntityAsMob, attemptTeleport, baseTick, canAttack, canAttack, canAttack, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, canWalkOnFluid, clearActivePotions, clearBedPosition, collideWithEntity, collideWithNearbyEntities, computeFallDamage, constructKnockBackVector, createBrain, createBrainProfile, createLivingAttributes, createSpawnPacket, curePotionEffects, decreaseAirSupply, determineNextAir, displaySoulSpeedEffects, dropLoot, dropSpecialItems, dropXp, frostWalk, func_213343_cS, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedDirection, getBedPosition, getBlockState, getBoundingBox, getBrain, getClimbingPos, getCombatTracker, getCreatureAttribute, getDrinkSound, getEatSound, getEyeHeight, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getLootContextBuilder, getLootTableResourceLocation, getMaxHealth, getRenderBoundingBox, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getStingerCount, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidJump, handleFluidSneak, hasItemInSlot, heal, hurtByWater, invalidateCaps, isActiveItemStackBlocking, isActualySwimming, isAlive, isChild, isDead, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isHolding, isHolding, isHoldingOntoLadder, isOnLadder, isPotionActive, isPotionApplicable, isServerWorld, isSleeping, isSpinAttacking, lookAt, markPotionsDirty, markVelocityChanged, method_26317, method_26318, method_29242, method_29499, method_30633, method_31079, notifyDataManagerChange, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onKillCommand, onKilledBy, onNewPotionEffect, outOfWorld, performHurtAnimation, playBlockFallSound, playEquipSound, playHurtSound, removeActivePotionEffect, removePotionEffect, removeSoulSpeedBoost, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setAttacking, setBedPosition, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setOnGround, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, setStingerCount, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRiderFaceForward, spawnConsumptionEffects, spawnDrops, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swingArm, swingHand, takeKnockback, updateArmSwingProgress, updateDistance, updateFallState, updatePotionEffects, updatePotionMetadata, updateSpinAttack
      • Methods inherited from class net.minecraft.entity.Entity

        addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, awardKillScore, bypassesLandingEffects, bypassesSteppingEffects, calculateUpVector, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, collidesWith, copyDataFromOld, copyLocationAndAnglesFrom, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBlockPos, getBodyY, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDefaultName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getEyeY, getFireTimer, getFlag, getFluidHeight, getForward, getHeight, getHorizontalFacing, getHoverEvent, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMirroredYaw, getMotion, getMountedYOffset, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPose, getPositionVec, getPushReaction, getRandomBodyY, getRecursivePassengers, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getServer, getTags, getTeam, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUniqueID, getUpVector, getVectorForRotation, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleFluidAcceleration, handlePistonMovement, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPermissionLevel, hitByEntity, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isChunkPosUpdateRequested, isCollidable, isCrouching, isCustomNameVisible, isDescending, isEntityEqual, isFireImmune, isGlowing, isImmuneToExplosions, isInLava, isInRange, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnGround, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSneaky, isSpectatedByPlayer, isSprinting, isVisuallySwimming, isWet, makeFlySound, method_29241, method_29919, method_30076, method_30330, method_30632, method_30634, method_30950, method_31166, move, moveRelative, moveToBlockPosAndAngles, moveToWorld, newDoubleNBTList, newFloatNBTList, offsetX, offsetZ, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onRemovedFromWorld, onStruckByLightning, pick, playFlySound, playStepSound, playSwimSound, processInitialInteract, pushOutOfBlocks, read, recalculateSize, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetNetherPortalCooldown, resetPosition, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFlag, setGlowing, setInvisible, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPos, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, shouldSpawnSprintingParticles, spawnSprintingParticles, startRiding, startRiding, streamPassengersRecursively, teleportKeepLoaded, teleportRequested, toString, updatePassenger, updatePassengerForDismount, updatePortal, updateTrackedPosition, updateWaterState, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
      • Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

        areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, reviveCaps, serializeCaps
      • Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

        getCapability
      • Methods inherited from interface net.minecraftforge.common.extensions.IForgeEntity

        canBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSit
    • Constructor Detail

      • ClientPlayerEntityMixin

        protected ClientPlayerEntityMixin​(net.minecraft.world.World world,
                                          net.minecraft.util.math.BlockPos pos,
                                          float yaw,
                                          com.mojang.authlib.GameProfile profile)
    • Method Detail

      • shouldDismount

        protected boolean shouldDismount()
        Overrides:
        shouldDismount in class net.minecraft.entity.player.PlayerEntity