Class RaiderEntity
- All Implemented Interfaces:
- Attackable,- Monster,- Targeter,- CommandOutput,- Nameable,- EntityLike
- Direct Known Subclasses:
- IllagerEntity,- RavagerEntity,- WitchEntity
- Mappings:
- Namespace - Name - official - bzw- intermediary - net/minecraft/class_3763- named - net/minecraft/entity/raid/RaiderEntity
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static classclassprotected classclassNested classes/interfaces inherited from class net.minecraft.entity.mob.PatrolEntityPatrolEntity.PatrolGoal<T extends PatrolEntity>Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntityLivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.EntityEntity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate booleanprotected static final TrackedData<Boolean>(package private) static final Predicate<ItemEntity>private intprivate intFields inherited from class net.minecraft.entity.mob.PathAwareEntityDEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntityambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, 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.LivingEntityactiveItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, 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, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, 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.Entityage, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, 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.CommandOutputDUMMYFields inherited from interface net.minecraft.entity.mob.MonsterNORMAL_MONSTER_XP, SMALL_MONSTER_XP, STRONG_MONSTER_XP, STRONGER_MONSTER_XP, WITHER_XP, ZERO_XP
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedRaiderEntity(EntityType<? extends RaiderEntity> type, World world) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidaddBonusForWave(int wave, boolean unused) booleancanImmediatelyDespawn(double distanceSquared) booleanbooleanbooleandamage(DamageSource source, float amount) Applies a damage to this entity.abstract SoundEventintgetRaid()intgetWave()booleanbooleanprotected voidInitializes data tracker.protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) booleanprotected voidloot(ItemEntity item) voidonDeath(DamageSource damageSource) voidReads custom data fromnbt.voidsetAbleToJoinRaid(boolean ableToJoinRaid) voidsetCelebrating(boolean celebrating) voidsetOutOfRaidCounter(int outOfRaidCounter) voidvoidsetWave(int wave) voidprotected voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.mob.PatrolEntitycanLead, canSpawn, getHeightOffset, getPatrolTarget, hasPatrolTarget, isPatrolLeader, isRaidCenterSet, setPatrolLeader, setPatrolling, setPatrolTarget, setRandomPatrolTargetMethods inherited from class net.minecraft.entity.mob.HostileEntitycanSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getDeathSound, getFallSounds, getHurtSound, getPathfindingFavor, getProjectileType, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXpMethods inherited from class net.minecraft.entity.mob.PathAwareEntitycanSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntityattachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getAmbientSound, getArmorItems, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootTable, getLootTableId, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasPositionTarget, initEquipment, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, lookAtEntity, mobTick, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntityaddPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, 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, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.EntityaddAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, 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, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, 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, 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, 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, limitFallDistance, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, 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, removePassenger, removeScoreboardTag, 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, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, 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, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutputcannotBeSilenced
- 
Field Details- 
CELEBRATING- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbzw;c:Laby;- intermediary - field_19032- Lnet/minecraft/class_3763;field_19032:Lnet/minecraft/class_2940;- named - CELEBRATING- Lnet/minecraft/entity/raid/RaiderEntity;CELEBRATING:Lnet/minecraft/entity/data/TrackedData;
 
- 
OBTAINABLE_OMINOUS_BANNER_PREDICATE- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbzw;b:Ljava/util/function/Predicate;- intermediary - field_16600- Lnet/minecraft/class_3763;field_16600:Ljava/util/function/Predicate;- named - OBTAINABLE_OMINOUS_BANNER_PREDICATE- Lnet/minecraft/entity/raid/RaiderEntity;OBTAINABLE_OMINOUS_BANNER_PREDICATE:Ljava/util/function/Predicate;
 
- 
raid- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbzw;d:Lbzv;- intermediary - field_16599- Lnet/minecraft/class_3763;field_16599:Lnet/minecraft/class_3765;- named - raid- Lnet/minecraft/entity/raid/RaiderEntity;raid:Lnet/minecraft/village/raid/Raid;
 
- 
waveprivate int wave- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbzw;e:I- intermediary - field_16601- Lnet/minecraft/class_3763;field_16601:I- named - wave- Lnet/minecraft/entity/raid/RaiderEntity;wave:I
 
- 
ableToJoinRaidprivate boolean ableToJoinRaid- Mappings:
- Namespace - Name - Mixin selector - official - bT- Lbzw;bT:Z- intermediary - field_16602- Lnet/minecraft/class_3763;field_16602:Z- named - ableToJoinRaid- Lnet/minecraft/entity/raid/RaiderEntity;ableToJoinRaid:Z
 
