Package net.minecraft.entity.passive
Class HappyGhastEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,EquipmentHolder,Leashable,Targeter,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/passive/HappyGhastEntityintermediary net/minecraft/class_11187official ckz
-
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.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 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, DEFAULT_CAN_PICKUP_LOOT_CHANCE, experiencePoints, field_35039, goalSelector, jumpControl, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_SLOT_ID, 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, 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, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, random, ridingCooldown, 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 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.floatprivate intbooleanbooleanbooleanhasRopes()private voidprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.private voidprotected voidinteractMob(PlayerEntity player, Hand hand) booleanisBreedingItem(ItemStack stack) booleanbooleanReturns whether other entities cannot occupy the same space with this entity.booleanprotected voidmobTick(ServerWorld world) protected voidonGrowUp()voidprotected voidplayStepSound(BlockPos pos, BlockState state) protected voidremovePassenger(Entity passenger) Removespassengerfrom the passengers.protected voidprivate voidsetHasRopes(boolean hasRopes) protected booleanprotected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidtickHeldLeash(Leashable leashedEntity) voidprivate voidvoidAllows you to do certain speed and velocity calculations.private voidMethods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, handleStatus, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, readCustomData, resetLoveTicks, setLoveTicks, writeCustomDataMethods 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, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createEquipmentInventory, createMobAttributes, createNavigation, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, 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, isDisallowedInPeaceful, 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, tick, 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, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createEquipment, createLivingAttributes, createTracker, damage, damageArmor, damageEquipment, damageHelmet, disableExperienceDropping, drop, dropExperience, dropInventory, dropItem, endCombat, enterCombat, equipStack, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, 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, 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, getSlotForHand, getSoundVolume, 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, 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, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, 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, getServer, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, 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, 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, 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, updateTrackedPosition, 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, 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 bKLckz;bK: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 bLLckz;bL: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 bMLckz;bM: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 bOLckz;bO: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 bPLckz;bP: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 bQLckz;bQ: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 bRLckz;bR: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 bSLckz;bS:I
-
field_59691
private static final float field_59691- See Also:
- Mappings:
Namespace Name Mixin selector named field_59691Lnet/minecraft/entity/passive/HappyGhastEntity;field_59691:Fintermediary field_59691Lnet/minecraft/class_11187;field_59691:Fofficial bVLckz;bV:F
-
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 bTLckz;bT: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 bULckz;bU: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 bXLckz;bX:Lakz;
-
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 bWLckz;bW: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>Lbxs;<init>(Lbyb;Ldkz;)V
-
-
Method Details
-
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 gILckz;gI()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 gJLckz;gJ()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 hLbxi;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 mLckz;m()Lbzx$a;
-
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 aLbxs;a(DZLecg;Liy;)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 eWLbys;eW()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 kLbys;k(Lfgx;)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 aLbza;a(Liy;Ldlc;)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 elLbys;el()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 gGLbza;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 bLbxs;b(Liy;Lecg;)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 fmLbys;fm()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 doLbxs;do()Laxh;
-
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 WLbyu;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 pLbyu;p()Laxf;
-
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 eLbys;e(Lbwh;)Laxf;
-
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 e_Lbys;e_()Laxf;
-
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 glLbyu;gl()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 aLbxi;a(Lasi;Lbxi;)Lbxi;
-
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 gPLckj;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 eqLbys;eq()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 iLckj;i(Ldba;)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 eLbys;e(Lbyc;)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 fLbys;f(Lbyc;)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 bLbyu;b(Lcsy;Lbvo;)Lbvp;
-
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 aLckz;a(Lcsy;)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 pLbxs;p(Lbxs;)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 qLbxs;q(Lbxs;)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 rLbxs;r(Lbxs;)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 cYLbxs;cY()Lbys;
-
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 bLbys;b(Lcsy;Lfgx;)Lfgx;
-
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 iLckz;i(Lbys;)Lfgw;
-
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 aLbys;a(Lcsy;Lfgx;)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 ejLbys;ej()Lbzs$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 aLbys;a(Lcom/mojang/serialization/Dynamic;)Lbzs;
-
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 aLbyu;a(Lasi;)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 d_Lbys;d_()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 gKLckz;gK()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 gLLckz;gL()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 gMLckz;gM()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 ahLbyu;ah()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 aLbxs;a(Lald$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 xLckz;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 nLckz;n()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 dLLbxs;dL()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 dKLbxs;dK()[Lfgx;
-
getElasticLeashDistance
public double getElasticLeashDistance()- Mappings:
Namespace Name Mixin selector named getElasticLeashDistanceLnet/minecraft/entity/Leashable;getElasticLeashDistance()Dintermediary method_70990Lnet/minecraft/class_9817;method_70990()Dofficial BLbyq;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 ALbyq;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 zLbyq;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 aLbxs;a(Lbyq;)V
-
hasPlayerOnTop
public boolean hasPlayerOnTop()- Mappings:
Namespace Name Mixin selector named hasPlayerOnTopLnet/minecraft/entity/passive/HappyGhastEntity;hasPlayerOnTop()Zintermediary method_70702Lnet/minecraft/class_11187;method_70702()Zofficial tLckz;t()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 OLbyu;O()Lcem;
-
isCollidable
public boolean 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()Zintermediary method_30948Lnet/minecraft/class_1297;method_30948()Zofficial bOLbxs;bO()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 dZLbxs;dZ()Z