Package net.minecraft.entity.passive
Class HappyGhastEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,Leashable,Targeter,ScoreHolder,HeldItemContext,Nameable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/passive/HappyGhastEntityintermediary net/minecraft/class_11187official cqj
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate classprivate classprivate classNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.class_11726Nested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashDataNested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final floatprivate static final floatprivate static final intprivate static final intprivate static final TrackedData<Boolean> private intprivate static final TrackedData<Boolean> private intFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, CAN_PICK_UP_LOOT_KEY, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DROP_CHANCES_KEY, experiencePoints, field_35039, goalSelector, jumpControl, LEFT_HANDED_KEY, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, NO_AI_KEY, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTSFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPassenger(Entity passenger) Addspassengeras a passenger.private voidaddPassenger(PlayerEntity player) protected booleancanAddPassenger(Entity passenger) Returns whetherentitycan ride this entity.booleanprotected booleanbooleancanEat()booleancanUseSlot(EquipmentSlot slot) protected floatclampScale(float scale) protected BodyControlprotected Brain.Profile<HappyGhastEntity> createChild(ServerWorld world, PassiveEntity entity) private EntityNavigationcreateGhastlingNavigation(World world) protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) protected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected SoundEventprotected Vec3dgetControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) Returns the passenger in control of this entity, ornullif there is none.protected SoundEventdoubleprotected Vec2fgetGhastRotation(LivingEntity controllingEntity) Vec3d[]protected SoundEventgetHurtSound(DamageSource source) doubleintintfloatgetPathfindingFavor(BlockPos pos, WorldView world) floatReturns the sound category for sounds from this entity.floatprotected floatprivate intprivate booleanbooleanbooleanhasRopes()private voidprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.private voidprotected voidinteractMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) booleanbooleanisCollidable(Entity entity) Returns whether other entities cannot occupy the same space with this entity.booleanbooleanbooleanprotected voidmobTick(ServerWorld world) protected voidonGrowUp()voidprotected voidplayStepSound(BlockPos pos, BlockState state) voidreadCustomData(ReadView view) protected voidremovePassenger(Entity passenger) Removespassengerfrom the passengers.protected voidprivate voidsetHasRopes(boolean hasRopes) private voidsetStillTimeout(int stillTimeout) protected booleanprivate voidvoidtick()Ticks this entity.protected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidtickHeldLeash(Leashable leashedEntity) voidprivate voidvoidAllows you to do certain speed and velocity calculations.private voidvoidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canImmediatelyDespawn, createAnimalAttributes, getExperienceToDrop, getLoveTicks, getLovingPlayer, handleStatus, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, initialize, isBaby, isReadyToBreed, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTickMethods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, canActVoluntarily, canBeLeashed, canGather, canMobSpawn, cannotDespawn, canPickupItem, canPickUpLoot, canRemoveSaddle, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createEquipmentInventory, createMobAttributes, createNavigation, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, eat, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAttackBox, getBodyArmor, getEquipmentDropChances, getEquipmentForSlot, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createEquipment, createLivingAttributes, createTracker, damage, damageArmor, damageEquipment, damageHelmet, disableExperienceDropping, drop, dropExperience, dropInventory, dropItem, dropLoot, endCombat, enterCombat, equipStack, forEachBrushedItem, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, generateLoot, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEntity, getEquippedStack, getEquipSound, getExperienceToDrop, getFallSounds, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getSleepingDirection, getSleepingPosition, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWaypointConfig, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, method_74092, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, igniteByLava, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, method_74016, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedAngles, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, canUseQuadLeashAttachmentPoint, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getLeashHolder, getLeashOffset, getQuadLeashOffsets, isLeashed, mightBeLeashed, readLeashData, setUnresolvedLeashHolderId, writeLeashDataMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
field_59681
public static final float field_59681- See Also:
- Mappings:
Namespace Name Mixin selector named field_59681Lnet/minecraft/entity/passive/HappyGhastEntity;field_59681:Fintermediary field_59681Lnet/minecraft/class_11187;field_59681:Fofficial crLcqj;cr:F
-
field_59682
public static final int field_59682- See Also:
- Mappings:
Namespace Name Mixin selector named field_59682Lnet/minecraft/entity/passive/HappyGhastEntity;field_59682:Iintermediary field_59682Lnet/minecraft/class_11187;field_59682:Iofficial csLcqj;cs:I
-
field_59683
public static final int field_59683- See Also:
- Mappings:
Namespace Name Mixin selector named field_59683Lnet/minecraft/entity/passive/HappyGhastEntity;field_59683:Iintermediary field_59683Lnet/minecraft/class_11187;field_59683:Iofficial ctLcqj;ct:I
-
field_59684
public static final int field_59684- See Also:
- Mappings:
Namespace Name Mixin selector named field_59684Lnet/minecraft/entity/passive/HappyGhastEntity;field_59684:Iintermediary field_59684Lnet/minecraft/class_11187;field_59684:Iofficial cvLcqj;cv:I
-
field_59685
public static final int field_59685- See Also:
- Mappings:
Namespace Name Mixin selector named field_59685Lnet/minecraft/entity/passive/HappyGhastEntity;field_59685:Iintermediary field_59685Lnet/minecraft/class_11187;field_59685:Iofficial cwLcqj;cw:I
-
field_59686
public static final int field_59686- See Also:
- Mappings:
Namespace Name Mixin selector named field_59686Lnet/minecraft/entity/passive/HappyGhastEntity;field_59686:Iintermediary field_59686Lnet/minecraft/class_11187;field_59686:Iofficial cxLcqj;cx:I
-
field_59687
public static final int field_59687- See Also:
- Mappings:
Namespace Name Mixin selector named field_59687Lnet/minecraft/entity/passive/HappyGhastEntity;field_59687:Iintermediary field_59687Lnet/minecraft/class_11187;field_59687:Iofficial cyLcqj;cy:I
-
field_59688
public static final int field_59688- See Also:
- Mappings:
Namespace Name Mixin selector named field_59688Lnet/minecraft/entity/passive/HappyGhastEntity;field_59688:Iintermediary field_59688Lnet/minecraft/class_11187;field_59688:Iofficial czLcqj;cz:I
-
field_61061
private static final int field_61061- See Also:
- Mappings:
Namespace Name Mixin selector named field_61061Lnet/minecraft/entity/passive/HappyGhastEntity;field_61061:Iintermediary field_61061Lnet/minecraft/class_11187;field_61061:Iofficial cCLcqj;cC:I
-
field_60551
private static final int field_60551- See Also:
- Mappings:
Namespace Name Mixin selector named field_60551Lnet/minecraft/entity/passive/HappyGhastEntity;field_60551:Iintermediary field_60551Lnet/minecraft/class_11187;field_60551:Iofficial cDLcqj;cD:I
-
field_59689
public static final float field_59689- See Also:
- Mappings:
Namespace Name Mixin selector named field_59689Lnet/minecraft/entity/passive/HappyGhastEntity;field_59689:Fintermediary field_59689Lnet/minecraft/class_11187;field_59689:Fofficial cALcqj;cA:F
-
FOOD_PREDICATE
- Mappings:
Namespace Name Mixin selector named FOOD_PREDICATELnet/minecraft/entity/passive/HappyGhastEntity;FOOD_PREDICATE:Ljava/util/function/Predicate;intermediary field_59690Lnet/minecraft/class_11187;field_59690:Ljava/util/function/Predicate;official cBLcqj;cB:Ljava/util/function/Predicate;
-
HAS_ROPES
- Mappings:
Namespace Name Mixin selector named HAS_ROPESLnet/minecraft/entity/passive/HappyGhastEntity;HAS_ROPES:Lnet/minecraft/entity/data/TrackedData;intermediary field_60009Lnet/minecraft/class_11187;field_60009:Lnet/minecraft/class_2940;official cGLcqj;cG:Lamb;
-
STAYING_STILL
- Mappings:
Namespace Name Mixin selector named STAYING_STILLLnet/minecraft/entity/passive/HappyGhastEntity;STAYING_STILL:Lnet/minecraft/entity/data/TrackedData;intermediary field_60549Lnet/minecraft/class_11187;field_60549:Lnet/minecraft/class_2940;official cHLcqj;cH:Lamb;
-
field_60550
private static final float field_60550- See Also:
- Mappings:
Namespace Name Mixin selector named field_60550Lnet/minecraft/entity/passive/HappyGhastEntity;field_60550:Fintermediary field_60550Lnet/minecraft/class_11187;field_60550:Fofficial cILcqj;cI:F
-
ropeRemovalTimer
private int ropeRemovalTimer- Mappings:
Namespace Name Mixin selector named ropeRemovalTimerLnet/minecraft/entity/passive/HappyGhastEntity;ropeRemovalTimer:Iintermediary field_60008Lnet/minecraft/class_11187;field_60008:Iofficial cELcqj;cE:I
-
stillTimeout
private int stillTimeout- Mappings:
Namespace Name Mixin selector named stillTimeoutLnet/minecraft/entity/passive/HappyGhastEntity;stillTimeout:Iintermediary field_60553Lnet/minecraft/class_11187;field_60553:Iofficial cFLcqj;cF:I
-
-
Constructor Details
-
HappyGhastEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lccy;<init>(Lcdh;Ldqt;)V
-
-
Method Details
-
setStillTimeout
private void setStillTimeout(int stillTimeout) - Mappings:
Namespace Name Mixin selector named setStillTimeoutLnet/minecraft/entity/passive/HappyGhastEntity;setStillTimeout(I)Vintermediary method_72086Lnet/minecraft/class_11187;method_72086(I)Vofficial sLcqj;s(I)V
-
initGoals
protected void initGoals() -
initAdultHappyGhast
private void initAdultHappyGhast()- Mappings:
Namespace Name Mixin selector named initAdultHappyGhastLnet/minecraft/entity/passive/HappyGhastEntity;initAdultHappyGhast()Vintermediary method_70703Lnet/minecraft/class_11187;method_70703()Vofficial gJLcqj;gJ()V
-
initGhastling
private void initGhastling()- Mappings:
Namespace Name Mixin selector named initGhastlingLnet/minecraft/entity/passive/HappyGhastEntity;initGhastling()Vintermediary method_70694Lnet/minecraft/class_11187;method_70694()Vofficial gKLcqj;gK()V
-
onGrowUp
protected void onGrowUp()- Overrides:
onGrowUpin classPassiveEntity- Mappings:
Namespace Name Mixin selector named onGrowUpLnet/minecraft/entity/passive/PassiveEntity;onGrowUp()Vintermediary method_5619Lnet/minecraft/class_1296;method_5619()Vofficial hLccm;h()V
-
createHappyGhastAttributes
- Mappings:
Namespace Name Mixin selector named createHappyGhastAttributesLnet/minecraft/entity/passive/HappyGhastEntity;createHappyGhastAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_70701Lnet/minecraft/class_11187;method_70701()Lnet/minecraft/class_5132$class_5133;official mLcqj;m()Lcfe$a;
-
clampScale
protected float clampScale(float scale) - Overrides:
clampScalein classLivingEntity- Mappings:
Namespace Name Mixin selector named clampScaleLnet/minecraft/entity/LivingEntity;clampScale(F)Fintermediary method_56077Lnet/minecraft/class_1309;method_56077(F)Fofficial cLcdz;c(F)F
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls. Flying mobs should override this to do nothing.- Overrides:
fallin classLivingEntity- Implementation Note:
- If on ground, this calls
Block.onLandedUpon(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, double), which can add or reduce fall damage, emitsGameEvent.HIT_GROUND, then callsEntity.onLanding(). Otherwise, ifheightDifferenceis negative, it subtracts that value fromEntity.fallDistance. - Mappings:
Namespace Name Mixin selector named fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vofficial aLccy;a(DZLeip;Lja;)V
-
isClimbing
public boolean isClimbing()- Overrides:
isClimbingin classLivingEntity- Mappings:
Namespace Name Mixin selector named isClimbingLnet/minecraft/entity/LivingEntity;isClimbing()Zintermediary method_6101Lnet/minecraft/class_1309;method_6101()Zofficial fcLcdz;fc()Z
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and
.invalid reference
flying entities
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector named travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vofficial mLcdz;m(Lfnk;)V
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classAnimalEntity- Mappings:
Namespace Name Mixin selector named getPathfindingFavorLnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)Fintermediary method_6144Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)Fofficial aLceh;a(Lja;Ldqw;)F
-
canBreatheInWater
public boolean canBreatheInWater()- Overrides:
canBreatheInWaterin classLivingEntity- Mappings:
Namespace Name Mixin selector named canBreatheInWaterLnet/minecraft/entity/LivingEntity;canBreatheInWater()Zintermediary method_6094Lnet/minecraft/class_1309;method_6094()Zofficial erLcdz;er()Z
-
shouldFollowLeash
protected boolean shouldFollowLeash()- Overrides:
shouldFollowLeashin classPathAwareEntity- Mappings:
Namespace Name Mixin selector named shouldFollowLeashLnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Zintermediary method_43689Lnet/minecraft/class_1314;method_43689()Zofficial gGLceh;gG()Z
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector named playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial bLccy;b(Lja;Leip;)V
-
getSoundPitch
public float getSoundPitch()- Overrides:
getSoundPitchin classLivingEntity- Mappings:
Namespace Name Mixin selector named getSoundPitchLnet/minecraft/entity/LivingEntity;getSoundPitch()Fintermediary method_6017Lnet/minecraft/class_1309;method_6017()Fofficial fsLcdz;fs()F
-
getSoundCategory
Returns the sound category for sounds from this entity.This is used by
Entity.playSound(SoundEvent, float, float)and defaults toSoundCategory.NEUTRAL. Hostile entities should override this to returnSoundCategory.HOSTILE.- Overrides:
getSoundCategoryin classEntity- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;official duLccy;du()Lbcc;
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelayin classAnimalEntity- Mappings:
Namespace Name Mixin selector named getMinAmbientSoundDelayLnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()Iintermediary method_5970Lnet/minecraft/class_1308;method_5970()Iofficial WLceb;W()I
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;official pLceb;p()Lbca;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official eLcdz;e(Lcbl;)Lbca;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official f_Lcdz;f_()Lbca;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector named getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fofficial frLcdz;fr()F
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunkin classMobEntity- Mappings:
Namespace Name Mixin selector named getLimitPerChunkLnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()Iintermediary method_5945Lnet/minecraft/class_1308;method_5945()Iofficial alLceb;al()I
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector named createChildLnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;intermediary method_5613Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;official aLccm;a(Lawu;Lccm;)Lccm;
-
canEat
public boolean canEat()- Overrides:
canEatin classAnimalEntity- Mappings:
Namespace Name Mixin selector named canEatLnet/minecraft/entity/passive/AnimalEntity;canEat()Zintermediary method_6482Lnet/minecraft/class_1429;method_6482()Zofficial gPLcpt;gP()Z
-
getScaleFactor
public float getScaleFactor()- Overrides:
getScaleFactorin classLivingEntity- Mappings:
Namespace Name Mixin selector named getScaleFactorLnet/minecraft/entity/LivingEntity;getScaleFactor()Fintermediary method_17825Lnet/minecraft/class_1309;method_17825()Fofficial exLcdz;ex()F
-
isBreedingItem
- Specified by:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector named isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Zofficial iLcpt;i(Ldgs;)Z
-
canUseSlot
- Overrides:
canUseSlotin classLivingEntity- Mappings:
Namespace Name Mixin selector named canUseSlotLnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_56991Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Zofficial eLcdz;e(Lcdi;)Z
-
canDispenserEquipSlot
- Overrides:
canDispenserEquipSlotin classMobEntity- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlotLnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_63626Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Zofficial fLcdz;f(Lcdi;)Z
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official bLceb;b(Lcyp;Lcas;)Lcat;
-
addPassenger
- Mappings:
Namespace Name Mixin selector named addPassengerLnet/minecraft/entity/passive/HappyGhastEntity;addPassenger(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_70691Lnet/minecraft/class_11187;method_70691(Lnet/minecraft/class_1657;)Vofficial gLcqj;g(Lcyp;)V
-
addPassenger
Addspassengeras a passenger. This should not be called normally; callEntity.startRiding(Entity)instead. (Note that the entity to pass and the entity to call are swapped in this case;entity.startRiding(vehicle)is the equivalent ofvehicle.addPassenger(entity).)- Overrides:
addPassengerin classEntity- Throws:
IllegalStateException- when the method is called directly- Mappings:
Namespace Name Mixin selector named addPassengerLnet/minecraft/entity/Entity;addPassenger(Lnet/minecraft/entity/Entity;)Vintermediary method_5627Lnet/minecraft/class_1297;method_5627(Lnet/minecraft/class_1297;)Vofficial qLccy;q(Lccy;)V
-
removePassenger
Removespassengerfrom the passengers. This should not be called normally; callLivingEntity.stopRiding()instead. (Note that vehicles are not passed to that method;entity.stopRiding()is the equivalent ofvehicle.removePassenger(entity).)- Overrides:
removePassengerin classEntity- Throws:
IllegalStateException- when the method is called directly- Mappings:
Namespace Name Mixin selector named removePassengerLnet/minecraft/entity/Entity;removePassenger(Lnet/minecraft/entity/Entity;)Vintermediary method_5793Lnet/minecraft/class_1297;method_5793(Lnet/minecraft/class_1297;)Vofficial rLccy;r(Lccy;)V
-
canAddPassenger
Returns whetherentitycan ride this entity.Returning
falsecauses other entities to be unable to ride this entity. For example,BoatEntityuses this to restrict how many passengers can ride the same boat (2 for normal, 1 for chest boat).This is the opposite of
Entity.canStartRiding(net.minecraft.entity.Entity).- Overrides:
canAddPassengerin classEntity- Returns:
- whether
entitycan ride this entity - See Also:
- Mappings:
Namespace Name Mixin selector named canAddPassengerLnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Zintermediary method_5818Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Zofficial sLccy;s(Lccy;)Z
-
getControllingPassenger
Returns the passenger in control of this entity, ornullif there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger.- Overrides:
getControllingPassengerin classMobEntity- Returns:
- the passenger in control of this entity, or
nullif there is none - See Also:
- Mappings:
Namespace Name Mixin selector named getControllingPassengerLnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;official deLccy;de()Lcdz;
-
getControlledMovementInput
- Overrides:
getControlledMovementInputin classLivingEntity- Mappings:
Namespace Name Mixin selector named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official bLcdz;b(Lcyp;Lfnk;)Lfnk;
-
getGhastRotation
- Mappings:
Namespace Name Mixin selector named getGhastRotationLnet/minecraft/entity/passive/HappyGhastEntity;getGhastRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;intermediary method_70698Lnet/minecraft/class_11187;method_70698(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;official iLcqj;i(Lcdz;)Lfnj;
-
tickControlled
- Overrides:
tickControlledin classLivingEntity- Mappings:
Namespace Name Mixin selector named tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vofficial aLcdz;a(Lcyp;Lfnk;)V
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;official epLcdz;ep()Lcez$b;
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;official aLcdz;a(Lcom/mojang/serialization/Dynamic;)Lcez;
-
mobTick
- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector named mobTickLnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_5958Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)Vofficial aLceb;a(Lawu;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classMobEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
MobEntity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLccy;g()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial e_Lcdz;e_()V
-
getUpdatedPositionTargetRange
private int getUpdatedPositionTargetRange()- Mappings:
Namespace Name Mixin selector named getUpdatedPositionTargetRangeLnet/minecraft/entity/passive/HappyGhastEntity;getUpdatedPositionTargetRange()Iintermediary method_70695Lnet/minecraft/class_11187;method_70695()Iofficial gLLcqj;gL()I
-
updatePositionTarget
private void updatePositionTarget()- Mappings:
Namespace Name Mixin selector named updatePositionTargetLnet/minecraft/entity/passive/HappyGhastEntity;updatePositionTarget()Vintermediary method_70696Lnet/minecraft/class_11187;method_70696()Vofficial gMLcqj;gM()V
-
tickRegeneration
private void tickRegeneration()- Mappings:
Namespace Name Mixin selector named tickRegenerationLnet/minecraft/entity/passive/HappyGhastEntity;tickRegeneration()Vintermediary method_70697Lnet/minecraft/class_11187;method_70697()Vofficial gULcqj;gU()V
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector named sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vofficial afLceb;af()V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classPassiveEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLccy;a(Lamf$a;)V
-
setHasRopes
private void setHasRopes(boolean hasRopes) - Mappings:
Namespace Name Mixin selector named setHasRopesLnet/minecraft/entity/passive/HappyGhastEntity;setHasRopes(Z)Vintermediary method_71011Lnet/minecraft/class_11187;method_71011(Z)Vofficial xLcqj;x(Z)V
-
hasRopes
public boolean hasRopes()- Mappings:
Namespace Name Mixin selector named hasRopesLnet/minecraft/entity/passive/HappyGhastEntity;hasRopes()Zintermediary method_71010Lnet/minecraft/class_11187;method_71010()Zofficial nLcqj;n()Z
-
syncStayingStill
private void syncStayingStill()- Mappings:
Namespace Name Mixin selector named syncStayingStillLnet/minecraft/entity/passive/HappyGhastEntity;syncStayingStill()Vintermediary method_71615Lnet/minecraft/class_11187;method_71615()Vofficial gVLcqj;gV()V
-
isStayingStill
public boolean isStayingStill()- Mappings:
Namespace Name Mixin selector named isStayingStillLnet/minecraft/entity/passive/HappyGhastEntity;isStayingStill()Zintermediary method_71617Lnet/minecraft/class_11187;method_71617()Zofficial sLcqj;s()Z
-
hasQuadLeashAttachmentPoints
public boolean hasQuadLeashAttachmentPoints()- Overrides:
hasQuadLeashAttachmentPointsin classEntity- Mappings:
Namespace Name Mixin selector named hasQuadLeashAttachmentPointsLnet/minecraft/entity/Entity;hasQuadLeashAttachmentPoints()Zintermediary method_70986Lnet/minecraft/class_1297;method_70986()Zofficial dRLccy;dR()Z
-
getHeldQuadLeashOffsets
- Overrides:
getHeldQuadLeashOffsetsin classEntity- Mappings:
Namespace Name Mixin selector named getHeldQuadLeashOffsetsLnet/minecraft/entity/Entity;getHeldQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;intermediary method_70985Lnet/minecraft/class_1297;method_70985()[Lnet/minecraft/class_243;official dQLccy;dQ()[Lfnk;
-
getLeashOffset
- Mappings:
Namespace Name Mixin selector named getLeashOffsetLnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;intermediary method_29919Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;official FLcdx;F()Lfnk;
-
getElasticLeashDistance
public double getElasticLeashDistance()- Mappings:
Namespace Name Mixin selector named getElasticLeashDistanceLnet/minecraft/entity/Leashable;getElasticLeashDistance()Dintermediary method_70990Lnet/minecraft/class_9817;method_70990()Dofficial BLcdx;B()D
-
getLeashSnappingDistance
public double getLeashSnappingDistance()- Mappings:
Namespace Name Mixin selector named getLeashSnappingDistanceLnet/minecraft/entity/Leashable;getLeashSnappingDistance()Dintermediary method_70989Lnet/minecraft/class_9817;method_70989()Dofficial ALcdx;A()D
-
onLongLeashTick
public void onLongLeashTick()- Mappings:
Namespace Name Mixin selector named onLongLeashTickLnet/minecraft/entity/Leashable;onLongLeashTick()Vintermediary method_71006Lnet/minecraft/class_9817;method_71006()Vofficial zLcdx;z()V
-
tickHeldLeash
- Overrides:
tickHeldLeashin classEntity- Mappings:
Namespace Name Mixin selector named tickHeldLeashLnet/minecraft/entity/Entity;tickHeldLeash(Lnet/minecraft/entity/Leashable;)Vintermediary method_70980Lnet/minecraft/class_1297;method_70980(Lnet/minecraft/class_9817;)Vofficial aLccy;a(Lcdx;)V
-
writeCustomData
- Overrides:
writeCustomDatain classAnimalEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLccy;a(Lfhu;)V
-
readCustomData
- Overrides:
readCustomDatain classAnimalEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLccy;a(Lfhs;)V
-
method_72227
public boolean method_72227()- Mappings:
Namespace Name Mixin selector named method_72227Lnet/minecraft/entity/passive/HappyGhastEntity;method_72227()Zintermediary method_72227Lnet/minecraft/class_11187;method_72227()Zofficial gILcqj;gI()Z
-
hasPlayerOnTop
private boolean hasPlayerOnTop()- Mappings:
Namespace Name Mixin selector named hasPlayerOnTopLnet/minecraft/entity/passive/HappyGhastEntity;hasPlayerOnTop()Zintermediary method_71616Lnet/minecraft/class_11187;method_71616()Zofficial gWLcqj;gW()Z
-
createBodyControl
- Overrides:
createBodyControlin classMobEntity- Mappings:
Namespace Name Mixin selector named createBodyControlLnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;intermediary method_5963Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;official NLceb;N()Lcju;
-
isCollidable
Returns whether other entities cannot occupy the same space with this entity.If
true, other entities can stand on this entity without falling.BoatEntityandShulkerEntityhas this behavior.- Overrides:
isCollidablein classEntity- Returns:
- whether other entities cannot occupy the same space with this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named isCollidableLnet/minecraft/entity/Entity;isCollidable(Lnet/minecraft/entity/Entity;)Zintermediary method_30948Lnet/minecraft/class_1297;method_30948(Lnet/minecraft/class_1297;)Zofficial jLccy;j(Lccy;)Z
-
isFlyingVehicle
public boolean isFlyingVehicle()- Overrides:
isFlyingVehiclein classEntity- Mappings:
Namespace Name Mixin selector named isFlyingVehicleLnet/minecraft/entity/Entity;isFlyingVehicle()Zintermediary method_70987Lnet/minecraft/class_1297;method_70987()Zofficial efLccy;ef()Z
-