- 
outOfRaidCounterprivate int outOfRaidCounter- Mappings:
- Namespace - Name - Mixin selector - official - bU- Lbzw;bU:I- intermediary - field_16997- Lnet/minecraft/class_3763;field_16997:I- named - outOfRaidCounter- Lnet/minecraft/entity/raid/RaiderEntity;outOfRaidCounter:I
 
 
- 
- 
Constructor Details- 
RaiderEntity- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbfj;<init>(Lbfn;Lcmm;)V- intermediary - <init>- Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V- named - <init>- Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
 
 
- 
- 
Method Details- 
initGoalsprotected void initGoals()- Overrides:
- initGoalsin class- PatrolEntity
- Mappings:
- Namespace - Name - Mixin selector - official - x- Lbgb;x()V- intermediary - method_5959- Lnet/minecraft/class_1308;method_5959()V- named - initGoals- Lnet/minecraft/entity/mob/MobEntity;initGoals()V
 
- 
initDataTrackerprotected void initDataTracker()Initializes data tracker.- Overrides:
- initDataTrackerin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lbfj;a_()V- intermediary - method_5693- Lnet/minecraft/class_1297;method_5693()V- named - initDataTracker- Lnet/minecraft/entity/Entity;initDataTracker()V
 
- 
addBonusForWavepublic abstract void addBonusForWave(int wave, boolean unused) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzw;a(IZ)V- intermediary - method_16484- Lnet/minecraft/class_3763;method_16484(IZ)V- named - addBonusForWave- Lnet/minecraft/entity/raid/RaiderEntity;addBonusForWave(IZ)V
 
- 
canJoinRaidpublic boolean canJoinRaid()- Mappings:
- Namespace - Name - Mixin selector - official - gl- Lbzw;gl()Z- intermediary - method_16481- Lnet/minecraft/class_3763;method_16481()Z- named - canJoinRaid- Lnet/minecraft/entity/raid/RaiderEntity;canJoinRaid()Z
 
- 
setAbleToJoinRaidpublic void setAbleToJoinRaid(boolean ableToJoinRaid) - Mappings:
- Namespace - Name - Mixin selector - official - z- Lbzw;z(Z)V- intermediary - method_16480- Lnet/minecraft/class_3763;method_16480(Z)V- named - setAbleToJoinRaid- Lnet/minecraft/entity/raid/RaiderEntity;setAbleToJoinRaid(Z)V
 
- 
tickMovementpublic void tickMovement()- Overrides:
- tickMovementin class- HostileEntity
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Lbfz;b_()V- intermediary - method_6007- Lnet/minecraft/class_1309;method_6007()V- named - tickMovement- Lnet/minecraft/entity/LivingEntity;tickMovement()V
 
- 
updateDespawnCounterprotected void updateDespawnCounter()- Overrides:
- updateDespawnCounterin class- HostileEntity
- Mappings:
- Namespace - Name - Mixin selector - official - gd- Lbwc;gd()V- intermediary - method_16827- Lnet/minecraft/class_1588;method_16827()V- named - updateDespawnCounter- Lnet/minecraft/entity/mob/HostileEntity;updateDespawnCounter()V
 
- 
onDeath- Overrides:
- onDeathin class- LivingEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfz;a(Lben;)V- intermediary - method_6078- Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V- named - onDeath- Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
 
- 
hasNoRaidpublic boolean hasNoRaid()- Overrides:
- hasNoRaidin class- PatrolEntity
- Mappings:
- Namespace - Name - Mixin selector - official - gf- Lbwd;gf()Z- intermediary - method_16472- Lnet/minecraft/class_3732;method_16472()Z- named - hasNoRaid- Lnet/minecraft/entity/mob/PatrolEntity;hasNoRaid()Z
 
- 
setRaid- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbzw;a(Lbzv;)V- intermediary - method_16476- Lnet/minecraft/class_3763;method_16476(Lnet/minecraft/class_3765;)V- named - setRaid- Lnet/minecraft/entity/raid/RaiderEntity;setRaid(Lnet/minecraft/village/raid/Raid;)V
 
- 
getRaid- Mappings:
- Namespace - Name - Mixin selector - official - gm- Lbzw;gm()Lbzv;- intermediary - method_16478- Lnet/minecraft/class_3763;method_16478()Lnet/minecraft/class_3765;- named - getRaid- Lnet/minecraft/entity/raid/RaiderEntity;getRaid()Lnet/minecraft/village/raid/Raid;
 
