Class MixinPlayer

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.entity.Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.jcm.vsch.mixin.minecraft.MixinPlayer
All Implemented Interfaces:
FreeRotatePlayerAccessor, LivingEntityAccessor, net.minecraft.commands.CommandSource, net.minecraft.world.entity.Attackable, net.minecraft.world.level.entity.EntityAccess, net.minecraft.world.Nameable, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.entity.Entity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeEntity, net.minecraftforge.common.extensions.IForgeLivingEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
Direct Known Subclasses:
MixinLocalPlayer, MixinServerPlayer

public abstract class MixinPlayer extends net.minecraft.world.entity.LivingEntity implements FreeRotatePlayerAccessor
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity

    net.minecraft.world.entity.LivingEntity.Fallsounds

    Nested classes/interfaces inherited from class net.minecraft.world.entity.Entity

    net.minecraft.world.entity.Entity.MoveFunction, net.minecraft.world.entity.Entity.MovementEmission, net.minecraft.world.entity.Entity.RemovalReason

    Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
  • Field Summary

    Fields inherited from class net.minecraft.world.entity.LivingEntity

    animStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, lyHeadRot, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza

    Fields inherited from class net.minecraft.world.entity.Entity

    BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noCulling, noPhysics, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld

    Fields inherited from interface net.minecraft.commands.CommandSource

    NULL
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    absMoveTo(double x, double y, double z, float yRot, float xRot)
     
    void
    addAdditionalSaveData(net.minecraft.nbt.CompoundTag data, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    List<net.minecraft.world.entity.Entity>
    aiStep$getEntities$touch(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity self, net.minecraft.world.phys.AABB box, com.llamalad7.mixinextras.injector.wrapoperation.Operation<List<net.minecraft.world.entity.Entity>> operation)
     
    void
     
    protected void
    checkFallDamage(double dy, boolean onGround, net.minecraft.world.level.block.state.BlockState block, net.minecraft.core.BlockPos pos)
     
    protected void
    checkSupportingBlock(boolean onGround, net.minecraft.world.phys.Vec3 movement)
     
    void
    dismountTo(double x, double y, double z)
     
    abstract net.minecraft.world.entity.player.Abilities
     
    net.minecraft.world.phys.AABB
     
    void
    getDimensions(net.minecraft.world.entity.Pose pose, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.entity.EntityDimensions> cir)
     
    protected net.minecraft.core.BlockPos
    getOnPos(float dist)
     
     
    void
    getStandingEyeHeight(net.minecraft.world.entity.Pose pose, net.minecraft.world.entity.EntityDimensions dimension, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Float> cir)
     
    float
    getViewXRot(float partialTick)
     
    float
    getViewYRot(float partialTick)
     
    float
     
    float
     
    net.minecraft.world.phys.Vec3
    handleRelativeFrictionAndCalculateMovement(net.minecraft.world.phys.Vec3 relMove, float friction)
     
    protected abstract boolean
     
    protected boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    protected abstract boolean
     
    boolean
     
    protected abstract boolean
     
    protected void
    maybeBackOffFromEdge(net.minecraft.world.phys.Vec3 movement, net.minecraft.world.entity.MoverType moverType, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.phys.Vec3> cir)
     
    void
    move(net.minecraft.world.entity.MoverType moverType, net.minecraft.world.phys.Vec3 movement)
     
    void
    moveTo(double x, double y, double z, float yRot, float xRot)
     
    protected void
    moveTowardsClosestSpace(double x, double y, double z)
     
    void
    postInit(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, float yRot, com.mojang.authlib.GameProfile profile, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    protected void
     
    void
    readAdditionalSaveData(net.minecraft.nbt.CompoundTag data, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    removeVehicle(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    protected void
    setLevel(net.minecraft.world.level.Level level)
     
    void
    setPose(net.minecraft.world.entity.Pose newPose)
     
    void
    setXRot(float xRot)
     
    void
    setYRot(float yRot)
     
    boolean
     
    boolean
    startRiding(net.minecraft.world.entity.Entity vehicle, boolean force)
     
    void
    tick$updatePlayerPose(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    turn(double x, double y)
     
    protected void
     
    protected boolean
    updatePlayerPose$isShiftKeyDown(net.minecraft.world.entity.player.Player self, com.llamalad7.mixinextras.injector.wrapoperation.Operation<Boolean> operation)
     
    net.minecraft.core.BlockPos
    vsch$findSupportingBlock(Consumer<org.joml.primitives.AABBd> boxModifier)
     
    org.joml.Quaternionf
     
    org.joml.Quaternionf
     
    net.minecraft.world.phys.Vec3
     
    net.minecraft.world.phys.Vec3
     
    float
     
    float
     
    org.joml.Quaternionf
     
    org.joml.Quaternionf
     
    float
     
    float
     
    org.valkyrienskies.core.api.ships.Ship
     
    net.minecraft.world.entity.EntityDimensions
    vsch$getVanillaDimensions(net.minecraft.world.entity.Pose pose)
     
    boolean
     
    void
    vsch$setBodyRotation(org.joml.Quaternionf rotation)
     
    void
    vsch$setBodyRotationO(org.joml.Quaternionf rotation)
     
    void
    vsch$setFeetPosition(double x, double y, double z)
     
    void
    vsch$setHeadPitch(float pitch)
     
    void
    vsch$setHeadYaw(float yaw)
     
    void
    vsch$setLerpBodyRotation(org.joml.Quaternionf rotation)
     
    void
    vsch$setLerpHeadPitch(float pitch)
     
    void
     
    void
     
    void
    vsch$stepLerp(int steps)
     

    Methods inherited from class net.minecraft.world.entity.LivingEntity

    actuallyHurt, addAdditionalSaveData, addEffect, addEffect, aiStep, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canChangeDimensions, canDisableShield, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, canTakeItem, causeFallDamage, checkAutoSpinAttack, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, defineSynchedData, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtTarget, doPush, dropAllDeathLoot, dropCustomDeathLoot, dropEquipment, dropExperience, dropFromLootTable, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorSlots, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBrain, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDeathSound, getDimensions, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getExperienceReward, getEyeHeight, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHurtDir, getHurtSound, getItemBySlot, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getLootTableSeed, getMainArm, getMainHandItem, getMaxHealth, getMeleeAttackReferencePosition, getMobType, getNoActionTime, getOffhandItem, getProjectile, getRandom, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSoundVolume, getSpeed, getStandingEyeHeight, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleEntityEvent, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurt, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, indicateDamage, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, jumpInLiquid, kill, knockback, lerpHeadTo, lerpTo, lookAt, makeBrain, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, onSyncedDataUpdated, playBlockFallSound, playHurtSound, push, randomTeleport, readAdditionalSaveData, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideTick, sendEffectToPassengers, serverAiStep, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setItemSlot, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDropExperience, shouldDropLoot, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tick, tickDeath, tickEffects, tickHeadTurn, tickRidden, travel, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed

    Methods inherited from class net.minecraft.world.entity.Entity

    absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canEnterPose, canRide, canSpawnSprintParticle, canSprint, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkBelowWorld, checkDespawn, checkInsideBlocks, checkSlowFallDistance, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, couldAcceptPassenger, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, discard, dismountsUnderwater, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDimensionsForge, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getHandSlots, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxFallDistance, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getMyRidingOffset, getName, getNameTagOffsetY, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPickResult, getPistonPushReaction, getPortalCooldown, getPortalWaitTime, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getSoundSource, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getX, getX, getY, getY, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, ignoreExplosion, interact, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByLocalInstance, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEffectiveAi, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isInWaterOrRain, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, level, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, moveRelative, moveTo, moveTo, moveTo, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, onSyncedDataUpdated, pick, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playStepSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, removeAfterChangingDimensions, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevelCallback, setMaxUpStep, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithKnownMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.commands.CommandSource

    alwaysAccepts

    Methods inherited from interface net.jcm.vsch.accessor.FreeRotatePlayerAccessor

    vsch$findSupportingBlock, vsch$getDownVector, vsch$hasSupportingBlock

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability

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

    canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeHeightForge, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntity

    canDrownInFluidType, canSwimInFluidType, jumpInFluid, moveInFluid, self, sinkInFluid

    Methods inherited from interface net.jcm.vsch.accessor.LivingEntityAccessor

    vsch$getTickSinceLastJump
  • Constructor Details

    • MixinPlayer

      protected MixinPlayer()
  • Method Details

    • getAbilities

      public abstract net.minecraft.world.entity.player.Abilities getAbilities()
    • isStayingOnGroundSurface

      protected abstract boolean isStayingOnGroundSurface()
    • isAboveGround

      protected abstract boolean isAboveGround()
    • isLocalPlayer

      protected abstract boolean isLocalPlayer()
    • postInit

      public void postInit(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, float yRot, com.mojang.authlib.GameProfile profile, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • isMultipartEntity

      public boolean isMultipartEntity()
      Specified by:
      isMultipartEntity in interface net.minecraftforge.common.extensions.IForgeEntity
    • getParts

      public MultiPartPlayer[] getParts()
      Specified by:
      getParts in interface net.minecraftforge.common.extensions.IForgeEntity
    • vsch$isFreeRotating

      public boolean vsch$isFreeRotating()
      Specified by:
      vsch$isFreeRotating in interface FreeRotatePlayerAccessor
    • vsch$getHeadCenter

      public net.minecraft.world.phys.Vec3 vsch$getHeadCenter()
      Specified by:
      vsch$getHeadCenter in interface FreeRotatePlayerAccessor
    • vsch$getFeetPosition

      public net.minecraft.world.phys.Vec3 vsch$getFeetPosition()
      Specified by:
      vsch$getFeetPosition in interface FreeRotatePlayerAccessor
    • vsch$setFeetPosition

      public void vsch$setFeetPosition(double x, double y, double z)
      Specified by:
      vsch$setFeetPosition in interface FreeRotatePlayerAccessor
    • vsch$getBodyRotation

      public org.joml.Quaternionf vsch$getBodyRotation()
      Specified by:
      vsch$getBodyRotation in interface FreeRotatePlayerAccessor
    • vsch$setBodyRotation

      public void vsch$setBodyRotation(org.joml.Quaternionf rotation)
      Specified by:
      vsch$setBodyRotation in interface FreeRotatePlayerAccessor
    • vsch$getBodyRotationO

      public org.joml.Quaternionf vsch$getBodyRotationO()
      Specified by:
      vsch$getBodyRotationO in interface FreeRotatePlayerAccessor
    • vsch$setBodyRotationO

      public void vsch$setBodyRotationO(org.joml.Quaternionf rotation)
      Specified by:
      vsch$setBodyRotationO in interface FreeRotatePlayerAccessor
    • vsch$setLerpBodyRotation

      public void vsch$setLerpBodyRotation(org.joml.Quaternionf rotation)
      Specified by:
      vsch$setLerpBodyRotation in interface FreeRotatePlayerAccessor
    • vsch$getHeadRotation

      public org.joml.Quaternionf vsch$getHeadRotation()
      Specified by:
      vsch$getHeadRotation in interface FreeRotatePlayerAccessor
    • vsch$getHeadRotationO

      public org.joml.Quaternionf vsch$getHeadRotationO()
      Specified by:
      vsch$getHeadRotationO in interface FreeRotatePlayerAccessor
    • getXRot

      public float getXRot()
      Overrides:
      getXRot in class net.minecraft.world.entity.Entity
    • setXRot

      public void setXRot(float xRot)
      Overrides:
      setXRot in class net.minecraft.world.entity.Entity
    • getYRot

      public float getYRot()
      Overrides:
      getYRot in class net.minecraft.world.entity.Entity
    • setYRot

      public void setYRot(float yRot)
      Overrides:
      setYRot in class net.minecraft.world.entity.Entity
    • getViewXRot

      public float getViewXRot(float partialTick)
      Overrides:
      getViewXRot in class net.minecraft.world.entity.Entity
    • getViewYRot

      public float getViewYRot(float partialTick)
      Overrides:
      getViewYRot in class net.minecraft.world.entity.LivingEntity
    • vsch$getHeadPitch

      public float vsch$getHeadPitch()
      Specified by:
      vsch$getHeadPitch in interface FreeRotatePlayerAccessor
    • vsch$setHeadPitch

      public void vsch$setHeadPitch(float pitch)
      Specified by:
      vsch$setHeadPitch in interface FreeRotatePlayerAccessor
    • vsch$getHeadPitchO

      public float vsch$getHeadPitchO()
      Specified by:
      vsch$getHeadPitchO in interface FreeRotatePlayerAccessor
    • vsch$setLerpHeadPitch

      public void vsch$setLerpHeadPitch(float pitch)
      Specified by:
      vsch$setLerpHeadPitch in interface FreeRotatePlayerAccessor
    • vsch$getHeadYaw

      public float vsch$getHeadYaw()
      Specified by:
      vsch$getHeadYaw in interface FreeRotatePlayerAccessor
    • vsch$setHeadYaw

      public void vsch$setHeadYaw(float yaw)
      Specified by:
      vsch$setHeadYaw in interface FreeRotatePlayerAccessor
    • vsch$getHeadYawO

      public float vsch$getHeadYawO()
      Specified by:
      vsch$getHeadYawO in interface FreeRotatePlayerAccessor
    • vsch$setLerpHeadYaw

      public void vsch$setLerpHeadYaw(float yaw)
      Specified by:
      vsch$setLerpHeadYaw in interface FreeRotatePlayerAccessor
    • updateDefaultFreeRotation

      protected void updateDefaultFreeRotation()
    • readAdditionalSaveData

      public void readAdditionalSaveData(net.minecraft.nbt.CompoundTag data, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • addAdditionalSaveData

      public void addAdditionalSaveData(net.minecraft.nbt.CompoundTag data, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • vsch$getVanillaDimensions

      public net.minecraft.world.entity.EntityDimensions vsch$getVanillaDimensions(net.minecraft.world.entity.Pose pose)
      Specified by:
      vsch$getVanillaDimensions in interface FreeRotatePlayerAccessor
    • setPose

      public void setPose(net.minecraft.world.entity.Pose newPose)
      Overrides:
      setPose in class net.minecraft.world.entity.Entity
    • updatePlayerPose$isShiftKeyDown

      protected boolean updatePlayerPose$isShiftKeyDown(net.minecraft.world.entity.player.Player self, com.llamalad7.mixinextras.injector.wrapoperation.Operation<Boolean> operation)
    • isBodyRotationLocked

      protected boolean isBodyRotationLocked()
    • turn

      public void turn(double x, double y)
      Overrides:
      turn in class net.minecraft.world.entity.Entity
    • absMoveTo

      public void absMoveTo(double x, double y, double z, float yRot, float xRot)
      Overrides:
      absMoveTo in class net.minecraft.world.entity.Entity
    • moveTo

      public void moveTo(double x, double y, double z, float yRot, float xRot)
      Overrides:
      moveTo in class net.minecraft.world.entity.Entity
    • vsch$setOldPosAndRot

      public void vsch$setOldPosAndRot()
      Specified by:
      vsch$setOldPosAndRot in interface FreeRotatePlayerAccessor
    • vsch$stepLerp

      public void vsch$stepLerp(int steps)
      Specified by:
      vsch$stepLerp in interface FreeRotatePlayerAccessor
    • shouldDiscardFriction

      public boolean shouldDiscardFriction()
      Overrides:
      shouldDiscardFriction in class net.minecraft.world.entity.LivingEntity
    • vsch$findSupportingBlock

      public net.minecraft.core.BlockPos vsch$findSupportingBlock(Consumer<org.joml.primitives.AABBd> boxModifier)
      Specified by:
      vsch$findSupportingBlock in interface FreeRotatePlayerAccessor
    • vsch$getSupportingShip

      public org.valkyrienskies.core.api.ships.Ship vsch$getSupportingShip()
      Specified by:
      vsch$getSupportingShip in interface FreeRotatePlayerAccessor
    • checkSupportingBlock

      protected void checkSupportingBlock(boolean onGround, net.minecraft.world.phys.Vec3 movement)
      Overrides:
      checkSupportingBlock in class net.minecraft.world.entity.Entity
    • getOnPos

      protected net.minecraft.core.BlockPos getOnPos(float dist)
      Overrides:
      getOnPos in class net.minecraft.world.entity.Entity
    • isInLava

      public boolean isInLava()
      Overrides:
      isInLava in class net.minecraft.world.entity.Entity
    • isInWater

      public boolean isInWater()
      Overrides:
      isInWater in class net.minecraft.world.entity.Entity
    • isInWaterRainOrBubble

      public boolean isInWaterRainOrBubble()
      Overrides:
      isInWaterRainOrBubble in class net.minecraft.world.entity.Entity
    • isInWaterOrBubble

      public boolean isInWaterOrBubble()
      Overrides:
      isInWaterOrBubble in class net.minecraft.world.entity.Entity
    • isFallFlying

      public boolean isFallFlying()
      Overrides:
      isFallFlying in class net.minecraft.world.entity.LivingEntity
    • handleRelativeFrictionAndCalculateMovement

      public net.minecraft.world.phys.Vec3 handleRelativeFrictionAndCalculateMovement(net.minecraft.world.phys.Vec3 relMove, float friction)
      Overrides:
      handleRelativeFrictionAndCalculateMovement in class net.minecraft.world.entity.LivingEntity
    • move

      public void move(net.minecraft.world.entity.MoverType moverType, net.minecraft.world.phys.Vec3 movement)
      Overrides:
      move in class net.minecraft.world.entity.Entity
    • checkFallDamage

      protected void checkFallDamage(double dy, boolean onGround, net.minecraft.world.level.block.state.BlockState block, net.minecraft.core.BlockPos pos)
      Overrides:
      checkFallDamage in class net.minecraft.world.entity.LivingEntity
    • startRiding

      public boolean startRiding(net.minecraft.world.entity.Entity vehicle, boolean force)
      Overrides:
      startRiding in class net.minecraft.world.entity.Entity
    • removeVehicle

      public void removeVehicle(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • dismountTo

      public void dismountTo(double x, double y, double z)
      Overrides:
      dismountTo in class net.minecraft.world.entity.Entity
    • setLevel

      protected void setLevel(net.minecraft.world.level.Level level)
      Overrides:
      setLevel in class net.minecraft.world.entity.Entity
    • moveTowardsClosestSpace

      protected void moveTowardsClosestSpace(double x, double y, double z)
      Overrides:
      moveTowardsClosestSpace in class net.minecraft.world.entity.Entity
    • getBoundingBoxForCulling

      public net.minecraft.world.phys.AABB getBoundingBoxForCulling()
      Overrides:
      getBoundingBoxForCulling in class net.minecraft.world.entity.LivingEntity
    • getStandingEyeHeight

      public void getStandingEyeHeight(net.minecraft.world.entity.Pose pose, net.minecraft.world.entity.EntityDimensions dimension, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Float> cir)
    • getDimensions

      public void getDimensions(net.minecraft.world.entity.Pose pose, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.entity.EntityDimensions> cir)
    • maybeBackOffFromEdge

      protected void maybeBackOffFromEdge(net.minecraft.world.phys.Vec3 movement, net.minecraft.world.entity.MoverType moverType, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.world.phys.Vec3> cir)
    • pushEntities

      protected void pushEntities()
      Overrides:
      pushEntities in class net.minecraft.world.entity.LivingEntity
    • baseTick

      public void baseTick()
      Overrides:
      baseTick in class net.minecraft.world.entity.LivingEntity
    • tick$updatePlayerPose

      public void tick$updatePlayerPose(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • aiStep$getEntities$touch

      public List<net.minecraft.world.entity.Entity> aiStep$getEntities$touch(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity self, net.minecraft.world.phys.AABB box, com.llamalad7.mixinextras.injector.wrapoperation.Operation<List<net.minecraft.world.entity.Entity>> operation)