public class EntityGuardian extends EntityMob
Modifier and Type | Field and Description |
---|---|
protected float |
clientSideSpikesAnimation |
protected float |
clientSideSpikesAnimationO |
protected float |
clientSideTailAnimation |
protected float |
clientSideTailAnimationO |
protected float |
clientSideTailAnimationSpeed |
protected EntityAIWander |
wander |
experienceValue, inventoryArmorDropChances, inventoryHandsDropChances, jumpHelper, livingSoundTime, lookHelper, moveHelper, navigator, targetTasks, tasks
activeItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, field_208001_bq, field_208002_br, hurtTime, idleTime, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, NAMETAG_DISTANCE, newPosRotationIncrements, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, spinAttackDuration, SWIM_SPEED, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180
addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, world
MOB_SELECTOR, VISIBLE_MOB_SELECTOR
Modifier | Constructor and Description |
---|---|
protected |
EntityGuardian(EntityType<?> p_i48554_1_,
World p_i48554_2_) |
|
EntityGuardian(World worldIn) |
canDropLoot, getFallSound, getSoundCategory, getSplashSound, getSwimSound, isPreventingPlayerRest, tick
detachHome, followLeashSpeed, getBlockPathWeight, getHomePosition, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, onLeashDistance, setHomePosAndDistance, updateLeashedState
attackEntityAsMob, baseTick, canAttackClass, canBeLeashedTo, canBeSteered, canDespawn, canEquipItem, canPassengerSteer, canPickUpLoot, checkDespawn, clearLeashed, createBodyHelper, dropEquipment, dropFewItems, dropLoot, eatGrassBonus, enablePersistence, faceEntity, func_204209_c, getArmorByChance, getArmorInventoryList, getAttackTarget, getDropChance, getDropItem, getEntitySenses, getExperiencePoints, getHeldEquipment, getHorizontalFaceSpeed, getItemStackFromSlot, getJumpHelper, getLeashed, getLeashHolder, getLookHelper, getMaxFallHeight, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPathPriority, getPrimaryHand, getRenderSizeModifier, getSlotForItemStack, handleFluidJump, handleStatusUpdate, isAIDisabled, isInDaylight, isItemStackInSlot, isLeftHanded, isNoDespawnRequired, isNotColliding, isServerWorld, onInitialSpawn, playAmbientSound, playHurtSound, processInitialInteract, processInteract, readAdditional, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setDropChance, setEnchantmentBasedOnDifficulty, setEquipmentBasedOnDifficulty, setItemStackToSlot, setLeashHolder, setLeftHanded, setMoveForward, setMoveStrafing, setMoveVertical, setNoAI, setPathPriority, shouldExchangeEquipment, spawnExplosionParticle, startRiding, updateAITasks, updateDistance, updateEntityActionState, updateEquipmentIfNeeded, writeAdditional
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attemptTeleport, blockUsingShield, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBeRiddenInWater, canEntityBeSeen, collideWithEntity, collideWithNearbyEntities, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dismountEntity, fall, frostWalk, func_195061_cb, func_203010_cG, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributeMap, getCapability, getCombatTracker, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getWaterSlowDown, getYaw, hasItemInSlot, heal, isActiveItemStackBlocking, isAlive, isChild, isElytraFlying, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, isSpinAttacking, jump, knockBack, lerp, lookAt, markPotionsDirty, markVelocityChanged, moveRelative, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onKillCommand, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, remove, removeActivePotionEffect, removePotionEffect, renderBrokenItemStack, resetActiveHand, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setArrowCountInEntity, setHeadRotation, setHealth, setHeldItem, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, spinAttack, startSpinAttack, stopActiveHand, stopRiding, swingArm, updateActiveHand, updateArmSwingProgress, updateFallState, updateItemUse, updatePotionEffects, updatePotionMetadata, updateRidden, updateSpinAttack
addPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyEntityCollision, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, awardKillScore, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, func_212321_a, getAdjustedHorizontalFacing, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyePosition, getFireImmuneTicks, getFlag, getForward, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxInPortalTime, getMirroredYaw, getMountedYOffset, getName, getParts, getPassengers, getPermissionLevel, getPitch, getPitchYaw, getPortalCooldown, getPosition, getPositionVector, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getServer, getSubmergedHeight, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, getYOffset, handleFluidAcceleration, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCustomNameVisible, isEntityEqual, isEntityInsideOpaqueBlock, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isPassenger, isPassenger, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isSwimming, isWet, makeFlySound, move, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillEntity, onRemovedFromWorld, onStruckByLightning, playFlySound, playSound, playStepSound, playSwimSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, read, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setDropItemsWhenDead, setEntityId, setFire, setFlag, setGlowing, setInvisible, setInvulnerable, setInWeb, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRotation, setSilent, setSize, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, toString, updatePassenger, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeId
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCaps
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
canBeRiddenInWater, canRiderInteract, deserializeNBT, getEntity, getPickedResult, isCreatureType, serializeNBT, shouldRenderInPass, shouldRiderSit
getCapability
protected float clientSideTailAnimation
protected float clientSideTailAnimationO
protected float clientSideTailAnimationSpeed
protected float clientSideSpikesAnimation
protected float clientSideSpikesAnimationO
protected EntityAIWander wander
protected EntityGuardian(EntityType<?> p_i48554_1_, World p_i48554_2_)
public EntityGuardian(World worldIn)
protected void initEntityAI()
initEntityAI
in class EntityLiving
protected void registerAttributes()
registerAttributes
in class EntityMob
protected PathNavigate createNavigator(World worldIn)
createNavigator
in class EntityLiving
protected void registerData()
registerData
in class EntityLiving
public boolean canBreatheUnderwater()
canBreatheUnderwater
in class EntityLivingBase
public CreatureAttribute getCreatureAttribute()
getCreatureAttribute
in class EntityLivingBase
public boolean isMoving()
public int getAttackDuration()
public boolean hasTargetedEntity()
@Nullable public EntityLivingBase getTargetedEntity()
public void notifyDataManagerChange(DataParameter<?> key)
notifyDataManagerChange
in class EntityLivingBase
public int getTalkInterval()
getTalkInterval
in class EntityLiving
protected SoundEvent getAmbientSound()
getAmbientSound
in class EntityLiving
protected SoundEvent getHurtSound(DamageSource damageSourceIn)
getHurtSound
in class EntityMob
protected SoundEvent getDeathSound()
getDeathSound
in class EntityMob
protected boolean canTriggerWalking()
canTriggerWalking
in class Entity
public float getEyeHeight()
getEyeHeight
in class Entity
public float getBlockPathWeight(BlockPos p_205022_1_, IWorldReaderBase worldIn)
getBlockPathWeight
in class EntityMob
public void livingTick()
livingTick
in class EntityMob
protected SoundEvent getFlopSound()
public float getTailAnimation(float p_175471_1_)
public float getSpikesAnimation(float p_175469_1_)
public float getAttackAnimationScale(float p_175477_1_)
@Nullable protected ResourceLocation getLootTable()
getLootTable
in class EntityLiving
protected boolean isValidLightLevel()
isValidLightLevel
in class EntityMob
public boolean isNotColliding(IWorldReaderBase worldIn)
isNotColliding
in class EntityLiving
public boolean canSpawn(IWorld worldIn, boolean p_205020_2_)
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom
in class EntityMob
public int getVerticalFaceSpeed()
getVerticalFaceSpeed
in class EntityLiving
public void travel(float strafe, float vertical, float forward)
travel
in class EntityLivingBase