Package net.minecraft.entity.mob
Class WitchEntity
- All Implemented Interfaces:
CommandSource,RangedAttackMob,EntityCategoryProvider,Monster
- Mappings:
Namespace Name official wdintermediary 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 AttributeModifierprivate static final Item[]Fields 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, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, 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, 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, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, 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 floatapplyEnchantmentsToDamage(DamageSource source, float amount) protected voiddropLoot(boolean allowDrops, int lootingMultiplier) protected Stringprotected Stringfloatprotected StringvoidhandleStatus(byte status) protected voidprotected voidvoidmethod_4556(boolean bool) booleanvoidrangedAttack(LivingEntity target, float pullProgress) voidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawn, damage, getFallSound, getPathfindingFavor, getSplashSound, getSwimSound, 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, equip, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getVisibilityCache, getXpToDrop, hasNoAi, initEquipment, initialize, isLeashed, isPersistent, isTameable, lookAtEntity, loot, method_2469, method_2638, method_4470, method_4472, method_4485, method_5388, method_6162, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, readCustomDataFromNbt, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, 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, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_4473, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldRenderName, startRiding, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotationVector, getSavedEntityId, getTargetingMargin, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, method_10948, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInLava, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
DRINKING_SPEED_PENALTY_MODIFIER_ID
- Mappings:
Namespace Name Mixin selector official aLwd;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 bLwd;b:Lqd;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_9127
- Mappings:
Namespace Name Mixin selector official cLwd;c:[Lzw;intermediary field_9127Lnet/minecraft/class_1414;field_9127:[Lnet/minecraft/class_1069;named field_9127Lnet/minecraft/entity/mob/WitchEntity;field_9127:[Lnet/minecraft/item/Item;
-
drinkTimeLeft
private int drinkTimeLeft- Mappings:
Namespace Name Mixin selector official bmLwd;bm: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>Lpk;<init>(Ladm;)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
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official zLps;z()Ljava/lang/String;intermediary method_2603Lnet/minecraft/class_871;method_2603()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official bpLpr;bp()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
method_4556
public void method_4556(boolean bool) - Mappings:
Namespace Name Mixin selector official aLwd;a(Z)Vintermediary method_4556Lnet/minecraft/class_1414;method_4556(Z)Vnamed method_4556Lnet/minecraft/entity/mob/WitchEntity;method_4556(Z)V
-
method_4557
public boolean method_4557()- Mappings:
Namespace Name Mixin selector official nLwd;n()Zintermediary method_4557Lnet/minecraft/class_1414;method_4557()Znamed method_4557Lnet/minecraft/entity/mob/WitchEntity;method_4557()Z
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()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 mLpr;m()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 aLpk;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 cLpr;c(Low;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
-
dropLoot
protected void dropLoot(boolean allowDrops, int lootingMultiplier) -
rangedAttack
- Specified by:
rangedAttackin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector official aLvx;a(Lpr;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 aSLpk;aS()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-