Class GuardianEntity
- All Implemented Interfaces:
Attackable,DataTracked,Monster,Targeter,ScoreHolder,CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
ElderGuardianEntity
- Mappings:
Namespace Name official ciyintermediary net/minecraft/class_1577named net/minecraft/entity/mob/GuardianEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate static classprivate static classprivate static classNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_9494, Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Integer> private intprivate @Nullable LivingEntity(package private) final booleanprivate intprivate intprivate booleanprivate floatprivate floatprivate static final TrackedData<Boolean> private floatprivate floatprivate floatprotected @Nullable WanderAroundGoalprotected static final intFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, bodyArmorDropChance, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, fallFlyingTicks, field_30063, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_50407, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, 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, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, field_50386, field_50387, field_50388, field_50389, field_50390, field_50391, field_50392, field_50393, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.entity.mob.Monster
NORMAL_MONSTER_XP, SMALL_MONSTER_XP, STRONG_MONSTER_XP, STRONGER_MONSTER_XP, WITHER_XP, ZERO_XPFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionGuardianEntity(EntityType<? extends GuardianEntity> entityType, World world, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyDamage(DamageSource source, float amount) booleanstatic booleancanSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleancanSpawn(WorldAccess world, SpawnReason spawnReason) booleanprotected BodyControlprotected EntityNavigationcreateNavigation(World world) booleandamage(DamageSource source, float amount) Applies a damage to this entity.protected SoundEventfloatgetBeamProgress(float tickDelta) floatReturns the passenger in control of this entity, ornullif there is none.protected SoundEventprotected SoundEventprotected SoundEventgetHurtSound(DamageSource source) intReturns the maximum degrees which the pitch can change when looking.intprotected Entity.MoveEffectReturns the possible effect(s) of an entity moving.protected Vec3dgetPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) floatgetPathfindingFavor(BlockPos pos, WorldView world) floatgetSpikesExtension(float tickDelta) floatgetTailAngle(float tickDelta) intbooleanprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidprotected voidprotected double(package private) booleanmethod_58883(@Nullable Entity entity) static GuardianEntitymethod_58885(EntityType<? extends GuardianEntity> entityType, World world) static GuardianEntitymethod_58886(EntityType<? extends GuardianEntity> entityType, World world) booleanprivate booleanvoidonTrackedDataSet(TrackedData<?> data) (package private) voidsetBeamTarget(int entityId) (package private) voidsetSpikesRetracted(boolean retracted) voidvoidAllows you to do certain speed and velocity calculations.Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getFallSounds, getProjectileType, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounterMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canTarget, canUseRangedWeapon, canUseSlot, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, equipStack, getAllArmorItems, getArmorItems, getAttackBox, getBodyArmor, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootTable, getLootTableId, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasArmorSlot, hasPositionTarget, initEquipment, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isHorseArmor, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, mightBeLeashed, mobTick, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, readCustomDataFromNbt, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageEquipment, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropItem, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEquippedItems, getFallFlyingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasInvertedHealingAndHarm, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lookAt, markEffectsDirty, method_58831, method_58862, method_58864, method_58866, method_58868, method_58869, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getProjectileDeflector, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, method_58830, method_58832, method_58833, method_58837, method_58842, method_58843, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
WARMUP_TIME
protected static final int WARMUP_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official cLciy;c:Iintermediary field_30470Lnet/minecraft/class_1577;field_30470:Inamed WARMUP_TIMELnet/minecraft/entity/mob/GuardianEntity;WARMUP_TIME:I
-
SPIKES_RETRACTED
- Mappings:
Namespace Name Mixin selector official bLciy;b:Lajy;intermediary field_7280Lnet/minecraft/class_1577;field_7280:Lnet/minecraft/class_2940;named SPIKES_RETRACTEDLnet/minecraft/entity/mob/GuardianEntity;SPIKES_RETRACTED:Lnet/minecraft/entity/data/TrackedData;
-
BEAM_TARGET_ID
- Mappings:
Namespace Name Mixin selector official eLciy;e:Lajy;intermediary field_7290Lnet/minecraft/class_1577;field_7290:Lnet/minecraft/class_2940;named BEAM_TARGET_IDLnet/minecraft/entity/mob/GuardianEntity;BEAM_TARGET_ID:Lnet/minecraft/entity/data/TrackedData;
-
tailAngle
private float tailAngle- Mappings:
Namespace Name Mixin selector official chLciy;ch:Fintermediary field_7286Lnet/minecraft/class_1577;field_7286:Fnamed tailAngleLnet/minecraft/entity/mob/GuardianEntity;tailAngle:F
-
prevTailAngle
private float prevTailAngle- Mappings:
Namespace Name Mixin selector official ciLciy;ci:Fintermediary field_7284Lnet/minecraft/class_1577;field_7284:Fnamed prevTailAngleLnet/minecraft/entity/mob/GuardianEntity;prevTailAngle:F
-
spikesExtensionRate
private float spikesExtensionRate- Mappings:
Namespace Name Mixin selector official cjLciy;cj:Fintermediary field_7281Lnet/minecraft/class_1577;field_7281:Fnamed spikesExtensionRateLnet/minecraft/entity/mob/GuardianEntity;spikesExtensionRate:F
-
spikesExtension
private float spikesExtension- Mappings:
Namespace Name Mixin selector official ckLciy;ck:Fintermediary field_7285Lnet/minecraft/class_1577;field_7285:Fnamed spikesExtensionLnet/minecraft/entity/mob/GuardianEntity;spikesExtension:F
-
prevSpikesExtension
private float prevSpikesExtension- Mappings:
Namespace Name Mixin selector official clLciy;cl:Fintermediary field_7287Lnet/minecraft/class_1577;field_7287:Fnamed prevSpikesExtensionLnet/minecraft/entity/mob/GuardianEntity;prevSpikesExtension:F
-
cachedBeamTarget
- Mappings:
Namespace Name Mixin selector official cmLciy;cm:Lbso;intermediary field_7288Lnet/minecraft/class_1577;field_7288:Lnet/minecraft/class_1309;named cachedBeamTargetLnet/minecraft/entity/mob/GuardianEntity;cachedBeamTarget:Lnet/minecraft/entity/LivingEntity;
-
beamTicks
private int beamTicks- Mappings:
Namespace Name Mixin selector official cnLciy;cn:Iintermediary field_7282Lnet/minecraft/class_1577;field_7282:Inamed beamTicksLnet/minecraft/entity/mob/GuardianEntity;beamTicks:I
-
flopping
private boolean flopping- Mappings:
Namespace Name Mixin selector official coLciy;co:Zintermediary field_7283Lnet/minecraft/class_1577;field_7283:Znamed floppingLnet/minecraft/entity/mob/GuardianEntity;flopping:Z
-
wanderGoal
- Mappings:
Namespace Name Mixin selector official dLciy;d:Lcai;intermediary field_7289Lnet/minecraft/class_1577;field_7289:Lnet/minecraft/class_1379;named wanderGoalLnet/minecraft/entity/mob/GuardianEntity;wanderGoal:Lnet/minecraft/entity/ai/goal/WanderAroundGoal;
-
field_50423
final boolean field_50423- Mappings:
Namespace Name Mixin selector official cpLciy;cp:Zintermediary field_50423Lnet/minecraft/class_1577;field_50423:Znamed field_50423Lnet/minecraft/entity/mob/GuardianEntity;field_50423:Z
-
field_50424
private int field_50424- Mappings:
Namespace Name Mixin selector official cqLciy;cq:Iintermediary field_50424Lnet/minecraft/class_1577;field_50424:Inamed field_50424Lnet/minecraft/entity/mob/GuardianEntity;field_50424:I
-
field_50425
private int field_50425- Mappings:
Namespace Name Mixin selector official crLciy;cr:Iintermediary field_50425Lnet/minecraft/class_1577;field_50425:Inamed field_50425Lnet/minecraft/entity/mob/GuardianEntity;field_50425:I
-
-
Constructor Details
-
GuardianEntity
-
-
Method Details
-
method_58885
public static GuardianEntity method_58885(EntityType<? extends GuardianEntity> entityType, World world) - Mappings:
Namespace Name Mixin selector official cLciy;c(Lbsb;Ldca;)Lciy;intermediary method_58885Lnet/minecraft/class_1577;method_58885(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Lnet/minecraft/class_1577;named method_58885Lnet/minecraft/entity/mob/GuardianEntity;method_58885(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Lnet/minecraft/entity/mob/GuardianEntity;
-
method_58886
public static GuardianEntity method_58886(EntityType<? extends GuardianEntity> entityType, World world) - Mappings:
Namespace Name Mixin selector official dLciy;d(Lbsb;Ldca;)Lciy;intermediary method_58886Lnet/minecraft/class_1577;method_58886(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Lnet/minecraft/class_1577;named method_58886Lnet/minecraft/entity/mob/GuardianEntity;method_58886(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Lnet/minecraft/entity/mob/GuardianEntity;
-
method_58887
public boolean method_58887()- Mappings:
Namespace Name Mixin selector official gzLciy;gz()Zintermediary method_58887Lnet/minecraft/class_1577;method_58887()Znamed method_58887Lnet/minecraft/entity/mob/GuardianEntity;method_58887()Z
-
initGoals
protected void initGoals() -
createGuardianAttributes
- Mappings:
Namespace Name Mixin selector official gALciy;gA()Lbtu$a;intermediary method_26915Lnet/minecraft/class_1577;method_26915()Lnet/minecraft/class_5132$class_5133;named createGuardianAttributesLnet/minecraft/entity/mob/GuardianEntity;createGuardianAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
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 official cVLbrv;cV()Lbso;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;named getControllingPassengerLnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
-
applyDamage
- Overrides:
applyDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official fLbso;f(Lbqt;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vnamed applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lakc$a;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
-
areSpikesRetracted
public boolean areSpikesRetracted()- Mappings:
Namespace Name Mixin selector official gBLciy;gB()Zintermediary method_7058Lnet/minecraft/class_1577;method_7058()Znamed areSpikesRetractedLnet/minecraft/entity/mob/GuardianEntity;areSpikesRetracted()Z
-
setSpikesRetracted
void setSpikesRetracted(boolean retracted) - Mappings:
Namespace Name Mixin selector official wLciy;w(Z)Vintermediary method_7054Lnet/minecraft/class_1577;method_7054(Z)Vnamed setSpikesRetractedLnet/minecraft/entity/mob/GuardianEntity;setSpikesRetracted(Z)V
-
getWarmupTime
public int getWarmupTime()- Mappings:
Namespace Name Mixin selector official tLciy;t()Iintermediary method_7055Lnet/minecraft/class_1577;method_7055()Inamed getWarmupTimeLnet/minecraft/entity/mob/GuardianEntity;getWarmupTime()I
-
setBeamTarget
void setBeamTarget(int entityId) - Mappings:
Namespace Name Mixin selector official bLciy;b(I)Vintermediary method_7060Lnet/minecraft/class_1577;method_7060(I)Vnamed setBeamTargetLnet/minecraft/entity/mob/GuardianEntity;setBeamTarget(I)V
-
hasBeamTarget
public boolean hasBeamTarget()- Mappings:
Namespace Name Mixin selector official gCLciy;gC()Zintermediary method_7063Lnet/minecraft/class_1577;method_7063()Znamed hasBeamTargetLnet/minecraft/entity/mob/GuardianEntity;hasBeamTarget()Z
-
getBeamTarget
- Mappings:
Namespace Name Mixin selector official gDLciy;gD()Lbso;intermediary method_7052Lnet/minecraft/class_1577;method_7052()Lnet/minecraft/class_1309;named getBeamTargetLnet/minecraft/entity/mob/GuardianEntity;getBeamTarget()Lnet/minecraft/entity/LivingEntity;
-
onTrackedDataSet
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLakb;a(Lajy;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelayin classMobEntity- Mappings:
Namespace Name Mixin selector official OLbsq;O()Iintermediary method_5970Lnet/minecraft/class_1308;method_5970()Inamed getMinAmbientSoundDelayLnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official uLbsq;u()Lavn;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official dLbso;d(Lbqt;)Lavn;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official n_Lbso;n_()Lavn;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffectin classEntity- Mappings:
Namespace Name Mixin selector official bfLbrv;bf()Lbrv$c;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classHostileEntity- Mappings:
Namespace Name Mixin selector official aLbsw;a(Lir;Ldcd;)Fintermediary method_6144Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)Fnamed getPathfindingFavorLnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
-
canSpawn
- Overrides:
canSpawnin classPathAwareEntity- Mappings:
Namespace Name Mixin selector official aLbsq;a(Ldcb;Lbss;)Zintermediary method_5979Lnet/minecraft/class_1308;method_5979(Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;)Znamed canSpawnLnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;)Z
-
method_58867
protected void method_58867()- Overrides:
method_58867in classLivingEntity- Mappings:
Namespace Name Mixin selector official edLbso;ed()Vintermediary method_58867Lnet/minecraft/class_1309;method_58867()Vnamed method_58867Lnet/minecraft/entity/LivingEntity;method_58867()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official m_Lbso;m_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
method_58883
- Mappings:
Namespace Name Mixin selector official bLciy;b(Lbrv;)Zintermediary method_58883Lnet/minecraft/class_1577;method_58883(Lnet/minecraft/class_1297;)Znamed method_58883Lnet/minecraft/entity/mob/GuardianEntity;method_58883(Lnet/minecraft/entity/Entity;)Z
-
method_58888
private boolean method_58888()- Mappings:
Namespace Name Mixin selector official rLciy;r()Zintermediary method_58888Lnet/minecraft/class_1577;method_58888()Znamed method_58888Lnet/minecraft/entity/mob/GuardianEntity;method_58888()Z
-
getFlopSound
- Mappings:
Namespace Name Mixin selector official xLciy;x()Lavn;intermediary method_7062Lnet/minecraft/class_1577;method_7062()Lnet/minecraft/class_3414;named getFlopSoundLnet/minecraft/entity/mob/GuardianEntity;getFlopSound()Lnet/minecraft/sound/SoundEvent;
-
getTailAngle
public float getTailAngle(float tickDelta) - Mappings:
Namespace Name Mixin selector official GLciy;G(F)Fintermediary method_7057Lnet/minecraft/class_1577;method_7057(F)Fnamed getTailAngleLnet/minecraft/entity/mob/GuardianEntity;getTailAngle(F)F
-
getSpikesExtension
public float getSpikesExtension(float tickDelta) - Mappings:
Namespace Name Mixin selector official HLciy;H(F)Fintermediary method_7053Lnet/minecraft/class_1577;method_7053(F)Fnamed getSpikesExtensionLnet/minecraft/entity/mob/GuardianEntity;getSpikesExtension(F)F
-
getBeamProgress
public float getBeamProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official ILciy;I(F)Fintermediary method_7061Lnet/minecraft/class_1577;method_7061(F)Fnamed getBeamProgressLnet/minecraft/entity/mob/GuardianEntity;getBeamProgress(F)F
-
getBeamTicks
public float getBeamTicks()- Mappings:
Namespace Name Mixin selector official gELciy;gE()Fintermediary method_48161Lnet/minecraft/class_1577;method_48161()Fnamed getBeamTicksLnet/minecraft/entity/mob/GuardianEntity;getBeamTicks()F
-
canSpawn
-
canSpawn
public static boolean canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official bLciy;b(Lbsb;Ldcb;Lbss;Lir;Layt;)Zintermediary method_20676Lnet/minecraft/class_1577;method_20676(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Znamed canSpawnLnet/minecraft/entity/mob/GuardianEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lbqt;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getMaxLookPitchChange
public int getMaxLookPitchChange()Returns the maximum degrees which the pitch can change when looking.This is used by the look control.
It can return from
1for entities that can hardly raise their head, like axolotls or dolphins, or180for entities that can freely raise and lower their head, like guardians. The default return value is40.- Overrides:
getMaxLookPitchChangein classMobEntity- Returns:
- the maximum degrees which the pitch can change when looking
- Mappings:
Namespace Name Mixin selector official ZLbsq;Z()Iintermediary method_5978Lnet/minecraft/class_1308;method_5978()Inamed getMaxLookPitchChangeLnet/minecraft/entity/mob/MobEntity;getMaxLookPitchChange()I
-
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 flying entities.
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official aLbso;a(Lewu;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
createBodyControl
- Overrides:
createBodyControlin classMobEntity- Mappings:
Namespace Name Mixin selector official ELbsq;E()Lbyj;intermediary method_5963Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;named createBodyControlLnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
-
getPassengerAttachmentPos
protected Vec3d getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor) - Overrides:
getPassengerAttachmentPosin classEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lbrv;Lbry;F)Lewu;intermediary method_52533Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lnet/minecraft/class_243;named getPassengerAttachmentPosLnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lnet/minecraft/util/math/Vec3d;
-
method_58880
protected double method_58880()- Mappings:
Namespace Name Mixin selector official gyLciy;gy()Dintermediary method_58880Lnet/minecraft/class_1577;method_58880()Dnamed method_58880Lnet/minecraft/entity/mob/GuardianEntity;method_58880()D
-