Package net.minecraft.entity.passive
Class StriderEntity
- All Implemented Interfaces:
ItemSteerable,Saddleable,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official brgintermediary net/minecraft/class_4985named net/minecraft/entity/passive/StriderEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classNested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested 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.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Ingredientprivate static final TrackedData<Integer>private static final Ingredientprivate static final TrackedData<Boolean>private static final floatprivate static final floatprivate static final floatprivate @Nullable EscapeDangerGoalprivate static final TrackedData<Boolean>private final SaddledComponentFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatprotected booleancanAddPassenger(Entity passenger) booleanprivate booleancanEntityControl(Entity entity) static booleancanSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanbooleancanWalkOnFluid(FluidState state) booleancreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity) protected EntityNavigationcreateNavigation(World world) protected voidprotected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) protected SoundEventprotected SoundEventprotected SoundEventgetHurtSound(DamageSource source) doublefloatgetPathfindingFavor(BlockPos pos, WorldView world) floatfloatgetSpeed()booleanprotected voidprotected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) private EntityDatainitializeRider(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable EntityData entityData) interactMob(PlayerEntity player, Hand hand) private booleanbooleanisBreedingItem(ItemStack stack) booleanisCold()private booleanbooleanisOnFire()booleanprotected booleanWhen true, causes this entity to take over pathfinding for its controlling passenger.voidonTrackedDataSet(TrackedData<?> data) protected voidplayStepSound(BlockPos pos, BlockState state) voidvoidsaddle(@Nullable SoundCategory sound) voidsetCold(boolean cold) voidsetMovementInput(Vec3d movementInput) voidtick()voidAllows you to do certain speed and velocity calculations.private voidupdatePassengerForDismount(LivingEntity passenger) voidMethods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, canImmediatelyDespawn, damage, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getXpToDrop, handleStatus, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks, tickMovementMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemPickUpRangeExpander, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPotentialEscapePositions, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropXp, eatFood, endCombat, enterCombat, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, asMessageSender, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEventSource, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, 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
cannotBeSilencedMethods inherited from interface net.minecraft.entity.ItemSteerable
travel
-
Field Details
-
COLD_SADDLED_SPEED
private static final float COLD_SADDLED_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official bXLbrg;bX:Fintermediary field_30499Lnet/minecraft/class_4985;field_30499:Fnamed COLD_SADDLED_SPEEDLnet/minecraft/entity/passive/StriderEntity;COLD_SADDLED_SPEED:F
-
COLD_SPEED
private static final float COLD_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official bYLbrg;bY:Fintermediary field_30500Lnet/minecraft/class_4985;field_30500:Fnamed COLD_SPEEDLnet/minecraft/entity/passive/StriderEntity;COLD_SPEED:F
-
DEFAULT_SADDLED_SPEED
private static final float DEFAULT_SADDLED_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official caLbrg;ca:Fintermediary field_30501Lnet/minecraft/class_4985;field_30501:Fnamed DEFAULT_SADDLED_SPEEDLnet/minecraft/entity/passive/StriderEntity;DEFAULT_SADDLED_SPEED:F
-
BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official cbLbrg;cb:Lccp;intermediary field_23243Lnet/minecraft/class_4985;field_23243:Lnet/minecraft/class_1856;named BREEDING_INGREDIENTLnet/minecraft/entity/passive/StriderEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
ATTRACTING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official ccLbrg;cc:Lccp;intermediary field_23244Lnet/minecraft/class_4985;field_23244:Lnet/minecraft/class_1856;named ATTRACTING_INGREDIENTLnet/minecraft/entity/passive/StriderEntity;ATTRACTING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
BOOST_TIME
- Mappings:
Namespace Name Mixin selector official cdLbrg;cd:Lzr;intermediary field_23245Lnet/minecraft/class_4985;field_23245:Lnet/minecraft/class_2940;named BOOST_TIMELnet/minecraft/entity/passive/StriderEntity;BOOST_TIME:Lnet/minecraft/entity/data/TrackedData;
-
COLD
- Mappings:
Namespace Name Mixin selector official ceLbrg;ce:Lzr;intermediary field_23246Lnet/minecraft/class_4985;field_23246:Lnet/minecraft/class_2940;named COLDLnet/minecraft/entity/passive/StriderEntity;COLD:Lnet/minecraft/entity/data/TrackedData;
-
SADDLED
- Mappings:
Namespace Name Mixin selector official cfLbrg;cf:Lzr;intermediary field_23247Lnet/minecraft/class_4985;field_23247:Lnet/minecraft/class_2940;named SADDLEDLnet/minecraft/entity/passive/StriderEntity;SADDLED:Lnet/minecraft/entity/data/TrackedData;
-
saddledComponent
- Mappings:
Namespace Name Mixin selector official cgLbrg;cg:Lbbb;intermediary field_23240Lnet/minecraft/class_4985;field_23240:Lnet/minecraft/class_4980;named saddledComponentLnet/minecraft/entity/passive/StriderEntity;saddledComponent:Lnet/minecraft/entity/SaddledComponent;
-
temptGoal
- Mappings:
Namespace Name Mixin selector official chLbrg;ch:Lbiz;intermediary field_23241Lnet/minecraft/class_4985;field_23241:Lnet/minecraft/class_1391;named temptGoalLnet/minecraft/entity/passive/StriderEntity;temptGoal:Lnet/minecraft/entity/ai/goal/TemptGoal;
-
escapeDangerGoal
- Mappings:
Namespace Name Mixin selector official ciLbrg;ci:Lbil;intermediary field_23242Lnet/minecraft/class_4985;field_23242:Lnet/minecraft/class_1374;named escapeDangerGoalLnet/minecraft/entity/passive/StriderEntity;escapeDangerGoal:Lnet/minecraft/entity/ai/goal/EscapeDangerGoal;
-
-
Constructor Details
-
StriderEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbaq;<init>(Lbau;Lcga;)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
-
canSpawn
public static boolean canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official cLbrg;c(Lbau;Lcgb;Lbbj;Lgt;Lalu;)Zintermediary method_26344Lnet/minecraft/class_4985;method_26344(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Znamed canSpawnLnet/minecraft/entity/passive/StriderEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lzr;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official a_Lbaq;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLbaq;b(Lpj;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lpj;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
isSaddled
public boolean isSaddled()- Specified by:
isSaddledin interfaceSaddleable- Mappings:
Namespace Name Mixin selector official dLbbu;d()Zintermediary method_6725Lnet/minecraft/class_5146;method_6725()Znamed isSaddledLnet/minecraft/entity/Saddleable;isSaddled()Z
-
canBeSaddled
public boolean canBeSaddled()- Specified by:
canBeSaddledin interfaceSaddleable- Mappings:
Namespace Name Mixin selector official cLbbu;c()Zintermediary method_6765Lnet/minecraft/class_5146;method_6765()Znamed canBeSaddledLnet/minecraft/entity/Saddleable;canBeSaddled()Z
-
saddle
- Specified by:
saddlein interfaceSaddleable- Mappings:
Namespace Name Mixin selector official aLbbu;a(Lajf;)Vintermediary method_6576Lnet/minecraft/class_5146;method_6576(Lnet/minecraft/class_3419;)Vnamed saddleLnet/minecraft/entity/Saddleable;saddle(Lnet/minecraft/sound/SoundCategory;)V
-
initGoals
protected void initGoals() -
setCold
public void setCold(boolean cold) - Mappings:
Namespace Name Mixin selector official vLbrg;v(Z)Vintermediary method_26349Lnet/minecraft/class_4985;method_26349(Z)Vnamed setColdLnet/minecraft/entity/passive/StriderEntity;setCold(Z)V
-
isCold
public boolean isCold()- Mappings:
Namespace Name Mixin selector official qLbrg;q()Zintermediary method_26348Lnet/minecraft/class_4985;method_26348()Znamed isColdLnet/minecraft/entity/passive/StriderEntity;isCold()Z
-
canWalkOnFluid
- Overrides:
canWalkOnFluidin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbbf;a(Ldoy;)Zintermediary method_26319Lnet/minecraft/class_1309;method_26319(Lnet/minecraft/class_3610;)Znamed canWalkOnFluidLnet/minecraft/entity/LivingEntity;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;)Z
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official buLbaq;bu()Dintermediary method_5621Lnet/minecraft/class_1297;method_5621()Dnamed getMountedHeightOffsetLnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
canSpawn
-
getPrimaryPassenger
- Overrides:
getPrimaryPassengerin classEntity- Mappings:
Namespace Name Mixin selector official cHLbaq;cH()Lbaq;intermediary method_5642Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1297;named getPrimaryPassengerLnet/minecraft/entity/Entity;getPrimaryPassenger()Lnet/minecraft/entity/Entity;
-
canEntityControl
- Mappings:
Namespace Name Mixin selector official aLbrg;a(Lbaq;)Zintermediary method_42169Lnet/minecraft/class_4985;method_42169(Lnet/minecraft/class_1297;)Znamed canEntityControlLnet/minecraft/entity/passive/StriderEntity;canEntityControl(Lnet/minecraft/entity/Entity;)Z
-
updatePassengerForDismount
- Overrides:
updatePassengerForDismountin classEntity- Mappings:
Namespace Name Mixin selector official bLbaq;b(Lbbf;)Ldvt;intermediary method_24829Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;named updatePassengerForDismountLnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official gLbbf;g(Ldvt;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
getSpeed
public float getSpeed()- Mappings:
Namespace Name Mixin selector official tLbrg;t()Fintermediary method_26345Lnet/minecraft/class_4985;method_26345()Fnamed getSpeedLnet/minecraft/entity/passive/StriderEntity;getSpeed()F
-
getSaddledSpeed
public float getSaddledSpeed()- Specified by:
getSaddledSpeedin interfaceItemSteerable- Mappings:
Namespace Name Mixin selector official bLbbc;b()Fintermediary method_26316Lnet/minecraft/class_4981;method_26316()Fnamed getSaddledSpeedLnet/minecraft/entity/ItemSteerable;getSaddledSpeed()F
-
setMovementInput
- Specified by:
setMovementInputin interfaceItemSteerable- Mappings:
Namespace Name Mixin selector official aLbbc;a(Ldvt;)Vintermediary method_26315Lnet/minecraft/class_4981;method_26315(Lnet/minecraft/class_243;)Vnamed setMovementInputLnet/minecraft/entity/ItemSteerable;setMovementInput(Lnet/minecraft/util/math/Vec3d;)V
-
calculateNextStepSoundDistance
protected float calculateNextStepSoundDistance()- Overrides:
calculateNextStepSoundDistancein classEntity- Mappings:
Namespace Name Mixin selector official aFLbaq;aF()Fintermediary method_5867Lnet/minecraft/class_1297;method_5867()Fnamed calculateNextStepSoundDistanceLnet/minecraft/entity/Entity;calculateNextStepSoundDistance()F
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLbaq;b(Lgt;Lcur;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
consumeOnAStickItem
public boolean consumeOnAStickItem()- Specified by:
consumeOnAStickItemin interfaceItemSteerable- Mappings:
Namespace Name Mixin selector official aLbbc;a()Zintermediary method_6577Lnet/minecraft/class_4981;method_6577()Znamed consumeOnAStickItemLnet/minecraft/entity/ItemSteerable;consumeOnAStickItem()Z
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) - Overrides:
fallin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(DZLcur;Lgt;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
tick
public void tick() -
isEscapingDanger
private boolean isEscapingDanger()- Mappings:
Namespace Name Mixin selector official fLLbrg;fL()Zintermediary method_30078Lnet/minecraft/class_4985;method_30078()Znamed isEscapingDangerLnet/minecraft/entity/passive/StriderEntity;isEscapingDanger()Z
-
isBeingTempted
private boolean isBeingTempted()- Mappings:
Namespace Name Mixin selector official fMLbrg;fM()Zintermediary method_30079Lnet/minecraft/class_4985;method_30079()Znamed isBeingTemptedLnet/minecraft/entity/passive/StriderEntity;isBeingTempted()Z
-
movesIndependently
protected boolean movesIndependently()When true, causes this entity to take over pathfinding for its controlling passenger.- Overrides:
movesIndependentlyin classMobEntity- Mappings:
Namespace Name Mixin selector official xLbbh;x()Zintermediary method_26323Lnet/minecraft/class_1308;method_26323()Znamed movesIndependentlyLnet/minecraft/entity/mob/MobEntity;movesIndependently()Z
-
updateFloating
private void updateFloating()- Mappings:
Namespace Name Mixin selector official fSLbrg;fS()Vintermediary method_26347Lnet/minecraft/class_4985;method_26347()Vnamed updateFloatingLnet/minecraft/entity/passive/StriderEntity;updateFloating()V
-
createStriderAttributes
- Mappings:
Namespace Name Mixin selector official fKLbrg;fK()Lbcf$a;intermediary method_26924Lnet/minecraft/class_4985;method_26924()Lnet/minecraft/class_5132$class_5133;named createStriderAttributesLnet/minecraft/entity/passive/StriderEntity;createStriderAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLbbh;r()Lajd;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbbf;c(Lazz;)Lajd;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;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official x_Lbbf;x_()Lajd;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
canAddPassenger
- Overrides:
canAddPassengerin classEntity- Mappings:
Namespace Name Mixin selector official oLbaq;o(Lbaq;)Zintermediary method_5818Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Znamed canAddPassengerLnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
-
hurtByWater
public boolean hurtByWater()- Overrides:
hurtByWaterin classLivingEntity- Mappings:
Namespace Name Mixin selector official eMLbbf;eM()Zintermediary method_29503Lnet/minecraft/class_1309;method_29503()Znamed hurtByWaterLnet/minecraft/entity/LivingEntity;hurtByWater()Z
-
isOnFire
public boolean isOnFire() -
getPathfindingFavor
- Overrides:
getPathfindingFavorin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbbo;a(Lgt;Lcgd;)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
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLbrg;b(Lafo;Lban;)Lbrg;intermediary method_26343Lnet/minecraft/class_4985;method_26343(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_4985;named createChildLnet/minecraft/entity/passive/StriderEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/StriderEntity;
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official nLbmh;n(Lcaa;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
dropInventory
protected void dropInventory()- Overrides:
dropInventoryin classLivingEntity- Mappings:
Namespace Name Mixin selector official ejLbbf;ej()Vintermediary method_16078Lnet/minecraft/class_1309;method_16078()Vnamed dropInventoryLnet/minecraft/entity/LivingEntity;dropInventory()V
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLbbh;b(Lbtf;Lazl;)Lazm;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
getLeashOffset
- Overrides:
getLeashOffsetin classEntity- Mappings:
Namespace Name Mixin selector official cCLbaq;cC()Ldvt;intermediary method_29919Lnet/minecraft/class_1297;method_29919()Lnet/minecraft/class_243;named getLeashOffsetLnet/minecraft/entity/Entity;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbbh;a(Lcgp;Lazk;Lbbj;Lbbx;Lpj;)Lbbx;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;
-
initializeRider
private EntityData initializeRider(ServerWorldAccess world, LocalDifficulty difficulty, MobEntity rider, @Nullable @Nullable EntityData entityData) - Mappings:
Namespace Name Mixin selector official aLbrg;a(Lcgp;Lazk;Lbbh;Lbbx;)Lbbx;intermediary method_30336Lnet/minecraft/class_4985;method_30336(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_1308;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;named initializeRiderLnet/minecraft/entity/passive/StriderEntity;initializeRider(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-