Package net.minecraft.entity.mob
Class PillagerEntity
- All Implemented Interfaces:
RangedAttackMob,CrossbowUser,InventoryOwner,Monster,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bhiintermediary net/minecraft/class_1604named net/minecraft/entity/mob/PillagerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.IllagerEntity
IllagerEntity.LongDoorInteractGoal, IllagerEntity.StateNested classes/interfaces inherited from class net.minecraft.entity.raid.RaiderEntity
RaiderEntity.CelebrateGoal, RaiderEntity.PatrolApproachGoal, RaiderEntity.PickupBannerAsLeaderGoal<T extends RaiderEntity>Nested classes/interfaces inherited from class net.minecraft.entity.mob.PatrolEntity
PatrolEntity.PatrolGoal<T extends PatrolEntity>Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static TrackedData<Boolean>private static intprivate static floatprivate static intprivate SimpleInventoryFields inherited from class net.minecraft.entity.raid.RaiderEntity
CELEBRATING, raidFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.entity.mob.Monster
field_30464, field_30465, field_30466, field_30467, field_30468, field_30469 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBonusForWave(int wave, boolean unused)voidattack(LivingEntity target, float pullProgress)booleancanUseRangedWeapon(RangedWeaponItem weapon)protected voidenchantMainHandItem(float power)protected SoundEventgetCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose.protected SoundEventprotected SoundEventgetHurtSound(DamageSource source)intfloatgetPathfindingFavor(BlockPos pos, WorldView world)getState()protected voidprotected voidinitEquipment(LocalDifficulty difficulty)protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt)booleanprivate booleanisRaidCaptain(ItemStack stack)booleanisTeammate(Entity other)protected voidloot(ItemEntity item)voidvoidvoidsetCharging(boolean charging)voidshoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray)voidMethods inherited from class net.minecraft.entity.mob.IllagerEntity
getGroupMethods inherited from class net.minecraft.entity.raid.RaiderEntity
canImmediatelyDespawn, canJoinRaid, cannotDespawn, damage, getOutOfRaidCounter, getRaid, getWave, hasActiveRaid, hasNoRaid, isCelebrating, onDeath, setAbleToJoinRaid, setCelebrating, setOutOfRaidCounter, setRaid, setWave, tickMovement, updateDespawnCounterMethods inherited from class net.minecraft.entity.mob.PatrolEntity
canLead, canSpawn, getHeightOffset, getPatrolTarget, hasPatrolTarget, isPatrolLeader, isRaidCenterSet, setPatrolLeader, setPatrolling, setPatrolTarget, setRandomPatrolTargetMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSound, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXpMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, checkDespawn, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasPositionTarget, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, method_29244, method_35055, mobTick, movesIndependently, onEatingGrass, onPlayerSpawnedChild, 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.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getSwimHeight, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_36209, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
method_36320Methods inherited from interface net.minecraft.entity.CrossbowUser
getProjectileLaunchVelocity, getTarget, shoot, shoot
-
Field Details
-
CHARGING
- Mappings:
Namespace Name Mixin selector official bLbhi;b:Lvy;intermediary field_7334Lnet/minecraft/class_1604;field_7334:Lnet/minecraft/class_2940;named CHARGINGLnet/minecraft/entity/mob/PillagerEntity;CHARGING:Lnet/minecraft/entity/data/TrackedData;
-
field_30478
private static final int field_30478- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official eLbhi;e:Iintermediary field_30478Lnet/minecraft/class_1604;field_30478:Inamed field_30478Lnet/minecraft/entity/mob/PillagerEntity;field_30478:I
-
field_30476
private static final int field_30476- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bVLbhi;bV:Iintermediary field_30476Lnet/minecraft/class_1604;field_30476:Inamed field_30476Lnet/minecraft/entity/mob/PillagerEntity;field_30476:I
-
field_30477
private static final float field_30477- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bWLbhi;bW:Fintermediary field_30477Lnet/minecraft/class_1604;field_30477:Fnamed field_30477Lnet/minecraft/entity/mob/PillagerEntity;field_30477:F
-
inventory
- Mappings:
Namespace Name Mixin selector official bXLbhi;bX:Laro;intermediary field_7335Lnet/minecraft/class_1604;field_7335:Lnet/minecraft/class_1277;named inventoryLnet/minecraft/entity/mob/PillagerEntity;inventory:Lnet/minecraft/inventory/SimpleInventory;
-
-
Constructor Details
-
PillagerEntity
- Mappings:
Namespace Name Mixin selector official <init>Laso;<init>(Lass;Lbvx;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals()- Overrides:
initGoalsin classIllagerEntity- Mappings:
Namespace Name Mixin selector official vLatd;v()Vintermediary method_5959Lnet/minecraft/class_1308;method_5959()Vnamed initGoalsLnet/minecraft/entity/mob/MobEntity;initGoals()V
-
createPillagerAttributes
- Mappings:
Namespace Name Mixin selector official pLbhi;p()Laub$a;intermediary method_26919Lnet/minecraft/class_1604;method_26919()Lnet/minecraft/class_5132$class_5133;named createPillagerAttributesLnet/minecraft/entity/mob/PillagerEntity;createPillagerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classRaiderEntity- Mappings:
Namespace Name Mixin selector official fLaso;f()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
canUseRangedWeapon
- Overrides:
canUseRangedWeaponin classMobEntity- Mappings:
Namespace Name Mixin selector official aLatd;a(Lbql;)Zintermediary method_25938Lnet/minecraft/class_1308;method_25938(Lnet/minecraft/class_1811;)Znamed canUseRangedWeaponLnet/minecraft/entity/mob/MobEntity;canUseRangedWeapon(Lnet/minecraft/item/RangedWeaponItem;)Z
-
isCharging
public boolean isCharging()- Mappings:
Namespace Name Mixin selector official fpLbhi;fp()Zintermediary method_7108Lnet/minecraft/class_1604;method_7108()Znamed isChargingLnet/minecraft/entity/mob/PillagerEntity;isCharging()Z
-
setCharging
public void setCharging(boolean charging)- Specified by:
setChargingin interfaceCrossbowUser- Mappings:
Namespace Name Mixin selector official bLbgs;b(Z)Vintermediary method_7110Lnet/minecraft/class_3745;method_7110(Z)Vnamed setChargingLnet/minecraft/entity/CrossbowUser;setCharging(Z)V
-
postShoot
public void postShoot()- Specified by:
postShootin interfaceCrossbowUser- Mappings:
Namespace Name Mixin selector official W_Lbgs;W_()Vintermediary method_24651Lnet/minecraft/class_3745;method_24651()Vnamed postShootLnet/minecraft/entity/CrossbowUser;postShoot()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classRaiderEntity- Mappings:
Namespace Name Mixin selector official bLaso;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getState
- Overrides:
getStatein classIllagerEntity- Mappings:
Namespace Name Mixin selector official nLbgn;n()Lbgn$a;intermediary method_6990Lnet/minecraft/class_1543;method_6990()Lnet/minecraft/class_1543$class_1544;named getStateLnet/minecraft/entity/mob/IllagerEntity;getState()Lnet/minecraft/entity/mob/IllagerEntity$State;
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classRaiderEntity- Mappings:
Namespace Name Mixin selector official aLaso;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classHostileEntity- Mappings:
Namespace Name Mixin selector official aLatk;a(Lgb;Lbwa;)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
-
getLimitPerChunk
public int getLimitPerChunk()- Overrides:
getLimitPerChunkin classMobEntity- Mappings:
Namespace Name Mixin selector official eVLatd;eV()Iintermediary method_5945Lnet/minecraft/class_1308;method_5945()Inamed getLimitPerChunkLnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)- Overrides:
initializein classRaiderEntity- Mappings:
Namespace Name Mixin selector official aLatd;a(Lbwl;Larh;Latf;Latt;Lmv;)Latt;intermediary method_5943Lnet/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 initializeLnet/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;
-
initEquipment
- Overrides:
initEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector official aLatd;a(Larh;)Vintermediary method_5964Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)Vnamed initEquipmentLnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
-
enchantMainHandItem
protected void enchantMainHandItem(float power)- Overrides:
enchantMainHandItemin classMobEntity- Mappings:
Namespace Name Mixin selector official vLatd;v(F)Vintermediary method_30759Lnet/minecraft/class_1308;method_30759(F)Vnamed enchantMainHandItemLnet/minecraft/entity/mob/MobEntity;enchantMainHandItem(F)V
-
isTeammate
- Overrides:
isTeammatein classEntity- Mappings:
Namespace Name Mixin selector official rLaso;r(Laso;)Zintermediary method_5722Lnet/minecraft/class_1297;method_5722(Lnet/minecraft/class_1297;)Znamed isTeammateLnet/minecraft/entity/Entity;isTeammate(Lnet/minecraft/entity/Entity;)Z
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official qLatd;q()Laev;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official rLatb;r()Laev;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official cLatb;c(Lary;)Laev;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;
-
attack
- Specified by:
attackin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector official aLbhj;a(Latb;F)Vintermediary method_7105Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)Vnamed attackLnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
-
shoot
public void shoot(LivingEntity target, ItemStack crossbow, ProjectileEntity projectile, float multiShotSpray)- Specified by:
shootin interfaceCrossbowUser- Mappings:
Namespace Name Mixin selector official aLbgs;a(Latb;Lbpx;Lbkb;F)Vintermediary method_18811Lnet/minecraft/class_3745;method_18811(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_1676;F)Vnamed shootLnet/minecraft/entity/CrossbowUser;shoot(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/projectile/ProjectileEntity;F)V
-
getInventory
- Specified by:
getInventoryin interfaceInventoryOwner- Mappings:
Namespace Name Mixin selector official fzLbiw;fz()Larc;intermediary method_35199Lnet/minecraft/class_6067;method_35199()Lnet/minecraft/class_1263;named getInventoryLnet/minecraft/entity/InventoryOwner;getInventory()Lnet/minecraft/inventory/Inventory;
-
loot
- Overrides:
lootin classRaiderEntity- Mappings:
Namespace Name Mixin selector official bLatd;b(Lbgk;)Vintermediary method_5949Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_1542;)Vnamed lootLnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
-
isRaidCaptain
- Mappings:
Namespace Name Mixin selector official kLbhi;k(Lbpx;)Zintermediary method_7111Lnet/minecraft/class_1604;method_7111(Lnet/minecraft/class_1799;)Znamed isRaidCaptainLnet/minecraft/entity/mob/PillagerEntity;isRaidCaptain(Lnet/minecraft/item/ItemStack;)Z
-
getCommandItemSlot
Obtains an item slot for command modification purpose. Used by commands like/lootor/replaceitem.- Overrides:
getCommandItemSlotin classLivingEntity- Parameters:
mappedIndex- the mapped index as given by the item slot argument- See Also:
ItemSlotArgumentType- Mappings:
Namespace Name Mixin selector official kLaso;k(I)Lats;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;named getCommandItemSlotLnet/minecraft/entity/Entity;getCommandItemSlot(I)Lnet/minecraft/inventory/CommandItemSlot;
-
addBonusForWave
public void addBonusForWave(int wave, boolean unused)- Specified by:
addBonusForWavein classRaiderEntity- Mappings:
Namespace Name Mixin selector official aLbkr;a(IZ)Vintermediary method_16484Lnet/minecraft/class_3763;method_16484(IZ)Vnamed addBonusForWaveLnet/minecraft/entity/raid/RaiderEntity;addBonusForWave(IZ)V
-
getCelebratingSound
- Specified by:
getCelebratingSoundin classRaiderEntity- Mappings:
Namespace Name Mixin selector official tLbkr;t()Laev;intermediary method_20033Lnet/minecraft/class_3763;method_20033()Lnet/minecraft/class_3414;named getCelebratingSoundLnet/minecraft/entity/raid/RaiderEntity;getCelebratingSound()Lnet/minecraft/sound/SoundEvent;
-