Package net.minecraft.entity.mob
Class WitchEntity
- All Implemented Interfaces:
CommandSource,RangedAttackMob,EntityCategoryProvider,Monster
- Mappings:
Namespace Name official yzintermediary net/minecraft/class_1414named net/minecraft/entity/mob/WitchEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final UUIDprivate intprivate static final TrackedData<Boolean>private static final AttributeModifierFields inherited from class net.minecraft.entity.PathAwareEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, zFields inherited from interface net.minecraft.entity.mob.Monster
MONSTER_PREDICATE, VISIBLE_MONSTER_PREDICATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SoundEventprotected floatapplyEnchantmentsToDamage(DamageSource source, float amount) protected SoundEventfloatprotected IdentifiervoidhandleStatus(byte status) protected voidprotected voidprotected voidprotected SoundEventbooleanvoidmethod_4556(boolean bool) voidrangedAttack(LivingEntity target, float pullProgress) voidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawn, damage, getLandSound, getPathfindingFavor, getSoundCategory, method_12984, method_12985, method_3087, shouldDropXp, tick, tryAttackMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, hasNoAi, initEquipment, initialize, isLeashed, isPersistent, lookAtEntity, loot, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13079, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_2469, method_2638, method_4472, method_6100, method_6162, mobTick, onEatingGrass, playAmbientSound, playSpawnEffects, readCustomDataFromNbt, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tickNewAi, turnHead, updateEnchantments, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13071, method_13072, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6150, method_6152, onKilled, onTrackedDataSet, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10965, method_12976, method_12991, method_13003, method_6097, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStat, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
DRINKING_SPEED_PENALTY_MODIFIER_ID
- Mappings:
Namespace Name Mixin selector official aLyz;a:Ljava/util/UUID;intermediary field_6923Lnet/minecraft/class_1414;field_6923:Ljava/util/UUID;named DRINKING_SPEED_PENALTY_MODIFIER_IDLnet/minecraft/entity/mob/WitchEntity;DRINKING_SPEED_PENALTY_MODIFIER_ID:Ljava/util/UUID;
-
field_6924
- Mappings:
Namespace Name Mixin selector official bLyz;b:Lsn;intermediary field_6924Lnet/minecraft/class_1414;field_6924:Lnet/minecraft/class_1704;named field_6924Lnet/minecraft/entity/mob/WitchEntity;field_6924:Lnet/minecraft/entity/attribute/AttributeModifier;
-
field_14784
- Mappings:
Namespace Name Mixin selector official cLyz;c:Lkf;intermediary field_14784Lnet/minecraft/class_1414;field_14784:Lnet/minecraft/class_2921;named field_14784Lnet/minecraft/entity/mob/WitchEntity;field_14784:Lnet/minecraft/entity/data/TrackedData;
-
drinkTimeLeft
private int drinkTimeLeft- Mappings:
Namespace Name Mixin selector official bwLyz;bw:Iintermediary field_5393Lnet/minecraft/class_1414;field_5393:Inamed drinkTimeLeftLnet/minecraft/entity/mob/WitchEntity;drinkTimeLeft:I
-
-
Constructor Details
-
WitchEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrr;<init>(Laht;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official iLrr;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
ambientSound
- Overrides:
ambientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official GLsb;G()Lng;intermediary method_2603Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;named ambientSoundLnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
-
method_13048
- Overrides:
method_13048in classHostileEntity- Mappings:
Namespace Name Mixin selector official bSLsa;bS()Lng;intermediary method_13048Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;named method_13048Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
-
deathSound
- Overrides:
deathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official bTLsa;bT()Lng;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
method_4556
public void method_4556(boolean bool) - Mappings:
Namespace Name Mixin selector official aLyz;a(Z)Vintermediary method_4556Lnet/minecraft/class_1414;method_4556(Z)Vnamed method_4556Lnet/minecraft/entity/mob/WitchEntity;method_4556(Z)V
-
method_13243
public boolean method_13243()- Mappings:
Namespace Name Mixin selector official oLyz;o()Zintermediary method_13243Lnet/minecraft/class_1414;method_13243()Znamed method_13243Lnet/minecraft/entity/mob/WitchEntity;method_13243()Z
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official bBLsa;bB()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official nLsa;n()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
handleStatus
- Overrides:
handleStatusin classMobEntity- Mappings:
Namespace Name Mixin selector official aLrr;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
applyEnchantmentsToDamage
- Overrides:
applyEnchantmentsToDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official cLsa;c(Lrc;F)Fintermediary method_6136Lnet/minecraft/class_1699;method_6136(Lnet/minecraft/class_856;F)Fnamed applyEnchantmentsToDamageLnet/minecraft/entity/LivingEntity;applyEnchantmentsToDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
-
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official JLsb;J()Lkl;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
rangedAttack
- Specified by:
rangedAttackin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector official aLys;a(Lsa;F)Vintermediary method_4552Lnet/minecraft/class_1413;method_4552(Lnet/minecraft/class_1699;F)Vnamed rangedAttackLnet/minecraft/entity/ai/RangedAttackMob;rangedAttack(Lnet/minecraft/entity/LivingEntity;F)V
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official boLrr;bo()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-