Class WitherEntity
- All Implemented Interfaces:
ComponentsAccess,RangedAttackMob,Attackable,DataTracked,EquipmentHolder,Leashable,Monster,Targeter,StackReferenceGetter,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/boss/WitherEntityintermediary net/minecraft/class_1528official cyf
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.OffsetNested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashDataNested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final ServerBossBarprivate static final TargetPredicate.EntityPredicateprivate final int[]private static final intprivate static final TargetPredicateprivate static final TrackedData<Integer> private final float[]private final float[]private static final intprivate final float[]private final float[]private final int[]private static final TrackedData<Integer> private static final TrackedData<Integer> private static final TrackedData<Integer> private static final List<TrackedData<Integer>> Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, ARMOR_UPGRADE_CHANCE, ARMOR_UPGRADE_ROLLS, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, CAN_PICK_UP_LOOT_KEY, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DROP_CHANCES_KEY, experiencePoints, field_35039, goalSelector, jumpControl, LEFT_HANDED_KEY, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, NO_AI_KEY, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, field_63293, field_63294, forwardSpeed, glidingTicks, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, piercingCooldowns, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, ticksSinceHandEquipping, ticksSinceLastAttack, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, field_64356, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTSFields inherited from interface net.minecraft.entity.mob.Monster
NORMAL_MONSTER_EXPERIENCE, SMALL_MONSTER_EXPERIENCE, STRONG_MONSTER_EXPERIENCE, STRONGER_MONSTER_EXPERIENCE, WITHER_EXPERIENCE, ZERO_EXPERIENCEFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.static booleancanDestroy(BlockState block) booleanprotected booleancanStartRiding(Entity entity) Returns whether this entity can rideentity.booleancanUsePortals(boolean allowVehicles) Returns whether the entity can use nether portals and end portals.voidChecks whether the entity should be despawned.protected EntityNavigationcreateNavigation(World world) booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.protected voiddropEquipment(ServerWorld world, DamageSource source, boolean causedByPlayer) protected SoundEventprotected SoundEventprivate doublegetHeadX(int headIndex) private doublegetHeadY(int headIndex) private doublegetHeadZ(int headIndex) protected SoundEventgetHurtSound(DamageSource source) intprivate floatgetNextAngle(float lastAngle, float desiredAngle, float maxDifference) float[]float[]intgetTrackedEntityId(int headIndex) protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected voidbooleanprotected voidmobTick(ServerWorld world) voidCalled whenplayerstarts tracking this entity.voidCalled whenplayerstops tracking this entity.voidprotected voidreadCustomData(ReadView view) voidsetCustomName(@Nullable Text name) Sets the custom name of the entity toname(ornullto remove the custom name).voidsetInvulTimer(int ticks) voidsetTrackedEntityId(int headIndex, int id) voidshootAt(LivingEntity target, float pullProgress) private voidshootSkullAt(int headIndex, double targetX, double targetY, double targetZ, boolean charged) private voidshootSkullAt(int headIndex, LivingEntity target) voidslowMovement(BlockState state, Vec3d multiplier) CallsEntity.onLanding()and slows this entity.voidprotected voidwriteCustomData(WriteView view) Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, canSpawnInDarkUnderSky, createHostileAttributes, getFallSounds, getPathfindingFavor, getProjectileType, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isSpawnDark, shouldDropExperience, shouldDropLoot, updateDespawnCounterMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, canActVoluntarily, canBeLeashed, canDispenserEquipSlot, canGather, canImmediatelyDespawn, canMobSpawn, cannotDespawn, canPickupItem, canPickUpLoot, canRemoveSaddle, canSpawn, canTarget, canUseRangedWeapon, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, dropAllForeignEquipment, dropForeignEquipment, dropLoot, eat, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAttackBox, getBodyArmor, getControllingPassenger, getDaylightProtectionSlot, getEquipmentDropChances, getEquipmentForSlot, getExperienceToDrop, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, handleStatus, hasPositionTarget, hasSaddleEquipped, initEquipment, initialize, interact, interactMob, isAiDisabled, isAttacking, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, method_76091, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, registerTracking, removeFromDimension, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, beforePacketsSent, beforePlayerAttack, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHit, canSee, canSee, canTakeDamage, canTarget, canUseSlot, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createEquipment, createLivingAttributes, createTracker, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, drop, dropExperience, dropInventory, dropItem, dropLoot, endCombat, enterCombat, equipStack, fall, forEachBrushedItem, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, generateLoot, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEntity, getEquippedStack, getEquipSound, getExperienceToDrop, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getTimeSinceLastKineticAttack, getVelocityMultiplier, getWaypointConfig, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInPiercingCooldown, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isTravellingInFluid, isUsingItem, isUsingRiptide, jump, kill, knockback, knockbackTarget, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, method_76444, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, onTrackedDataSet, pierce, playAttackSound, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDrown, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, startPiercingCooldown, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, travelFlying, travelFlying, travelInWater, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, useAttackEnchantmentEffects, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calcDistanceFromBottomCollision, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, findCollisions, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityPos, getEntityWorld, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadRotationVector, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, method_76333, method_76440, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedAngles, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, canUseQuadLeashAttachmentPoint, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashOffset, getLeashSnappingDistance, getQuadLeashOffsets, isLeashed, mightBeLeashed, onLongLeashTick, readLeashData, setUnresolvedLeashHolderId, writeLeashDataMethods inherited from interface net.minecraft.util.Nameable
getStringifiedNameMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayNameMethods inherited from interface net.minecraft.inventory.StackReferenceGetter
getStackReferences
-
Field Details
-
TRACKED_ENTITY_ID_1
- Mappings:
Namespace Name Mixin selector named TRACKED_ENTITY_ID_1Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_1:Lnet/minecraft/entity/data/TrackedData;intermediary field_7088Lnet/minecraft/class_1528;field_7088:Lnet/minecraft/class_2940;official aLcyf;a:Lalw;
-
TRACKED_ENTITY_ID_2
- Mappings:
Namespace Name Mixin selector named TRACKED_ENTITY_ID_2Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_2:Lnet/minecraft/entity/data/TrackedData;intermediary field_7090Lnet/minecraft/class_1528;field_7090:Lnet/minecraft/class_2940;official bLcyf;b:Lalw;
-
TRACKED_ENTITY_ID_3
- Mappings:
Namespace Name Mixin selector named TRACKED_ENTITY_ID_3Lnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_ID_3:Lnet/minecraft/entity/data/TrackedData;intermediary field_7089Lnet/minecraft/class_1528;field_7089:Lnet/minecraft/class_2940;official cLcyf;c:Lalw;
-
TRACKED_ENTITY_IDS
- Mappings:
Namespace Name Mixin selector named TRACKED_ENTITY_IDSLnet/minecraft/entity/boss/WitherEntity;TRACKED_ENTITY_IDS:Ljava/util/List;intermediary field_7087Lnet/minecraft/class_1528;field_7087:Ljava/util/List;official dLcyf;d:Ljava/util/List;
-
INVUL_TIMER
- Mappings:
Namespace Name Mixin selector named INVUL_TIMERLnet/minecraft/entity/boss/WitherEntity;INVUL_TIMER:Lnet/minecraft/entity/data/TrackedData;intermediary field_7085Lnet/minecraft/class_1528;field_7085:Lnet/minecraft/class_2940;official eLcyf;e:Lalw;
-
ON_SUMMONED_INVUL_TIMER
private static final int ON_SUMMONED_INVUL_TIMER- See Also:
- Mappings:
Namespace Name Mixin selector named ON_SUMMONED_INVUL_TIMERLnet/minecraft/entity/boss/WitherEntity;ON_SUMMONED_INVUL_TIMER:Iintermediary field_30441Lnet/minecraft/class_1528;field_30441:Iofficial fLcyf;f:I
-
DEFAULT_INVUL_TIMER
private static final int DEFAULT_INVUL_TIMER- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_INVUL_TIMERLnet/minecraft/entity/boss/WitherEntity;DEFAULT_INVUL_TIMER:Iintermediary field_57643Lnet/minecraft/class_1528;field_57643:Iofficial cvLcyf;cv:I
-
CAN_ATTACK_PREDICATE
- Mappings:
Namespace Name Mixin selector named CAN_ATTACK_PREDICATELnet/minecraft/entity/boss/WitherEntity;CAN_ATTACK_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;intermediary field_7086Lnet/minecraft/class_1528;field_7086:Lnet/minecraft/class_4051$class_10254;official cELcyf;cE:Lcsi$a;
-
HEAD_TARGET_PREDICATE
- Mappings:
Namespace Name Mixin selector named HEAD_TARGET_PREDICATELnet/minecraft/entity/boss/WitherEntity;HEAD_TARGET_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;intermediary field_18125Lnet/minecraft/class_1528;field_18125:Lnet/minecraft/class_4051;official cFLcyf;cF:Lcsi;
-
sideHeadPitches
private final float[] sideHeadPitches- Mappings:
Namespace Name Mixin selector named sideHeadPitchesLnet/minecraft/entity/boss/WitherEntity;sideHeadPitches:[Fintermediary field_7084Lnet/minecraft/class_1528;field_7084:[Fofficial cwLcyf;cw:[F
-
sideHeadYaws
private final float[] sideHeadYaws- Mappings:
Namespace Name Mixin selector named sideHeadYawsLnet/minecraft/entity/boss/WitherEntity;sideHeadYaws:[Fintermediary field_7083Lnet/minecraft/class_1528;field_7083:[Fofficial cxLcyf;cx:[F
-
lastSideHeadPitches
private final float[] lastSideHeadPitches- Mappings:
Namespace Name Mixin selector named lastSideHeadPitchesLnet/minecraft/entity/boss/WitherEntity;lastSideHeadPitches:[Fintermediary field_7095Lnet/minecraft/class_1528;field_7095:[Fofficial cyLcyf;cy:[F
-
lastSideHeadYaws
private final float[] lastSideHeadYaws- Mappings:
Namespace Name Mixin selector named lastSideHeadYawsLnet/minecraft/entity/boss/WitherEntity;lastSideHeadYaws:[Fintermediary field_7094Lnet/minecraft/class_1528;field_7094:[Fofficial czLcyf;cz:[F
-
skullCooldowns
private final int[] skullCooldowns- Mappings:
Namespace Name Mixin selector named skullCooldownsLnet/minecraft/entity/boss/WitherEntity;skullCooldowns:[Iintermediary field_7091Lnet/minecraft/class_1528;field_7091:[Iofficial cALcyf;cA:[I
-
chargedSkullCooldowns
private final int[] chargedSkullCooldowns- Mappings:
Namespace Name Mixin selector named chargedSkullCooldownsLnet/minecraft/entity/boss/WitherEntity;chargedSkullCooldowns:[Iintermediary field_7092Lnet/minecraft/class_1528;field_7092:[Iofficial cBLcyf;cB:[I
-
blockBreakingCooldown
private int blockBreakingCooldown- Mappings:
Namespace Name Mixin selector named blockBreakingCooldownLnet/minecraft/entity/boss/WitherEntity;blockBreakingCooldown:Iintermediary field_7082Lnet/minecraft/class_1528;field_7082:Iofficial cCLcyf;cC:I
-
bossBar
- Mappings:
Namespace Name Mixin selector named bossBarLnet/minecraft/entity/boss/WitherEntity;bossBar:Lnet/minecraft/entity/boss/ServerBossBar;intermediary field_7093Lnet/minecraft/class_1528;field_7093:Lnet/minecraft/class_3213;official cDLcyf;cD:Laxb;
-
-
Constructor Details
-
WitherEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lcgk;<init>(Lcgu;Ldvk;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classMobEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLcgk;a(Lama$a;)V
-
writeCustomData
- Overrides:
writeCustomDatain classMobEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLcgk;a(Lfmo;)V
-
readCustomData
- Overrides:
readCustomDatain classMobEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLcgk;a(Lfmm;)V
-
setCustomName
Sets the custom name of the entity toname(ornullto remove the custom name).- Overrides:
setCustomNamein classEntity- Mappings:
Namespace Name Mixin selector named setCustomNameLnet/minecraft/entity/Entity;setCustomName(Lnet/minecraft/text/Text;)Vintermediary method_5665Lnet/minecraft/class_1297;method_5665(Lnet/minecraft/class_2561;)Vofficial bLcgk;b(Lyh;)V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;official pLcho;p()Lbcz;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official eLchm;e(Lcex;)Lbcz;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official e_Lchm;e_()Lbcz;
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial d_Lchm;d_()V
-
mobTick
-
canDestroy
- Mappings:
Namespace Name Mixin selector named canDestroyLnet/minecraft/entity/boss/WitherEntity;canDestroy(Lnet/minecraft/block/BlockState;)Zintermediary method_6883Lnet/minecraft/class_1528;method_6883(Lnet/minecraft/class_2680;)Zofficial cLcyf;c(Lend;)Z
-
onSummoned
public void onSummoned()- Mappings:
Namespace Name Mixin selector named onSummonedLnet/minecraft/entity/boss/WitherEntity;onSummoned()Vintermediary method_6885Lnet/minecraft/class_1528;method_6885()Vofficial kLcyf;k()V
-
slowMovement
CallsEntity.onLanding()and slows this entity.This means that the entity will avoid taking fall damage.
- Overrides:
slowMovementin classEntity- API Note:
- This should be called inside
AbstractBlock.onEntityCollision(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, net.minecraft.entity.EntityCollisionHandler, boolean). This is used by cobwebs, sweet berries, and powder snow. - Mappings:
Namespace Name Mixin selector named slowMovementLnet/minecraft/entity/Entity;slowMovement(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_5844Lnet/minecraft/class_1297;method_5844(Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)Vofficial aLcgk;a(Lend;Lfsi;)V
-
onStartedTrackingBy
Called whenplayerstarts tracking this entity.Entities with boss bars like
WitherEntityshould override this to add the player to the boss bar.- Overrides:
onStartedTrackingByin classEntity- Mappings:
Namespace Name Mixin selector named onStartedTrackingByLnet/minecraft/entity/Entity;onStartedTrackingBy(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_5837Lnet/minecraft/class_1297;method_5837(Lnet/minecraft/class_3222;)Vofficial dLcgk;d(Laxg;)V
-
onStoppedTrackingBy
Called whenplayerstops tracking this entity.Entities with boss bars like
WitherEntityshould override this to remove the player from the boss bar.- Overrides:
onStoppedTrackingByin classEntity- Mappings:
Namespace Name Mixin selector named onStoppedTrackingByLnet/minecraft/entity/Entity;onStoppedTrackingBy(Lnet/minecraft/server/network/ServerPlayerEntity;)Vintermediary method_5742Lnet/minecraft/class_1297;method_5742(Lnet/minecraft/class_3222;)Vofficial eLcgk;e(Laxg;)V
-
getHeadX
private double getHeadX(int headIndex) - Mappings:
Namespace Name Mixin selector named getHeadXLnet/minecraft/entity/boss/WitherEntity;getHeadX(I)Dintermediary method_6874Lnet/minecraft/class_1528;method_6874(I)Dofficial dLcyf;d(I)D
-
getHeadY
private double getHeadY(int headIndex) - Mappings:
Namespace Name Mixin selector named getHeadYLnet/minecraft/entity/boss/WitherEntity;getHeadY(I)Dintermediary method_6880Lnet/minecraft/class_1528;method_6880(I)Dofficial rLcyf;r(I)D
-
getHeadZ
private double getHeadZ(int headIndex) - Mappings:
Namespace Name Mixin selector named getHeadZLnet/minecraft/entity/boss/WitherEntity;getHeadZ(I)Dintermediary method_6881Lnet/minecraft/class_1528;method_6881(I)Dofficial sLcyf;s(I)D
-
getNextAngle
private float getNextAngle(float lastAngle, float desiredAngle, float maxDifference) - Mappings:
Namespace Name Mixin selector named getNextAngleLnet/minecraft/entity/boss/WitherEntity;getNextAngle(FFF)Fintermediary method_6886Lnet/minecraft/class_1528;method_6886(FFF)Fofficial aLcyf;a(FFF)F
-
shootSkullAt
- Mappings:
Namespace Name Mixin selector named shootSkullAtLnet/minecraft/entity/boss/WitherEntity;shootSkullAt(ILnet/minecraft/entity/LivingEntity;)Vintermediary method_6878Lnet/minecraft/class_1528;method_6878(ILnet/minecraft/class_1309;)Vofficial aLcyf;a(ILchm;)V
-
shootSkullAt
private void shootSkullAt(int headIndex, double targetX, double targetY, double targetZ, boolean charged) - Mappings:
Namespace Name Mixin selector named shootSkullAtLnet/minecraft/entity/boss/WitherEntity;shootSkullAt(IDDDZ)Vintermediary method_6877Lnet/minecraft/class_1528;method_6877(IDDDZ)Vofficial aLcyf;a(IDDDZ)V
-
shootAt
- Specified by:
shootAtin interfaceRangedAttackMob- Mappings:
Namespace Name Mixin selector named shootAtLnet/minecraft/entity/ai/RangedAttackMob;shootAt(Lnet/minecraft/entity/LivingEntity;F)Vintermediary method_7105Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)Vofficial aLczu;a(Lchm;F)V
-
damage
Applies 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
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLcgk;a(Laxf;Lcex;F)Z
-
dropEquipment
- Overrides:
dropEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector named dropEquipmentLnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;Z)Vintermediary method_6099Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;Z)Vofficial aLchm;a(Laxf;Lcex;Z)V
-
checkDespawn
public void checkDespawn()Checks whether the entity should be despawned.To despawn this entity, call
Entity.discard().- Overrides:
checkDespawnin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector named checkDespawnLnet/minecraft/entity/Entity;checkDespawn()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vofficial dVLcgk;dV()V
-
addStatusEffect
Adds a status effect to this entity.- Overrides:
addStatusEffectin classLivingEntity- Parameters:
effect- the effect to addsource- the source entity ornullfor non-entity sources- Returns:
- whether the active status effects of this entity has been modified
- Implementation Note:
- A status effect may fail to be added due to getting overridden by existing effects or the effect being incompatible with this entity.
- Mappings:
Namespace Name Mixin selector named addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Zintermediary method_37222Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Zofficial bLchm;b(Lcfm;Lcgk;)Z
-
createWitherAttributes
- Mappings:
Namespace Name Mixin selector named createWitherAttributesLnet/minecraft/entity/boss/WitherEntity;createWitherAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_26904Lnet/minecraft/class_1528;method_26904()Lnet/minecraft/class_5132$class_5133;official mLcyf;m()Lcis$a;
-
getSideHeadYaws
public float[] getSideHeadYaws()- Mappings:
Namespace Name Mixin selector named getSideHeadYawsLnet/minecraft/entity/boss/WitherEntity;getSideHeadYaws()[Fintermediary method_61488Lnet/minecraft/class_1528;method_61488()[Fofficial nLcyf;n()[F
-
getSideHeadPitches
public float[] getSideHeadPitches()- Mappings:
Namespace Name Mixin selector named getSideHeadPitchesLnet/minecraft/entity/boss/WitherEntity;getSideHeadPitches()[Fintermediary method_61487Lnet/minecraft/class_1528;method_61487()[Fofficial sLcyf;s()[F
-
getInvulnerableTimer
public int getInvulnerableTimer()- Mappings:
Namespace Name Mixin selector named getInvulnerableTimerLnet/minecraft/entity/boss/WitherEntity;getInvulnerableTimer()Iintermediary method_6884Lnet/minecraft/class_1528;method_6884()Iofficial gQLcyf;gQ()I
-
setInvulTimer
public void setInvulTimer(int ticks) - Mappings:
Namespace Name Mixin selector named setInvulTimerLnet/minecraft/entity/boss/WitherEntity;setInvulTimer(I)Vintermediary method_6875Lnet/minecraft/class_1528;method_6875(I)Vofficial aLcyf;a(I)V
-
getTrackedEntityId
public int getTrackedEntityId(int headIndex) - Mappings:
Namespace Name Mixin selector named getTrackedEntityIdLnet/minecraft/entity/boss/WitherEntity;getTrackedEntityId(I)Iintermediary method_6882Lnet/minecraft/class_1528;method_6882(I)Iofficial bLcyf;b(I)I
-
setTrackedEntityId
public void setTrackedEntityId(int headIndex, int id) - Mappings:
Namespace Name Mixin selector named setTrackedEntityIdLnet/minecraft/entity/boss/WitherEntity;setTrackedEntityId(II)Vintermediary method_6876Lnet/minecraft/class_1528;method_6876(II)Vofficial aLcyf;a(II)V
-
isArmored
public boolean isArmored()- Mappings:
Namespace Name Mixin selector named isArmoredLnet/minecraft/entity/boss/WitherEntity;isArmored()Zintermediary method_6872Lnet/minecraft/class_1528;method_6872()Zofficial gRLcyf;gR()Z
-
canStartRiding
Returns whether this entity can rideentity.Returning
falsecauses the entity to be unable to ride other entities. For example,WitherEntityoverrides this to returnfalse, so withers cannot ride boats or minecarts. Note that this check can be bypassed by passingtrueto.invalid reference
#startRiding(Entity, boolean)This is the opposite of
Entity.canAddPassenger(net.minecraft.entity.Entity).- Overrides:
canStartRidingin classEntity- Returns:
- whether this entity can ride
entity - See Also:
- Mappings:
Namespace Name Mixin selector named canStartRidingLnet/minecraft/entity/Entity;canStartRiding(Lnet/minecraft/entity/Entity;)Zintermediary method_5860Lnet/minecraft/class_1297;method_5860(Lnet/minecraft/class_1297;)Zofficial pLcgk;p(Lcgk;)Z
-
canUsePortals
public boolean canUsePortals(boolean allowVehicles) Returns whether the entity can use nether portals and end portals.EnderDragonEntity,WitherEntity, andFishingBobberEntitycannot use portals.- Overrides:
canUsePortalsin classLivingEntity- Returns:
- whether the entity can use nether portals and end portals
- Mappings:
Namespace Name Mixin selector named canUsePortalsLnet/minecraft/entity/Entity;canUsePortals(Z)Zintermediary method_5822Lnet/minecraft/class_1297;method_5822(Z)Zofficial oLcgk;o(Z)Z
-
canHaveStatusEffect
- Overrides:
canHaveStatusEffectin classLivingEntity- Mappings:
Namespace Name Mixin selector named canHaveStatusEffectLnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Zintermediary method_6049Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Zofficial bLchm;b(Lcfm;)Z