- 
hasActiveRaidpublic boolean hasActiveRaid()- Mappings:
- Namespace - Name - Mixin selector - official - gn- Lbzw;gn()Z- intermediary - method_16482- Lnet/minecraft/class_3763;method_16482()Z- named - hasActiveRaid- Lnet/minecraft/entity/raid/RaiderEntity;hasActiveRaid()Z
 
- 
setWavepublic void setWave(int wave) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lbzw;b(I)V- intermediary - method_16477- Lnet/minecraft/class_3763;method_16477(I)V- named - setWave- Lnet/minecraft/entity/raid/RaiderEntity;setWave(I)V
 
- 
getWavepublic int getWave()- Mappings:
- Namespace - Name - Mixin selector - official - go- Lbzw;go()I- intermediary - method_16486- Lnet/minecraft/class_3763;method_16486()I- named - getWave- Lnet/minecraft/entity/raid/RaiderEntity;getWave()I
 
- 
isCelebratingpublic boolean isCelebrating()- Mappings:
- Namespace - Name - Mixin selector - official - gp- Lbzw;gp()Z- intermediary - method_20034- Lnet/minecraft/class_3763;method_20034()Z- named - isCelebrating- Lnet/minecraft/entity/raid/RaiderEntity;isCelebrating()Z
 
- 
setCelebratingpublic void setCelebrating(boolean celebrating) - Mappings:
- Namespace - Name - Mixin selector - official - A- Lbzw;A(Z)V- intermediary - method_20036- Lnet/minecraft/class_3763;method_20036(Z)V- named - setCelebrating- Lnet/minecraft/entity/raid/RaiderEntity;setCelebrating(Z)V
 
- 
writeCustomDataToNbtWrites custom data tonbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. - Overrides:
- writeCustomDataToNbtin class- PatrolEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbfj;b(Lqr;)V- intermediary - method_5652- Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V- named - writeCustomDataToNbt- Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
 
- 
readCustomDataFromNbtReads custom data fromnbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
- readCustomDataFromNbtin class- PatrolEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lqr;)V- intermediary - method_5749- Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V- named - readCustomDataFromNbt- Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
 
- 
loot
- 
canImmediatelyDespawnpublic boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
- canImmediatelyDespawnin class- PatrolEntity
- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbgb;h(D)Z- intermediary - method_5974- Lnet/minecraft/class_1308;method_5974(D)Z- named - canImmediatelyDespawn- Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
 
- 
cannotDespawnpublic boolean cannotDespawn()- Overrides:
- cannotDespawnin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - official - T- Lbgb;T()Z- intermediary - method_17326- Lnet/minecraft/class_1308;method_17326()Z- named - cannotDespawn- Lnet/minecraft/entity/mob/MobEntity;cannotDespawn()Z
 
- 
getOutOfRaidCounterpublic int getOutOfRaidCounter()- Mappings:
- Namespace - Name - Mixin selector - official - gq- Lbzw;gq()I- intermediary - method_16836- Lnet/minecraft/class_3763;method_16836()I- named - getOutOfRaidCounter- Lnet/minecraft/entity/raid/RaiderEntity;getOutOfRaidCounter()I
 
- 
setOutOfRaidCounterpublic void setOutOfRaidCounter(int outOfRaidCounter) - Mappings:
- Namespace - Name - Mixin selector - official - c- Lbzw;c(I)V- intermediary - method_16835- Lnet/minecraft/class_3763;method_16835(I)V- named - setOutOfRaidCounter- Lnet/minecraft/entity/raid/RaiderEntity;setOutOfRaidCounter(I)V
 
- 
damageApplies 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 class- LivingEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfj;a(Lben;F)Z- intermediary - method_5643- Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z- named - damage- Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
 
- 
initialize@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
- initializein class- PatrolEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbgb;a(Lcnb;Lbdv;Lbgd;Lbgt;Lqr;)Lbgt;- intermediary - method_5943- Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;- named - initialize- Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
 
- 
getCelebratingSound- Mappings:
- Namespace - Name - Mixin selector - official - Y_- Lbzw;Y_()Lamg;- intermediary - method_20033- Lnet/minecraft/class_3763;method_20033()Lnet/minecraft/class_3414;- named - getCelebratingSound- Lnet/minecraft/entity/raid/RaiderEntity;getCelebratingSound()Lnet/minecraft/sound/SoundEvent;
 
 
-