Class FreeCamera
-
- All Implemented Interfaces:
-
net.minecraft.commands.CommandSource,net.minecraft.network.syncher.SyncedDataHolder,net.minecraft.world.Nameable,net.minecraft.world.entity.Attackable,net.minecraft.world.level.entity.EntityAccess,net.minecraft.world.scores.ScoreHolder,net.neoforged.neoforge.attachment.IAttachmentHolder,net.neoforged.neoforge.common.extensions.IEntityExtension,net.neoforged.neoforge.common.extensions.ILivingEntityExtension,net.neoforged.neoforge.common.extensions.IPlayerExtension,net.neoforged.neoforge.common.util.INBTSerializable
public final class FreeCamera extends LocalPlayer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFreeCamera.Companion
-
Field Summary
Fields Modifier and Type Field Description public final ClientPacketListenerconnectionprivate final StatsCounterstatsprivate final ClientRecipeBookrecipeBookprivate final List<AmbientSoundHandler>ambientSoundHandlersprivate IntegerpermissionLevelprivate final DoublexLastprivate final DoubleyLast1private final DoublezLastprivate final FloatyRotLastprivate final FloatxRotLastprivate final BooleanlastOnGroundprivate final Booleancrouchingprivate final BooleanwasShiftKeyDownprivate final BooleanwasSprintingprivate final IntegerpositionReminderprivate final BooleanflashOnSetHealthpublic final Inputinputprotected final Minecraftminecraftprotected final IntegersprintTriggerTimepublic final FloatyBobpublic final FloatxBobpublic final FloatyBobOpublic final FloatxBobOprivate final IntegerjumpRidingTicksprivate final FloatjumpRidingScalepublic final FloatspinningEffectIntensitypublic final FloatoSpinningEffectIntensityprivate final BooleanstartedUsingItemprivate final InteractionHandusingItemHandprivate final BooleanhandsBusyprivate final BooleanautoJumpEnabledprivate final IntegerautoJumpTimeprivate final BooleanwasFallFlyingprivate final IntegerwaterVisionTimeprivate final BooleanshowDeathScreenprivate BooleandoLimitedCraftingprivate final PlayerInfoplayerInfoprotected final Vec3deltaMovementOnPreviousTickpublic final FloatelytraRotXpublic final FloatelytraRotYpublic final FloatelytraRotZpublic final ClientLevelclientLevelprivate final LongtimeEntitySatOnShoulderprivate final Inventoryinventoryprotected final PlayerEnderChestContainerenderChestInventorypublic final InventoryMenuinventoryMenupublic final AbstractContainerMenucontainerMenuprotected final FoodDatafoodDataprotected final IntegerjumpTriggerTimepublic final FloatoBobpublic final Floatbobpublic final IntegertakeXpDelaypublic final DoublexCloakOpublic final DoubleyCloakOpublic final DoublezCloakOpublic final DoublexCloakpublic final DoubleyCloakpublic final DoublezCloakprivate final IntegersleepCounterprotected final BooleanwasUnderwaterprivate final Abilitiesabilitiespublic final IntegerexperienceLevelpublic final IntegertotalExperiencepublic final FloatexperienceProgressprotected final IntegerenchantmentSeedprotected final FloatdefaultFlySpeedprivate final IntegerlastLevelUpTimeprivate final GameProfilegameProfileprivate BooleanreducedDebugInfoprivate final ItemStacklastItemInMainHandprivate final ItemCooldownscooldownsprivate Optional<GlobalPos>lastDeathLocationpublic final FishingHookfishingprotected final FloathurtDirpublic final Vec3currentImpulseImpactPospublic final EntitycurrentExplosionCauseprivate final BooleanignoreFallDamageFromCurrentImpulseprivate final IntegercurrentImpulseContextResetGraceTimeprivate final Collection<MutableComponent>prefixesprivate final Collection<MutableComponent>suffixesprivate PoseforcedPoseprivate final LonglastDayTimeTickprivate final Componentdisplaynameprivate final AttributeMapattributesprivate final CombatTrackercombatTrackerprivate final Map<Holder<MobEffect>, MobEffectInstance>activeEffectsprivate final NonNullList<ItemStack>lastHandItemStacksprivate final NonNullList<ItemStack>lastArmorItemStacksprivate final ItemStacklastBodyItemStackpublic final Booleanswingingprivate final BooleandiscardFrictionpublic final InteractionHandswingingArmpublic final IntegerswingTimepublic final IntegerremoveArrowTimepublic final IntegerremoveStingerTimepublic final IntegerhurtTimepublic final IntegerhurtDurationpublic final IntegerdeathTimepublic final FloatoAttackAnimpublic final FloatattackAnimprotected final IntegerattackStrengthTickerpublic final WalkAnimationStatewalkAnimationpublic final IntegerinvulnerableDurationpublic final FloattimeOffspublic final FloatrotApublic final FloatyBodyRotpublic final FloatyBodyRotOpublic final FloatyHeadRotpublic final FloatyHeadRotOprotected final PlayerlastHurtByPlayerprotected final IntegerlastHurtByPlayerTimeprotected final Booleandeadprotected final IntegernoActionTimeprotected final FloatoRunprotected final Floatrunprotected final FloatanimStepprotected final FloatanimStepOprotected final FloatrotOffsprotected final IntegerdeathScoreprotected final FloatlastHurtprotected final Booleanjumpingpublic final Floatxxapublic final Floatyyapublic final Floatzzaprotected final IntegerlerpStepsprotected final DoublelerpXprotected final DoublelerpYprotected final DoublelerpZprotected final DoublelerpYRotprotected final DoublelerpXRotprotected final DoublelerpYHeadRotprotected final IntegerlerpHeadStepsprivate final BooleaneffectsDirtyprivate LivingEntitylastHurtByMobprivate final IntegerlastHurtByMobTimestampprivate final LivingEntitylastHurtMobprivate final IntegerlastHurtMobTimestampprivate Floatspeedprivate final IntegernoJumpDelayprivate FloatabsorptionAmountprotected final ItemStackuseItemprotected final IntegeruseItemRemainingprotected final IntegerfallFlyTicksprivate final BlockPoslastPosprivate final Optional<BlockPos>lastClimbablePosprivate final DamageSourcelastDamageSourceprivate final LonglastDamageStampprotected final IntegerautoSpinAttackTicksprotected final FloatautoSpinAttackDmgprotected final ItemStackautoSpinAttackItemStackprivate final FloatswimAmountprivate final FloatswimAmountOprotected final Brain<?>brainprivate final BooleanskipDropExperienceprivate final Reference2ObjectMap<Enchantment, Set<EnchantmentLocationBasedEffect>>activeLocationDependentEnchantmentsprotected final FloatappliedScaleprotected final Stack<DamageContainer>damageContainersprivate final EntityType<?>typeprivate Integeridpublic final BooleanblocksBuildingprivate final ImmutableList<Entity>passengersprotected final IntegerboardingCooldownprivate final Entityvehicleprivate final Levellevelpublic final Doublexopublic final Doubleyopublic final Doublezoprivate final Vec3positionprivate final BlockPosblockPositionprivate final ChunkPoschunkPositionprivate Vec3deltaMovementprivate FloatyRotprivate FloatxRotpublic final FloatyRotOpublic final FloatxRotOprivate final AABBbbprivate final BooleanonGroundpublic final BooleanhorizontalCollisionpublic final BooleanverticalCollisionpublic final BooleanverticalCollisionBelowpublic final BooleanminorHorizontalCollisionpublic final BooleanhurtMarkedprotected final Vec3stuckSpeedMultiplierprivate final Entity.RemovalReasonremovalReasonpublic final FloatwalkDistOpublic final FloatwalkDistpublic final FloatmoveDistpublic final FloatflyDistpublic final FloatfallDistanceprivate final FloatnextSteppublic final DoublexOldpublic final DoubleyOldpublic final DoublezOldpublic final BooleannoPhysicsprotected final RandomSourcerandompublic final IntegertickCountprivate IntegerremainingFireTicksprotected final BooleanwasTouchingWaterprotected final Object2DoubleMap<TagKey<Fluid>>fluidHeightprotected final BooleanwasEyeInWaterprivate final Set<TagKey<Fluid>>fluidOnEyespublic final IntegerinvulnerableTimeprotected final BooleanfirstTickprotected final SynchedEntityDataentityDataprivate final EntityInLevelCallbacklevelCallbackprivate final VecDeltaCodecpacketPositionCodecpublic final BooleannoCullingpublic final BooleanhasImpulsepublic final PortalProcessorportalProcessprivate IntegerportalCooldownprivate Booleaninvulnerableprotected final UUIDuuidprotected final StringstringUUIDprivate final BooleanhasGlowingTagprivate final Set<String>tagsprivate final DoubleArraypistonDeltasprivate final LongpistonDeltasGameTimeprivate final EntityDimensionsdimensionsprivate final FloateyeHeightpublic final BooleanisInPowderSnowpublic final BooleanwasInPowderSnowpublic final BooleanwasOnFirepublic final Optional<BlockPos>mainSupportingBlockPosprivate final BooleanonGroundNoBlocksprivate final FloatcrystalSoundIntensityprivate final IntegerlastCrystalSoundPlayTickprivate final BooleanhasVisualFireprivate final BlockStateinBlockStateprivate final Collection<ItemEntity>captureDropsprivate final CompoundTagpersistentDataprivate final BooleanisAddedToLevelprotected final Object2DoubleMap<FluidType>forgeFluidTypeHeightprivate final FluidTypeforgeFluidTypeOnEyesfinal Map<AttachmentType<?>, Object>attachmentspublic final static FreeCamera.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description FreeCamera(Integer id)
-
Method Summary
Modifier and Type Method Description UnitcopyPosition(Entity entity)final UnitsetPosition(Vec3 pos)final UnitapplyPosition(FreecamPos pos)final UnitapplyPerspective(CameraPerspective perspective, Boolean checkCollision)final BooleanmoveForwardUntilCollision(FreecamPos position, Double distance, Boolean checkCollision)final BooleanmoveForwardUntilCollision(FreecamPos position, Double maxDistance)final Unitspawn()final Unitdespawn()UnitcheckFallDamage(Double heightDifference, Boolean onGround, BlockState landedState, BlockPos landedPosition)FloatgetAttackAnim(Float tickDelta)IntegergetUseItemRemainingTicks()BooleanisUsingItem()BooleanonClimbable()BooleanisInWater()MobEffectInstancegetEffect(Holder<MobEffect> holder)PushReactiongetPistonPushReaction()BooleancanCollideWith(Entity other)UnitsetPose(Pose pose)BooleanisMovingSlowly()BooleanupdateIsUnderwater()UnitdoWaterSplashEffect()UnitaiStep()-
Methods inherited from class net.minecraft.client.player.LocalPlayer
actuallyHurt, canAutoJump, canSpawnSprintParticle, canStartSprinting, clientSideCloseContainer, closeContainer, crit, displayClientMessage, drop, getActivePortalLocalTransition, getCurrentMood, getDoLimitedCrafting, getJumpRidingScale, getPermissionLevel, getRecipeBook, getRopeHoldPosition, getStats, getUsedItemHand, getViewXRot, getViewYRot, getVisualRotationYInDegrees, getWaterVision, handleConfusionTransitionEffect, handleEntityEvent, hasEnoughFoodToStartSprinting, hasEnoughImpulseToStartSprinting, heal, hurt, hurtTo, isAutoJumpEnabled, isControlledCamera, isCrouching, isEffectiveAi, isHandsBusy, isHorizontalCollisionMinor, isLocalPlayer, isMoving, isShiftKeyDown, isSuppressingSlidingDownLadder, isTextFilteringEnabled, isUnderWater, jumpableVehicle, magicCrit, move, moveTowardsClosestSpace, onGameModeChanged, onSyncedDataUpdated, onUpdateAbilities, openCommandBlock, openItemGui, openJigsawBlock, openMinecartCommandBlock, openStructureBlock, openTextEdit, playNotifySound, playSound, removeEffectNoUpdate, removeRecipeHighlight, removeVehicle, resetPos, respawn, rideTick, sendIsSprintingIfNeeded, sendOpenInventory, sendPosition, sendRidingJump, sendSystemMessage, serverAiStep, setDoLimitedCrafting, setExperienceValues, setPermissionLevel, setShowDeathScreen, shouldShowDeathScreen, startRiding, startUsingItem, stopUsingItem, suffocatesAt, swing, tick, tickDeath, updateAutoJump, updateTutorialInventoryAction, vehicleCanSprint -
Methods inherited from class net.minecraft.client.player.AbstractClientPlayer
getDeltaMovementLerped, getFieldOfViewModifier, getPlayerInfo, getSkin, isCreative, isSpectator -
Methods inherited from class net.minecraft.world.entity.player.Player
addAdditionalSaveData, addItem, animateHurt, attack, awardRecipes, awardRecipesByKey, awardStat, awardStat, awardStat, awardStat, blockActionRestricted, blockInteractionRange, blockUsingShield, canBeHitByProjectile, canBeSeenAsEnemy, canEat, canFallAtLeast, canHarmPlayer, canInteractWithBlock, canInteractWithEntity, canInteractWithEntity, canPlayerFitWithinBlocksAndEntitiesWhen, canSprint, canTakeItem, canUseGameMasterBlocks, canUseSlot, causeFallDamage, causeFoodExhaustion, createItemCooldowns, decorateDisplayNameComponent, defineSynchedData, destroyVanishingCursedItems, die, disableShield, doAutoAttackOnTouch, doCloseContainer, doesEmitEquipEvent, drop, drop, dropEquipment, eat, entityInteractionRange, freeAt, getAbilities, getAbsorptionAmount, getArmorSlots, getAttackStrengthScale, getBaseExperienceReward, getBlockSpeedFactor, getCooldowns, getCurrentItemAttackStrengthDelay, getDeathSound, getDefaultDimensions, getDestroySpeed, getDigSpeed, getDimensionChangingDelay, getDismountPoses, getDisplayName, getEnchantedDamage, getEnchantmentSeed, getEnderChestInventory, getFallSounds, getFireImmuneTicks, getFlyingSpeed, getFoodData, getForcedPose, getGameProfile, getHandSlots, getHurtDir, getHurtSound, getInventory, getItemBySlot, getLastDeathLocation, getLuck, getMainArm, getMaxHeadRotationRelativeToBody, getMovementEmission, getName, getPrefixes, getProjectile, getScore, getScoreboard, getScoreboardName, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSlot, getSoundSource, getSpeed, getSuffixes, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getWardenSpawnTracker, getWeaponItem, getXpNeededForNextLevel, giveExperienceLevels, giveExperiencePoints, hasContainerOpen, hasCorrectToolForDrops, hasCorrectToolForDrops, hasInfiniteMaterials, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseScore, interactOn, internalSetAbsorptionAmount, isAboveGround, isAffectedByFluids, isAlwaysExperienceDropper, isAlwaysTicking, isHurt, isIgnoringFallDamageFromCurrentImpulse, isImmobile, isInvulnerableTo, isModelPartShown, isPushedByFluid, isReducedDebugInfo, isScoping, isSecondaryUseActive, isSleepingLongEnough, isStayingOnGroundSurface, isSwimming, jumpFromGround, killedEntity, makeStuckInBlock, mayBuild, mayUseItemAt, maybeBackOffFromEdge, moveCloak, onEnchantmentPerformed, openHorseInventory, openMenu, playShoulderEntityAmbientSound, playStepSound, readAdditionalSaveData, refreshDisplayName, remove, removeEntitiesOnShoulder, resetAttackStrengthTicker, resetCurrentImpulseContext, resetRecipes, resetStat, respawnEntityOnShoulder, sendMerchantOffers, setEntityOnShoulder, setForcedPose, setIgnoreFallDamageFromCurrentImpulse, setItemSlot, setLastDeathLocation, setMainArm, setReducedDebugInfo, setRemainingFireTicks, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldBeSaved, shouldShowName, startAutoSpinAttack, startFallFlying, startSleepInBed, stopFallFlying, stopSleepInBed, stopSleeping, sweepAttack, touch, travel, triggerRecipeCrafted, tryResetCurrentImpulseContext, tryToStartFallFlying, turtleHelmetTick, updatePlayerPose, updateSwimming, wantsToStopRiding -
Methods inherited from class net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, addEatEffect, addEffect, addEffect, attackable, baseTick, blockedByShield, brainProvider, breakItem, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canAttackType, canBeAffected, canBeSeenByAnyone, canBreatheUnderwater, canDisableShield, canFreeze, canStandOnFluid, canUsePortal, checkAutoSpinAttack, checkBedExists, checkTotemDeathProtection, clearSleepingPos, collectEquipmentChanges, completeUsingItem, createWitherRose, decreaseAirSupply, detectEquipmentUpdates, dismountVehicle, doHurtEquipment, doHurtTarget, doPush, dropAllDeathLoot, dropCustomDeathLoot, dropExperience, dropFromLootTable, eat, equipmentHasChanged, forceAddEffect, getActiveEffects, getActiveEffectsMap, getAgeScale, getAllSlots, getArmorAndBodyArmorSlots, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttribute, getAttributeBaseValue, getAttributeValue, getAttributes, getBedOrientation, getBoundingBoxForCulling, getBrain, getCombatTracker, getComfortableFallDistance, getCurrentSwingDuration, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultGravity, getDimensions, getDrinkingSound, getEatingSound, getEquipmentSlotForItem, getExperienceReward, getFallDamageSound, getFallFlyingTicks, getFluidFallingAdjustedMovement, getFrictionInfluencedSpeed, getHealth, getHitbox, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastArmorItem, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHandItem, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTable, getLootTableSeed, getMainHandItem, getMaxAbsorption, getMaxFallDistance, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSoundVolume, getStingerCount, getSwimAmount, getTicksUsingItem, getUseItem, getVisibilityPercent, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleEquipmentChanges, handleHandSwap, handleOnClimbable, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, igniteForTicks, increaseAirSupply, indicateDamage, isAffectedByPotions, isAlive, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isInWall, isInvertedHealAndHarm, isPickable, isPushable, isSensitiveToWater, isSleeping, isVisuallySwimming, jumpInLiquid, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makeBrain, makePoofParticles, makeSound, maxUpStep, onAttributeUpdated, onBelowWorld, onChangedBlock, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, playBlockFallSound, playHurtSound, push, pushEntities, randomTeleport, recreateFromPacket, refreshDirtyAttributes, releaseUsingItem, removeAllEffects, removeEffect, removeEffectParticles, removeEffectsCuredBy, removeFrost, sanitizeScale, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastArmorItem, setLastHandItem, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setPosToBed, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldRiderFaceForward, shouldTriggerItemUseEffects, skipDropExperience, spawnItemParticles, startSleeping, stopRiding, swapHandItems, swing, take, tickEffects, tickHeadTurn, tickRidden, trapdoorUsableAsLadder, travelRidden, triggerItemUseEffects, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateFallFlying, updateGlowingStatus, updateInvisibilityStatus, updateSwimAmount, updateSwingTime, updateSynchronizedMobEffectParticles, updateUsingItem, updateWalkAnimation, updatingUsingItem, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPose -
Methods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, absRotateTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, adjustSpawnLocation, applyGravity, applyPistonMovementRestriction, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canControlVehicle, canRide, canTrample, captureDrops, captureDrops, changeDimension, checkBelowWorld, checkDespawn, checkInsideBlocks, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collide, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStack, createHoverEvent, damageSources, dampensVibrations, deflection, discard, dismountTo, dismountsUnderwater, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, fixupDimensions, fudgePositionAfterSizeChange, gameEvent, gameEvent, getAddEntityPacket, getAirSupply, getAttachments, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCapability, getCapability, getCommandSenderWorld, getControlledVehicle, getControllingPassenger, getCustomName, getDeltaMovement, getDirection, getDismountLocationForPassenger, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getGravity, getHandHoldingItemAngle, getId, getInBlockState, getIndirectPassengers, getIndirectPassengersStream, getKnownMovement, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getNearestViewDirection, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPersistentData, getPickRadius, getPickResult, getPortalCooldown, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandom, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRotationVector, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUUID, getUpVector, getVehicle, getVehicleAttachmentPoint, getViewVector, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handlePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, hashCode, igniteForSeconds, ignoreExplosion, interact, interactAt, is, isAddedToLevel, isAlliedTo, isAlliedTo, isAttackable, isColliding, isControlledByLocalInstance, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFree, isFreezing, isFullyFrozen, isIgnoringBlockTriggers, isInBubbleColumn, isInFluidType, isInFluidType, isInLava, isInLiquid, isInRain, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isInvisible, isInvisibleTo, isInvulnerable, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isRemoved, isSilent, isSprinting, isStateClimbable, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isVehicle, isVisuallyCrawling, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, markHurt, mayInteract, mirror, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, nextStep, onAboveBubbleCol, onAddedToLevel, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onPassengerTurned, onRemovedFromLevel, onSyncedDataUpdated, onlyOpCanSetNbt, pick, placePortalTicket, playAmethystStepSound, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playMuffledStepSound, playSound, playSwimSound, playerTouch, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, refreshDimensions, registryAccess, removeAfterChangingDimensions, removePassenger, removeTag, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, setAirSupply, setAsInsidePortal, setBoundingBox, setCustomName, setCustomNameVisible, setData, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setNoGravity, setOldPosAndRot, setOnGround, setOnGroundWithMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPosRaw, setRemoved, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setXRot, setYRot, shouldBlockExplode, shouldInformAdmins, shouldPlayAmethystStepSound, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportPassengers, teleportRelative, teleportTo, teleportTo, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateFluidOnEyes, updateInWaterStateAndDoFluidPushing, updateInWaterStateAndDoWaterCurrentPushing, vibrationAndSoundEffectsFromBlock, walkingStepSound, waterSwimSound -
Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getAttachmentMap, getData, getExistingDataOrNull, getExposedHolder, hasAttachments, hasData, removeData, serializeAttachments, validateAttachmentType -
Methods inherited from class net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData -
Methods inherited from class net.minecraft.commands.CommandSource
alwaysAccepts -
Methods inherited from class net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayName -
Methods inherited from class net.neoforged.neoforge.common.extensions.IEntityExtension
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canSwimInFluidType, copyAttachmentsFrom, deserializeNBT, getClassification, getFluidFallDistanceModifier, getFluidMotionScale, getParts, getPickedResult, getSoundFromFluidType, hasCustomOutlineRendering, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, sendPairingData, serializeNBT, shouldRiderSit -
Methods inherited from class net.neoforged.neoforge.common.extensions.ILivingEntityExtension
canDrownInFluidType, jumpInFluid, moveInFluid, onDamageTaken, self, sinkInFluid -
Methods inherited from class net.neoforged.neoforge.common.extensions.IPlayerExtension
isCloseEnough, isFakePlayer, mayFly, openMenu, openMenu -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FreeCamera
FreeCamera(Integer id)
-
-
Method Detail
-
copyPosition
Unit copyPosition(Entity entity)
-
setPosition
final Unit setPosition(Vec3 pos)
-
applyPosition
final Unit applyPosition(FreecamPos pos)
-
applyPerspective
final Unit applyPerspective(CameraPerspective perspective, Boolean checkCollision)
-
moveForwardUntilCollision
final Boolean moveForwardUntilCollision(FreecamPos position, Double distance, Boolean checkCollision)
-
moveForwardUntilCollision
final Boolean moveForwardUntilCollision(FreecamPos position, Double maxDistance)
-
checkFallDamage
Unit checkFallDamage(Double heightDifference, Boolean onGround, BlockState landedState, BlockPos landedPosition)
-
getAttackAnim
Float getAttackAnim(Float tickDelta)
-
getUseItemRemainingTicks
Integer getUseItemRemainingTicks()
-
isUsingItem
Boolean isUsingItem()
-
onClimbable
Boolean onClimbable()
-
getEffect
MobEffectInstance getEffect(Holder<MobEffect> holder)
-
getPistonPushReaction
PushReaction getPistonPushReaction()
-
canCollideWith
Boolean canCollideWith(Entity other)
-
isMovingSlowly
Boolean isMovingSlowly()
-
updateIsUnderwater
Boolean updateIsUnderwater()
-
doWaterSplashEffect
Unit doWaterSplashEffect()
-
-
-
-