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 class
FreeCamera.Companion
-
Field Summary
Fields Modifier and Type Field Description public final ClientPacketListener
connection
private final StatsCounter
stats
private final ClientRecipeBook
recipeBook
private final List<AmbientSoundHandler>
ambientSoundHandlers
private Integer
permissionLevel
private final Double
xLast
private final Double
yLast1
private final Double
zLast
private final Float
yRotLast
private final Float
xRotLast
private final Boolean
lastOnGround
private final Boolean
crouching
private final Boolean
wasShiftKeyDown
private final Boolean
wasSprinting
private final Integer
positionReminder
private final Boolean
flashOnSetHealth
public final Input
input
protected final Minecraft
minecraft
protected final Integer
sprintTriggerTime
public final Float
yBob
public final Float
xBob
public final Float
yBobO
public final Float
xBobO
private final Integer
jumpRidingTicks
private final Float
jumpRidingScale
public final Float
spinningEffectIntensity
public final Float
oSpinningEffectIntensity
private final Boolean
startedUsingItem
private final InteractionHand
usingItemHand
private final Boolean
handsBusy
private final Boolean
autoJumpEnabled
private final Integer
autoJumpTime
private final Boolean
wasFallFlying
private final Integer
waterVisionTime
private final Boolean
showDeathScreen
private Boolean
doLimitedCrafting
private final PlayerInfo
playerInfo
protected final Vec3
deltaMovementOnPreviousTick
public final Float
elytraRotX
public final Float
elytraRotY
public final Float
elytraRotZ
public final ClientLevel
clientLevel
private final Long
timeEntitySatOnShoulder
private final Inventory
inventory
protected final PlayerEnderChestContainer
enderChestInventory
public final InventoryMenu
inventoryMenu
public final AbstractContainerMenu
containerMenu
protected final FoodData
foodData
protected final Integer
jumpTriggerTime
public final Float
oBob
public final Float
bob
public final Integer
takeXpDelay
public final Double
xCloakO
public final Double
yCloakO
public final Double
zCloakO
public final Double
xCloak
public final Double
yCloak
public final Double
zCloak
private final Integer
sleepCounter
protected final Boolean
wasUnderwater
private final Abilities
abilities
public final Integer
experienceLevel
public final Integer
totalExperience
public final Float
experienceProgress
protected final Integer
enchantmentSeed
protected final Float
defaultFlySpeed
private final Integer
lastLevelUpTime
private final GameProfile
gameProfile
private Boolean
reducedDebugInfo
private final ItemStack
lastItemInMainHand
private final ItemCooldowns
cooldowns
private Optional<GlobalPos>
lastDeathLocation
public final FishingHook
fishing
protected final Float
hurtDir
public final Vec3
currentImpulseImpactPos
public final Entity
currentExplosionCause
private final Boolean
ignoreFallDamageFromCurrentImpulse
private final Integer
currentImpulseContextResetGraceTime
private final Collection<MutableComponent>
prefixes
private final Collection<MutableComponent>
suffixes
private Pose
forcedPose
private final Long
lastDayTimeTick
private final Component
displayname
private final AttributeMap
attributes
private final CombatTracker
combatTracker
private final Map<Holder<MobEffect>, MobEffectInstance>
activeEffects
private final NonNullList<ItemStack>
lastHandItemStacks
private final NonNullList<ItemStack>
lastArmorItemStacks
private final ItemStack
lastBodyItemStack
public final Boolean
swinging
private final Boolean
discardFriction
public final InteractionHand
swingingArm
public final Integer
swingTime
public final Integer
removeArrowTime
public final Integer
removeStingerTime
public final Integer
hurtTime
public final Integer
hurtDuration
public final Integer
deathTime
public final Float
oAttackAnim
public final Float
attackAnim
protected final Integer
attackStrengthTicker
public final WalkAnimationState
walkAnimation
public final Integer
invulnerableDuration
public final Float
timeOffs
public final Float
rotA
public final Float
yBodyRot
public final Float
yBodyRotO
public final Float
yHeadRot
public final Float
yHeadRotO
protected final Player
lastHurtByPlayer
protected final Integer
lastHurtByPlayerTime
protected final Boolean
dead
protected final Integer
noActionTime
protected final Float
oRun
protected final Float
run
protected final Float
animStep
protected final Float
animStepO
protected final Float
rotOffs
protected final Integer
deathScore
protected final Float
lastHurt
protected final Boolean
jumping
public final Float
xxa
public final Float
yya
public final Float
zza
protected final Integer
lerpSteps
protected final Double
lerpX
protected final Double
lerpY
protected final Double
lerpZ
protected final Double
lerpYRot
protected final Double
lerpXRot
protected final Double
lerpYHeadRot
protected final Integer
lerpHeadSteps
private final Boolean
effectsDirty
private LivingEntity
lastHurtByMob
private final Integer
lastHurtByMobTimestamp
private final LivingEntity
lastHurtMob
private final Integer
lastHurtMobTimestamp
private Float
speed
private final Integer
noJumpDelay
private Float
absorptionAmount
protected final ItemStack
useItem
protected final Integer
useItemRemaining
protected final Integer
fallFlyTicks
private final BlockPos
lastPos
private final Optional<BlockPos>
lastClimbablePos
private final DamageSource
lastDamageSource
private final Long
lastDamageStamp
protected final Integer
autoSpinAttackTicks
protected final Float
autoSpinAttackDmg
protected final ItemStack
autoSpinAttackItemStack
private final Float
swimAmount
private final Float
swimAmountO
protected final Brain<?>
brain
private final Boolean
skipDropExperience
private final Reference2ObjectMap<Enchantment, Set<EnchantmentLocationBasedEffect>>
activeLocationDependentEnchantments
protected final Float
appliedScale
protected final Stack<DamageContainer>
damageContainers
private final EntityType<?>
type
private Integer
id
public final Boolean
blocksBuilding
private final ImmutableList<Entity>
passengers
protected final Integer
boardingCooldown
private final Entity
vehicle
private final Level
level
public final Double
xo
public final Double
yo
public final Double
zo
private final Vec3
position
private final BlockPos
blockPosition
private final ChunkPos
chunkPosition
private Vec3
deltaMovement
private Float
yRot
private Float
xRot
public final Float
yRotO
public final Float
xRotO
private final AABB
bb
private final Boolean
onGround
public final Boolean
horizontalCollision
public final Boolean
verticalCollision
public final Boolean
verticalCollisionBelow
public final Boolean
minorHorizontalCollision
public final Boolean
hurtMarked
protected final Vec3
stuckSpeedMultiplier
private final Entity.RemovalReason
removalReason
public final Float
walkDistO
public final Float
walkDist
public final Float
moveDist
public final Float
flyDist
public final Float
fallDistance
private final Float
nextStep
public final Double
xOld
public final Double
yOld
public final Double
zOld
public final Boolean
noPhysics
protected final RandomSource
random
public final Integer
tickCount
private Integer
remainingFireTicks
protected final Boolean
wasTouchingWater
protected final Object2DoubleMap<TagKey<Fluid>>
fluidHeight
protected final Boolean
wasEyeInWater
private final Set<TagKey<Fluid>>
fluidOnEyes
public final Integer
invulnerableTime
protected final Boolean
firstTick
protected final SynchedEntityData
entityData
private final EntityInLevelCallback
levelCallback
private final VecDeltaCodec
packetPositionCodec
public final Boolean
noCulling
public final Boolean
hasImpulse
public final PortalProcessor
portalProcess
private Integer
portalCooldown
private Boolean
invulnerable
protected final UUID
uuid
protected final String
stringUUID
private final Boolean
hasGlowingTag
private final Set<String>
tags
private final DoubleArray
pistonDeltas
private final Long
pistonDeltasGameTime
private final EntityDimensions
dimensions
private final Float
eyeHeight
public final Boolean
isInPowderSnow
public final Boolean
wasInPowderSnow
public final Boolean
wasOnFire
public final Optional<BlockPos>
mainSupportingBlockPos
private final Boolean
onGroundNoBlocks
private final Float
crystalSoundIntensity
private final Integer
lastCrystalSoundPlayTick
private final Boolean
hasVisualFire
private final BlockState
inBlockState
private final Collection<ItemEntity>
captureDrops
private final CompoundTag
persistentData
private final Boolean
isAddedToLevel
protected final Object2DoubleMap<FluidType>
forgeFluidTypeHeight
private final FluidType
forgeFluidTypeOnEyes
final Map<AttachmentType<?>, Object>
attachments
public final static FreeCamera.Companion
Companion
-
Constructor Summary
Constructors Constructor Description FreeCamera(Integer id)
-
Method Summary
Modifier and Type Method Description Unit
copyPosition(Entity entity)
final Unit
setPosition(Vec3 pos)
final Unit
applyPosition(FreecamPos pos)
final Unit
applyPerspective(CameraPerspective perspective, Boolean checkCollision)
final Boolean
moveForwardUntilCollision(FreecamPos position, Double distance, Boolean checkCollision)
final Boolean
moveForwardUntilCollision(FreecamPos position, Double maxDistance)
final Unit
spawn()
final Unit
despawn()
Unit
checkFallDamage(Double heightDifference, Boolean onGround, BlockState landedState, BlockPos landedPosition)
Float
getAttackAnim(Float tickDelta)
Integer
getUseItemRemainingTicks()
Boolean
isUsingItem()
Boolean
onClimbable()
Boolean
isInWater()
MobEffectInstance
getEffect(Holder<MobEffect> holder)
PushReaction
getPistonPushReaction()
Boolean
canCollideWith(Entity other)
Unit
setPose(Pose pose)
Boolean
isMovingSlowly()
Boolean
updateIsUnderwater()
Unit
doWaterSplashEffect()
Unit
aiStep()
-
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()
-
-
-
-