Package net.minecraft.entity.passive
Class TadpoleEntity
- All Implemented Interfaces:
Attackable,Bucketable,Targeter,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bsqintermediary net/minecraft/class_7110named net/minecraft/entity/passive/TadpoleEntity
-
Nested Class Summary
Nested 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 TypeFieldDescriptionstatic floatstatic intprotected static final ImmutableList<MemoryModuleType<?>>protected static final ImmutableList<SensorType<? extends Sensor<? super TadpoleEntity>>>private intstatic floatFields 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, 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, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, 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_COMMAND_TAGS, MAX_RIDING_COOLDOWN, 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, 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 TypeMethodDescriptionvoidvoidcopyDataToStack(ItemStack stack) protected Brain.Profile<TadpoleEntity>protected EntityNavigationcreateNavigation(World world) private voiddecrementItem(PlayerEntity player, ItemStack stack) protected Brain<?>deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) private voideatSlimeBall(PlayerEntity player, ItemStack stack) protected @Nullable SoundEventgetBrain()protected @Nullable SoundEventprotected SoundEventprotected @Nullable SoundEventgetHurtSound(DamageSource source) private intprivate intprivate voidgrowUp()private voidincreaseAge(int seconds) interactMob(PlayerEntity player, Hand hand) booleanprivate booleanisSlimeBall(ItemStack stack) protected voidmobTick()voidReads custom data fromnbt.protected voidvoidsetFromBucket(boolean fromBucket) private voidsetTadpoleAge(int tadpoleAge) booleanReturns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.passive.FishEntity
canImmediatelyDespawn, cannotDespawn, createFishAttributes, getActiveEyeHeight, getLimitPerChunk, getSwimSound, hasSelfControl, initDataTracker, initGoals, playStepSound, travelMethods inherited from class net.minecraft.entity.mob.WaterCreatureEntity
baseTick, canBeLeashedBy, canBreatheInWater, canSpawn, canSpawn, getGroup, getMinAmbientSoundDelay, getXpToDrop, isPushedByFluids, tickWaterBreathingAirMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, canEquip, canGather, canMobSpawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, handleStatus, hasPositionTarget, initEquipment, initialize, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, lookAtEntity, loot, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, damage, damageArmor, damageHelmet, damageShield, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, 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, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, 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, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, 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, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, limitFallDistance, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, 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, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, 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
cannotBeSilenced
-
Field Details
-
MAX_TADPOLE_AGE
public static int MAX_TADPOLE_AGE- Mappings:
Namespace Name Mixin selector official bLbsq;b:Iintermediary field_37496Lnet/minecraft/class_7110;field_37496:Inamed MAX_TADPOLE_AGELnet/minecraft/entity/passive/TadpoleEntity;MAX_TADPOLE_AGE:I
-
WIDTH
public static float WIDTH- Mappings:
Namespace Name Mixin selector official cLbsq;c:Fintermediary field_39302Lnet/minecraft/class_7110;field_39302:Fnamed WIDTHLnet/minecraft/entity/passive/TadpoleEntity;WIDTH:F
-
HEIGHT
public static float HEIGHT- Mappings:
Namespace Name Mixin selector official dLbsq;d:Fintermediary field_39303Lnet/minecraft/class_7110;field_39303:Fnamed HEIGHTLnet/minecraft/entity/passive/TadpoleEntity;HEIGHT:F
-
SENSORS
- Mappings:
Namespace Name Mixin selector official eLbsq;e:Lcom/google/common/collect/ImmutableList;intermediary field_37497Lnet/minecraft/class_7110;field_37497:Lcom/google/common/collect/ImmutableList;named SENSORSLnet/minecraft/entity/passive/TadpoleEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
-
MEMORY_MODULES
- Mappings:
Namespace Name Mixin selector official bSLbsq;bS:Lcom/google/common/collect/ImmutableList;intermediary field_37498Lnet/minecraft/class_7110;field_37498:Lcom/google/common/collect/ImmutableList;named MEMORY_MODULESLnet/minecraft/entity/passive/TadpoleEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
-
tadpoleAge
private int tadpoleAge- Mappings:
Namespace Name Mixin selector official bTLbsq;bT:Iintermediary field_37499Lnet/minecraft/class_7110;field_37499:Inamed tadpoleAgeLnet/minecraft/entity/passive/TadpoleEntity;tadpoleAge:I
-
-
Constructor Details
-
TadpoleEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbew;<init>(Lbfa;Lcly;)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
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector official dILbfm;dI()Lbgn$b;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbfm;a(Lcom/mojang/serialization/Dynamic;)Lbgn;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
getBrain
- Overrides:
getBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official dHLbfm;dH()Lbgn;intermediary method_18868Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;named getBrainLnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
getFlopSound
- Specified by:
getFlopSoundin classFishEntity- Mappings:
Namespace Name Mixin selector official fSLbqv;fS()Lamc;intermediary method_6457Lnet/minecraft/class_1422;method_6457()Lnet/minecraft/class_3414;named getFlopSoundLnet/minecraft/entity/passive/FishEntity;getFlopSound()Lnet/minecraft/sound/SoundEvent;
-
mobTick
protected void mobTick() -
createTadpoleAttributes
- Mappings:
Namespace Name Mixin selector official fTLbsq;fT()Lbgs$a;intermediary method_41395Lnet/minecraft/class_7110;method_41395()Lnet/minecraft/class_5132$class_5133;named createTadpoleAttributesLnet/minecraft/entity/passive/TadpoleEntity;createTadpoleAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classFishEntity- Mappings:
Namespace Name Mixin selector official b_Lbfm;b_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classFishEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbew;b(Lqq;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classFishEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbew;a(Lqq;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLbfo;r()Lamc;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 dLbfm;d(Lbeb;)Lamc;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 y_Lbfm;y_()Lamc;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
interactMob
- Overrides:
interactMobin classFishEntity- Mappings:
Namespace Name Mixin selector official bLbfo;b(Lbyb;Lbdm;)Lbdn;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;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official RLbfo;R()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
isFromBucket
public boolean isFromBucket()- Specified by:
isFromBucketin interfaceBucketable- Overrides:
isFromBucketin classFishEntity- Mappings:
Namespace Name Mixin selector official qLbra;q()Zintermediary method_6453Lnet/minecraft/class_5761;method_6453()Znamed isFromBucketLnet/minecraft/entity/Bucketable;isFromBucket()Z
-
setFromBucket
public void setFromBucket(boolean fromBucket) - Specified by:
setFromBucketin interfaceBucketable- Overrides:
setFromBucketin classFishEntity- Mappings:
Namespace Name Mixin selector official wLbra;w(Z)Vintermediary method_6454Lnet/minecraft/class_5761;method_6454(Z)Vnamed setFromBucketLnet/minecraft/entity/Bucketable;setFromBucket(Z)V
-
copyDataToStack
- Specified by:
copyDataToStackin interfaceBucketable- Overrides:
copyDataToStackin classFishEntity- Mappings:
Namespace Name Mixin selector official lLbra;l(Lcfl;)Vintermediary method_6455Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)Vnamed copyDataToStackLnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)V
-
copyDataFromNbt
- Specified by:
copyDataFromNbtin interfaceBucketable- Overrides:
copyDataFromNbtin classFishEntity- Mappings:
Namespace Name Mixin selector official cLbra;c(Lqq;)Vintermediary method_35170Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)Vnamed copyDataFromNbtLnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getBucketItem
- Mappings:
Namespace Name Mixin selector official bLbra;b()Lcfl;intermediary method_6452Lnet/minecraft/class_5761;method_6452()Lnet/minecraft/class_1799;named getBucketItemLnet/minecraft/entity/Bucketable;getBucketItem()Lnet/minecraft/item/ItemStack;
-
getBucketFillSound
- Specified by:
getBucketFillSoundin interfaceBucketable- Overrides:
getBucketFillSoundin classFishEntity- Mappings:
Namespace Name Mixin selector official tLbra;t()Lamc;intermediary method_35171Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;named getBucketFillSoundLnet/minecraft/entity/Bucketable;getBucketFillSound()Lnet/minecraft/sound/SoundEvent;
-
isSlimeBall
- Mappings:
Namespace Name Mixin selector official mLbsq;m(Lcfl;)Zintermediary method_41399Lnet/minecraft/class_7110;method_41399(Lnet/minecraft/class_1799;)Znamed isSlimeBallLnet/minecraft/entity/passive/TadpoleEntity;isSlimeBall(Lnet/minecraft/item/ItemStack;)Z
-
eatSlimeBall
- Mappings:
Namespace Name Mixin selector official aLbsq;a(Lbyb;Lcfl;)Vintermediary method_41391Lnet/minecraft/class_7110;method_41391(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vnamed eatSlimeBallLnet/minecraft/entity/passive/TadpoleEntity;eatSlimeBall(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
decrementItem
- Mappings:
Namespace Name Mixin selector official bLbsq;b(Lbyb;Lcfl;)Vintermediary method_41393Lnet/minecraft/class_7110;method_41393(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vnamed decrementItemLnet/minecraft/entity/passive/TadpoleEntity;decrementItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
getTadpoleAge
private int getTadpoleAge()- Mappings:
Namespace Name Mixin selector official fULbsq;fU()Iintermediary method_41396Lnet/minecraft/class_7110;method_41396()Inamed getTadpoleAgeLnet/minecraft/entity/passive/TadpoleEntity;getTadpoleAge()I
-
increaseAge
private void increaseAge(int seconds) - Mappings:
Namespace Name Mixin selector official cLbsq;c(I)Vintermediary method_41392Lnet/minecraft/class_7110;method_41392(I)Vnamed increaseAgeLnet/minecraft/entity/passive/TadpoleEntity;increaseAge(I)V
-
setTadpoleAge
private void setTadpoleAge(int tadpoleAge) - Mappings:
Namespace Name Mixin selector official rLbsq;r(I)Vintermediary method_41394Lnet/minecraft/class_7110;method_41394(I)Vnamed setTadpoleAgeLnet/minecraft/entity/passive/TadpoleEntity;setTadpoleAge(I)V
-
growUp
private void growUp()- Mappings:
Namespace Name Mixin selector official fVLbsq;fV()Vintermediary method_41397Lnet/minecraft/class_7110;method_41397()Vnamed growUpLnet/minecraft/entity/passive/TadpoleEntity;growUp()V
-
getTicksUntilGrowth
private int getTicksUntilGrowth()- Mappings:
Namespace Name Mixin selector official fWLbsq;fW()Iintermediary method_41398Lnet/minecraft/class_7110;method_41398()Inamed getTicksUntilGrowthLnet/minecraft/entity/passive/TadpoleEntity;getTicksUntilGrowth()I
-
shouldDropXp
public boolean shouldDropXp()Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.If
shouldAlwaysDropXp()returnstrue, this check is disregarded.- Overrides:
shouldDropXpin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official dVLbfm;dV()Zintermediary method_6054Lnet/minecraft/class_1309;method_6054()Znamed shouldDropXpLnet/minecraft/entity/LivingEntity;shouldDropXp()Z