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/HappyGhastEntity
intermediary net/minecraft/class_11187
official cmt
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private class
private class
private class
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
Nested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashData
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTracker
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final float
private static final float
private static final int
private static final int
private static final TrackedData
<Boolean> private int
private static final TrackedData
<Boolean> private int
Fields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields 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, targetSelector
Fields 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_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_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, wasInPowderSnow
Fields 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_POINTS
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
Fields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLD
Fields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addPassenger
(Entity passenger) Addspassenger
as a passenger.private void
addPassenger
(PlayerEntity player) protected boolean
canAddPassenger
(Entity passenger) Returns whetherentity
can ride this entity.boolean
protected boolean
boolean
canEat()
boolean
canUseSlot
(EquipmentSlot slot) protected float
clampScale
(float scale) protected BodyControl
protected Brain.Profile
<HappyGhastEntity> createChild
(ServerWorld world, PassiveEntity entity) private EntityNavigation
createGhastlingNavigation
(World world) protected Brain
<?> deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected void
fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected SoundEvent
protected Vec3d
getControlledMovementInput
(PlayerEntity controllingPlayer, Vec3d movementInput) Returns the passenger in control of this entity, ornull
if there is none.protected SoundEvent
double
protected Vec2f
getGhastRotation
(LivingEntity controllingEntity) Vec3d[]
protected SoundEvent
getHurtSound
(DamageSource source) double
int
int
float
getPathfindingFavor
(BlockPos pos, WorldView world) float
Returns the sound category for sounds from this entity.float
private int
private boolean
boolean
boolean
hasRopes()
private void
protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.private void
protected void
interactMob
(PlayerEntity player, Hand hand) boolean
isBreedingItem
(ItemStack stack) boolean
boolean
isCollidable
(Entity entity) Returns whether other entities cannot occupy the same space with this entity.boolean
boolean
boolean
protected void
mobTick
(ServerWorld world) protected void
onGrowUp()
void
protected void
playStepSound
(BlockPos pos, BlockState state) void
readCustomData
(ReadView view) protected void
removePassenger
(Entity passenger) Removespassenger
from the passengers.protected void
private void
setHasRopes
(boolean hasRopes) private void
setStillTimeout
(int stillTimeout) protected boolean
private void
void
tick()
Ticks this entity.protected void
tickControlled
(PlayerEntity controllingPlayer, Vec3d movementInput) void
tickHeldLeash
(Leashable leashedEntity) void
private void
void
Allows you to do certain speed and velocity calculations.private void
void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
applyDamage, breed, breed, canBreedWith, canImmediatelyDespawn, createAnimalAttributes, eat, getExperienceToDrop, getLoveTicks, getLovingPlayer, handleStatus, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, playEatSound, resetLoveTicks, setLoveTicks
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, getForcedAge, getHappyTicksRemaining, growUp, growUp, initialize, isBaby, isReadyToBreed, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick
Methods 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, 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, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControls
Methods 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, 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, wouldNotSuffocateInPose
Methods 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, 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, 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, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTable
Methods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, canUseQuadLeashAttachmentPoint, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getLeashHolder, getLeashOffset, getQuadLeashOffsets, isLeashed, mightBeLeashed, readLeashData, setUnresolvedLeashHolderId, writeLeashData
Methods 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_59681
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59681:F
intermediary field_59681
Lnet/minecraft/class_11187;field_59681:F
official ck
Lcmt;ck:F
-
field_59682
public static final int field_59682- See Also:
- Mappings:
Namespace Name Mixin selector named field_59682
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59682:I
intermediary field_59682
Lnet/minecraft/class_11187;field_59682:I
official cl
Lcmt;cl:I
-
field_59683
public static final int field_59683- See Also:
- Mappings:
Namespace Name Mixin selector named field_59683
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59683:I
intermediary field_59683
Lnet/minecraft/class_11187;field_59683:I
official cm
Lcmt;cm:I
-
field_59684
public static final int field_59684- See Also:
- Mappings:
Namespace Name Mixin selector named field_59684
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59684:I
intermediary field_59684
Lnet/minecraft/class_11187;field_59684:I
official co
Lcmt;co:I
-
field_59685
public static final int field_59685- See Also:
- Mappings:
Namespace Name Mixin selector named field_59685
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59685:I
intermediary field_59685
Lnet/minecraft/class_11187;field_59685:I
official cp
Lcmt;cp:I
-
field_59686
public static final int field_59686- See Also:
- Mappings:
Namespace Name Mixin selector named field_59686
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59686:I
intermediary field_59686
Lnet/minecraft/class_11187;field_59686:I
official cq
Lcmt;cq:I
-
field_59687
public static final int field_59687- See Also:
- Mappings:
Namespace Name Mixin selector named field_59687
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59687:I
intermediary field_59687
Lnet/minecraft/class_11187;field_59687:I
official cr
Lcmt;cr:I
-
field_59688
public static final int field_59688- See Also:
- Mappings:
Namespace Name Mixin selector named field_59688
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59688:I
intermediary field_59688
Lnet/minecraft/class_11187;field_59688:I
official cs
Lcmt;cs:I
-
field_61061
private static final int field_61061- See Also:
- Mappings:
Namespace Name Mixin selector named field_61061
Lnet/minecraft/entity/passive/HappyGhastEntity;field_61061:I
intermediary field_61061
Lnet/minecraft/class_11187;field_61061:I
official cv
Lcmt;cv:I
-
field_60551
private static final int field_60551- See Also:
- Mappings:
Namespace Name Mixin selector named field_60551
Lnet/minecraft/entity/passive/HappyGhastEntity;field_60551:I
intermediary field_60551
Lnet/minecraft/class_11187;field_60551:I
official cw
Lcmt;cw:I
-
field_59689
public static final float field_59689- See Also:
- Mappings:
Namespace Name Mixin selector named field_59689
Lnet/minecraft/entity/passive/HappyGhastEntity;field_59689:F
intermediary field_59689
Lnet/minecraft/class_11187;field_59689:F
official ct
Lcmt;ct:F
-
FOOD_PREDICATE
- Mappings:
Namespace Name Mixin selector named FOOD_PREDICATE
Lnet/minecraft/entity/passive/HappyGhastEntity;FOOD_PREDICATE:Ljava/util/function/Predicate;
intermediary field_59690
Lnet/minecraft/class_11187;field_59690:Ljava/util/function/Predicate;
official cu
Lcmt;cu:Ljava/util/function/Predicate;
-
HAS_ROPES
- Mappings:
Namespace Name Mixin selector named HAS_ROPES
Lnet/minecraft/entity/passive/HappyGhastEntity;HAS_ROPES:Lnet/minecraft/entity/data/TrackedData;
intermediary field_60009
Lnet/minecraft/class_11187;field_60009:Lnet/minecraft/class_2940;
official cz
Lcmt;cz:Lalh;
-
STAYING_STILL
- Mappings:
Namespace Name Mixin selector named STAYING_STILL
Lnet/minecraft/entity/passive/HappyGhastEntity;STAYING_STILL:Lnet/minecraft/entity/data/TrackedData;
intermediary field_60549
Lnet/minecraft/class_11187;field_60549:Lnet/minecraft/class_2940;
official cA
Lcmt;cA:Lalh;
-
field_60550
private static final float field_60550- See Also:
- Mappings:
Namespace Name Mixin selector named field_60550
Lnet/minecraft/entity/passive/HappyGhastEntity;field_60550:F
intermediary field_60550
Lnet/minecraft/class_11187;field_60550:F
official cB
Lcmt;cB:F
-
ropeRemovalTimer
private int ropeRemovalTimer- Mappings:
Namespace Name Mixin selector named ropeRemovalTimer
Lnet/minecraft/entity/passive/HappyGhastEntity;ropeRemovalTimer:I
intermediary field_60008
Lnet/minecraft/class_11187;field_60008:I
official cx
Lcmt;cx:I
-
stillTimeout
private int stillTimeout- Mappings:
Namespace Name Mixin selector named stillTimeout
Lnet/minecraft/entity/passive/HappyGhastEntity;stillTimeout:I
intermediary field_60553
Lnet/minecraft/class_11187;field_60553:I
official cy
Lcmt;cy:I
-
-
Constructor Details
-
HappyGhastEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
setStillTimeout
private void setStillTimeout(int stillTimeout) - Mappings:
Namespace Name Mixin selector named setStillTimeout
Lnet/minecraft/entity/passive/HappyGhastEntity;setStillTimeout(I)V
intermediary method_72086
Lnet/minecraft/class_11187;method_72086(I)V
official s
Lcmt;s(I)V
-
initGoals
protected void initGoals() -
initAdultHappyGhast
private void initAdultHappyGhast()- Mappings:
Namespace Name Mixin selector named initAdultHappyGhast
Lnet/minecraft/entity/passive/HappyGhastEntity;initAdultHappyGhast()V
intermediary method_70703
Lnet/minecraft/class_11187;method_70703()V
official gI
Lcmt;gI()V
-
initGhastling
private void initGhastling()- Mappings:
Namespace Name Mixin selector named initGhastling
Lnet/minecraft/entity/passive/HappyGhastEntity;initGhastling()V
intermediary method_70694
Lnet/minecraft/class_11187;method_70694()V
official gJ
Lcmt;gJ()V
-
onGrowUp
protected void onGrowUp()- Overrides:
onGrowUp
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector named onGrowUp
Lnet/minecraft/entity/passive/PassiveEntity;onGrowUp()V
intermediary method_5619
Lnet/minecraft/class_1296;method_5619()V
official h
Lbzc;h()V
-
createHappyGhastAttributes
- Mappings:
Namespace Name Mixin selector named createHappyGhastAttributes
Lnet/minecraft/entity/passive/HappyGhastEntity;createHappyGhastAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_70701
Lnet/minecraft/class_11187;method_70701()Lnet/minecraft/class_5132$class_5133;
official m
Lcmt;m()Lcbr$a;
-
clampScale
protected float clampScale(float scale) - Overrides:
clampScale
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named clampScale
Lnet/minecraft/entity/LivingEntity;clampScale(F)F
intermediary method_56077
Lnet/minecraft/class_1309;method_56077(F)F
official c
Lcam;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:
fall
in 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, ifheightDifference
is negative, it subtracts that value fromEntity.fallDistance
. - Mappings:
Namespace Name Mixin selector named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
official a
Lbzm;a(DZLeeb;Ljb;)V
-
isClimbing
public boolean isClimbing()- Overrides:
isClimbing
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named isClimbing
Lnet/minecraft/entity/LivingEntity;isClimbing()Z
intermediary method_6101
Lnet/minecraft/class_1309;method_6101()Z
official eV
Lcam;eV()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:
travel
in classLivingEntity
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
official k
Lcam;k(Lfis;)V
-
getPathfindingFavor
- Overrides:
getPathfindingFavor
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named getPathfindingFavor
Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
intermediary method_6144
Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
official a
Lcau;a(Ljb;Ldmx;)F
-
canBreatheInWater
public boolean canBreatheInWater()- Overrides:
canBreatheInWater
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named canBreatheInWater
Lnet/minecraft/entity/LivingEntity;canBreatheInWater()Z
intermediary method_6094
Lnet/minecraft/class_1309;method_6094()Z
official ek
Lcam;ek()Z
-
shouldFollowLeash
protected boolean shouldFollowLeash()- Overrides:
shouldFollowLeash
in classPathAwareEntity
- Mappings:
Namespace Name Mixin selector named shouldFollowLeash
Lnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Z
intermediary method_43689
Lnet/minecraft/class_1314;method_43689()Z
official gF
Lcau;gF()Z
-
playStepSound
- Overrides:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
official b
Lbzm;b(Ljb;Leeb;)V
-
getSoundPitch
public float getSoundPitch()- Overrides:
getSoundPitch
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getSoundPitch
Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
intermediary method_6017
Lnet/minecraft/class_1309;method_6017()F
official fl
Lcam;fl()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:
getSoundCategory
in classEntity
- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getSoundCategory
Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
intermediary method_5634
Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
official do
Lbzm;do()Laza;
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelay
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named getMinAmbientSoundDelay
Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
intermediary method_5970
Lnet/minecraft/class_1308;method_5970()I
official W
Lcao;W()I
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
official p
Lcao;p()Layy;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
official e
Lcam;e(Lbyb;)Layy;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
official f_
Lcam;f_()Layy;
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunk
in classMobEntity
- Mappings:
Namespace Name Mixin selector named getLimitPerChunk
Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
intermediary method_5945
Lnet/minecraft/class_1308;method_5945()I
official gk
Lcao;gk()I
-
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector named createChild
Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
intermediary method_5613
Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
official a
Lbzc;a(Laub;Lbzc;)Lbzc;
-
canEat
public boolean canEat()- Overrides:
canEat
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named canEat
Lnet/minecraft/entity/passive/AnimalEntity;canEat()Z
intermediary method_6482
Lnet/minecraft/class_1429;method_6482()Z
official gO
Lcmd;gO()Z
-
getScaleFactor
public float getScaleFactor()- Overrides:
getScaleFactor
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getScaleFactor
Lnet/minecraft/entity/LivingEntity;getScaleFactor()F
intermediary method_17825
Lnet/minecraft/class_1309;method_17825()F
official ep
Lcam;ep()F
-
isBreedingItem
- Specified by:
isBreedingItem
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named isBreedingItem
Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
intermediary method_6481
Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
official i
Lcmd;i(Ldcv;)Z
-
canUseSlot
- Overrides:
canUseSlot
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named canUseSlot
Lnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_56991
Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Z
official e
Lcam;e(Lbzw;)Z
-
canDispenserEquipSlot
- Overrides:
canDispenserEquipSlot
in classMobEntity
- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlot
Lnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_63626
Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Z
official f
Lcam;f(Lbzw;)Z
-
interactMob
- Overrides:
interactMob
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
official b
Lcao;b(Lcut;Lbxi;)Lbxj;
-
addPassenger
- Mappings:
Namespace Name Mixin selector named addPassenger
Lnet/minecraft/entity/passive/HappyGhastEntity;addPassenger(Lnet/minecraft/entity/player/PlayerEntity;)V
intermediary method_70691
Lnet/minecraft/class_11187;method_70691(Lnet/minecraft/class_1657;)V
official g
Lcmt;g(Lcut;)V
-
addPassenger
Addspassenger
as 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:
addPassenger
in classEntity
- Throws:
IllegalStateException
- when the method is called directly- Mappings:
Namespace Name Mixin selector named addPassenger
Lnet/minecraft/entity/Entity;addPassenger(Lnet/minecraft/entity/Entity;)V
intermediary method_5627
Lnet/minecraft/class_1297;method_5627(Lnet/minecraft/class_1297;)V
official q
Lbzm;q(Lbzm;)V
-
removePassenger
Removespassenger
from 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:
removePassenger
in classEntity
- Throws:
IllegalStateException
- when the method is called directly- Mappings:
Namespace Name Mixin selector named removePassenger
Lnet/minecraft/entity/Entity;removePassenger(Lnet/minecraft/entity/Entity;)V
intermediary method_5793
Lnet/minecraft/class_1297;method_5793(Lnet/minecraft/class_1297;)V
official r
Lbzm;r(Lbzm;)V
-
canAddPassenger
Returns whetherentity
can ride this entity.Returning
false
causes other entities to be unable to ride this entity. For example,BoatEntity
uses 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:
canAddPassenger
in classEntity
- Returns:
- whether
entity
can ride this entity - See Also:
- Mappings:
Namespace Name Mixin selector named canAddPassenger
Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
intermediary method_5818
Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
official s
Lbzm;s(Lbzm;)Z
-
getControllingPassenger
Returns the passenger in control of this entity, ornull
if there is none.Rideable entities should override this to return the entity. This is usually
#getFirstPassenger
.- Overrides:
getControllingPassenger
in classMobEntity
- Returns:
- the passenger in control of this entity, or
null
if there is none - See Also:
- Mappings:
Namespace Name Mixin selector named getControllingPassenger
Lnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
intermediary method_5642
Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;
official cY
Lbzm;cY()Lcam;
-
getControlledMovementInput
- Overrides:
getControlledMovementInput
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getControlledMovementInput
Lnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_49482
Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official b
Lcam;b(Lcut;Lfis;)Lfis;
-
getGhastRotation
- Mappings:
Namespace Name Mixin selector named getGhastRotation
Lnet/minecraft/entity/passive/HappyGhastEntity;getGhastRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;
intermediary method_70698
Lnet/minecraft/class_11187;method_70698(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;
official i
Lcmt;i(Lcam;)Lfir;
-
tickControlled
- Overrides:
tickControlled
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named tickControlled
Lnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_49481
Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
official a
Lcam;a(Lcut;Lfis;)V
-
createBrainProfile
- Overrides:
createBrainProfile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named createBrainProfile
Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
intermediary method_28306
Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
official ei
Lcam;ei()Lcbm$b;
-
deserializeBrain
- Overrides:
deserializeBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named deserializeBrain
Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
intermediary method_18867
Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
official a
Lcam;a(Lcom/mojang/serialization/Dynamic;)Lcbm;
-
mobTick
- Overrides:
mobTick
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named mobTick
Lnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_5958
Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)V
official a
Lcao;a(Laub;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in 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 tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official g
Lbzm;g()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
official e_
Lcam;e_()V
-
getUpdatedPositionTargetRange
private int getUpdatedPositionTargetRange()- Mappings:
Namespace Name Mixin selector named getUpdatedPositionTargetRange
Lnet/minecraft/entity/passive/HappyGhastEntity;getUpdatedPositionTargetRange()I
intermediary method_70695
Lnet/minecraft/class_11187;method_70695()I
official gK
Lcmt;gK()I
-
updatePositionTarget
private void updatePositionTarget()- Mappings:
Namespace Name Mixin selector named updatePositionTarget
Lnet/minecraft/entity/passive/HappyGhastEntity;updatePositionTarget()V
intermediary method_70696
Lnet/minecraft/class_11187;method_70696()V
official gL
Lcmt;gL()V
-
tickRegeneration
private void tickRegeneration()- Mappings:
Namespace Name Mixin selector named tickRegeneration
Lnet/minecraft/entity/passive/HappyGhastEntity;tickRegeneration()V
intermediary method_70697
Lnet/minecraft/class_11187;method_70697()V
official gT
Lcmt;gT()V
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugData
in classMobEntity
- Mappings:
Namespace Name Mixin selector named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
official ah
Lcao;ah()V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTracker
in 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 initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbzm;a(Lall$a;)V
-
setHasRopes
private void setHasRopes(boolean hasRopes) - Mappings:
Namespace Name Mixin selector named setHasRopes
Lnet/minecraft/entity/passive/HappyGhastEntity;setHasRopes(Z)V
intermediary method_71011
Lnet/minecraft/class_11187;method_71011(Z)V
official x
Lcmt;x(Z)V
-
hasRopes
public boolean hasRopes()- Mappings:
Namespace Name Mixin selector named hasRopes
Lnet/minecraft/entity/passive/HappyGhastEntity;hasRopes()Z
intermediary method_71010
Lnet/minecraft/class_11187;method_71010()Z
official n
Lcmt;n()Z
-
syncStayingStill
private void syncStayingStill()- Mappings:
Namespace Name Mixin selector named syncStayingStill
Lnet/minecraft/entity/passive/HappyGhastEntity;syncStayingStill()V
intermediary method_71615
Lnet/minecraft/class_11187;method_71615()V
official gU
Lcmt;gU()V
-
isStayingStill
public boolean isStayingStill()- Mappings:
Namespace Name Mixin selector named isStayingStill
Lnet/minecraft/entity/passive/HappyGhastEntity;isStayingStill()Z
intermediary method_71617
Lnet/minecraft/class_11187;method_71617()Z
official t
Lcmt;t()Z
-
hasQuadLeashAttachmentPoints
public boolean hasQuadLeashAttachmentPoints()- Overrides:
hasQuadLeashAttachmentPoints
in classEntity
- Mappings:
Namespace Name Mixin selector named hasQuadLeashAttachmentPoints
Lnet/minecraft/entity/Entity;hasQuadLeashAttachmentPoints()Z
intermediary method_70986
Lnet/minecraft/class_1297;method_70986()Z
official dL
Lbzm;dL()Z
-
getHeldQuadLeashOffsets
- Overrides:
getHeldQuadLeashOffsets
in classEntity
- Mappings:
Namespace Name Mixin selector named getHeldQuadLeashOffsets
Lnet/minecraft/entity/Entity;getHeldQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;
intermediary method_70985
Lnet/minecraft/class_1297;method_70985()[Lnet/minecraft/class_243;
official dK
Lbzm;dK()[Lfis;
-
getLeashOffset
- Mappings:
Namespace Name Mixin selector named getLeashOffset
Lnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
intermediary method_29919
Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;
official F
Lcak;F()Lfis;
-
getElasticLeashDistance
public double getElasticLeashDistance()- Mappings:
Namespace Name Mixin selector named getElasticLeashDistance
Lnet/minecraft/entity/Leashable;getElasticLeashDistance()D
intermediary method_70990
Lnet/minecraft/class_9817;method_70990()D
official B
Lcak;B()D
-
getLeashSnappingDistance
public double getLeashSnappingDistance()- Mappings:
Namespace Name Mixin selector named getLeashSnappingDistance
Lnet/minecraft/entity/Leashable;getLeashSnappingDistance()D
intermediary method_70989
Lnet/minecraft/class_9817;method_70989()D
official A
Lcak;A()D
-
onLongLeashTick
public void onLongLeashTick()- Mappings:
Namespace Name Mixin selector named onLongLeashTick
Lnet/minecraft/entity/Leashable;onLongLeashTick()V
intermediary method_71006
Lnet/minecraft/class_9817;method_71006()V
official z
Lcak;z()V
-
tickHeldLeash
- Overrides:
tickHeldLeash
in classEntity
- Mappings:
Namespace Name Mixin selector named tickHeldLeash
Lnet/minecraft/entity/Entity;tickHeldLeash(Lnet/minecraft/entity/Leashable;)V
intermediary method_70980
Lnet/minecraft/class_1297;method_70980(Lnet/minecraft/class_9817;)V
official a
Lbzm;a(Lcak;)V
-
writeCustomData
- Overrides:
writeCustomData
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)V
-
readCustomData
- Overrides:
readCustomData
in classAnimalEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
method_72227
public boolean method_72227()- Mappings:
Namespace Name Mixin selector named method_72227
Lnet/minecraft/entity/passive/HappyGhastEntity;method_72227()Z
intermediary method_72227
Lnet/minecraft/class_11187;method_72227()Z
official gH
Lcmt;gH()Z
-
hasPlayerOnTop
private boolean hasPlayerOnTop()- Mappings:
Namespace Name Mixin selector named hasPlayerOnTop
Lnet/minecraft/entity/passive/HappyGhastEntity;hasPlayerOnTop()Z
intermediary method_71616
Lnet/minecraft/class_11187;method_71616()Z
official gV
Lcmt;gV()Z
-
createBodyControl
- Overrides:
createBodyControl
in classMobEntity
- Mappings:
Namespace Name Mixin selector named createBodyControl
Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
intermediary method_5963
Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
official O
Lcao;O()Lcgg;
-
isCollidable
Returns whether other entities cannot occupy the same space with this entity.If
true
, other entities can stand on this entity without falling.BoatEntity
andShulkerEntity
has this behavior.- Overrides:
isCollidable
in classEntity
- Returns:
- whether other entities cannot occupy the same space with this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named isCollidable
Lnet/minecraft/entity/Entity;isCollidable(Lnet/minecraft/entity/Entity;)Z
intermediary method_30948
Lnet/minecraft/class_1297;method_30948(Lnet/minecraft/class_1297;)Z
official j
Lbzm;j(Lbzm;)Z
-
isFlyingVehicle
public boolean isFlyingVehicle()- Overrides:
isFlyingVehicle
in classEntity
- Mappings:
Namespace Name Mixin selector named isFlyingVehicle
Lnet/minecraft/entity/Entity;isFlyingVehicle()Z
intermediary method_70987
Lnet/minecraft/class_1297;method_70987()Z
official dZ
Lbzm;dZ()Z
-