Package net.minecraft.entity.passive
Class TadpoleEntity
- All Implemented Interfaces:
Bucketable
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official bot
intermediary net/minecraft/class_7110
named net/minecraft/entity/passive/TadpoleEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionstatic float
static int
protected static final ImmutableList<MemoryModuleType<?>>
protected static final ImmutableList<SensorType<? extends Sensor<? super TadpoleEntity>>>
private int
static float
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields 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, targetSelector
Fields 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_FLAG
Fields 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, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
copyDataToStack
(ItemStack stack) protected Brain.Profile<TadpoleEntity>
protected EntityNavigation
createNavigation
(World world) private void
decrementItem
(PlayerEntity player, ItemStack stack) protected Brain<?>
deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) private void
eatSlimeBall
(PlayerEntity player, ItemStack stack) protected @Nullable SoundEvent
getBrain()
protected @Nullable SoundEvent
protected SoundEvent
protected @Nullable SoundEvent
getHurtSound
(DamageSource source) private int
private int
private void
growUp()
private void
increaseAge
(int seconds) interactMob
(PlayerEntity player, Hand hand) boolean
private boolean
isSlimeBall
(ItemStack stack) protected void
mobTick()
void
Reads custom data fromnbt
.protected void
void
setFromBucket
(boolean fromBucket) private void
setTadpoleAge
(int tadpoleAge) boolean
Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.void
void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.passive.FishEntity
canImmediatelyDespawn, cannotDespawn, createFishAttributes, getActiveEyeHeight, getLimitPerChunk, getSwimSound, hasSelfControl, initDataTracker, initGoals, playStepSound, travel
Methods inherited from class net.minecraft.entity.mob.WaterCreatureEntity
baseTick, canBeLeashedBy, canBreatheInWater, canSpawn, canSpawn, getGroup, getMinAmbientSoundDelay, getXpToDrop, isPushedByFluids, tickWaterBreathingAir
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, canEquip, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPotentialEscapePositions, getSafeFallDistance, getTarget, getVisibilityCache, handleStatus, hasPositionTarget, initEquipment, initialize, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, 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, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, createSpawnPacket, damage, damageArmor, damageHelmet, damageShield, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, 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, 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, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, 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, 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, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, 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, 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, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMessageSourceProfile, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, 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, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, 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, 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, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 b
Lbot;b:I
intermediary field_37496
Lnet/minecraft/class_7110;field_37496:I
named MAX_TADPOLE_AGE
Lnet/minecraft/entity/passive/TadpoleEntity;MAX_TADPOLE_AGE:I
-
WIDTH
public static float WIDTH- Mappings:
Namespace Name Mixin selector official c
Lbot;c:F
intermediary field_39302
Lnet/minecraft/class_7110;field_39302:F
named WIDTH
Lnet/minecraft/entity/passive/TadpoleEntity;WIDTH:F
-
HEIGHT
public static float HEIGHT- Mappings:
Namespace Name Mixin selector official d
Lbot;d:F
intermediary field_39303
Lnet/minecraft/class_7110;field_39303:F
named HEIGHT
Lnet/minecraft/entity/passive/TadpoleEntity;HEIGHT:F
-
SENSORS
- Mappings:
Namespace Name Mixin selector official e
Lbot;e:Lcom/google/common/collect/ImmutableList;
intermediary field_37497
Lnet/minecraft/class_7110;field_37497:Lcom/google/common/collect/ImmutableList;
named SENSORS
Lnet/minecraft/entity/passive/TadpoleEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
-
MEMORY_MODULES
- Mappings:
Namespace Name Mixin selector official bX
Lbot;bX:Lcom/google/common/collect/ImmutableList;
intermediary field_37498
Lnet/minecraft/class_7110;field_37498:Lcom/google/common/collect/ImmutableList;
named MEMORY_MODULES
Lnet/minecraft/entity/passive/TadpoleEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
-
tadpoleAge
private int tadpoleAge- Mappings:
Namespace Name Mixin selector official bY
Lbot;bY:I
intermediary field_37499
Lnet/minecraft/class_7110;field_37499:I
named tadpoleAge
Lnet/minecraft/entity/passive/TadpoleEntity;tadpoleAge:I
-
-
Constructor Details
-
TadpoleEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbbn;<init>(Lbbr;Lcgx;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
createBrainProfile
- Overrides:
createBrainProfile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dz
Lbcc;dz()Lbcx$b;
intermediary method_28306
Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
named createBrainProfile
Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Overrides:
deserializeBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbcc;a(Lcom/mojang/serialization/Dynamic;)Lbcx;
intermediary method_18867
Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
named deserializeBrain
Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
getBrain
- Overrides:
getBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dy
Lbcc;dy()Lbcx;
intermediary method_18868
Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
named getBrain
Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
getFlopSound
- Specified by:
getFlopSound
in classFishEntity
- Mappings:
Namespace Name Mixin selector official fK
Lbnb;fK()Lajv;
intermediary method_6457
Lnet/minecraft/class_1422;method_6457()Lnet/minecraft/class_3414;
named getFlopSound
Lnet/minecraft/entity/passive/FishEntity;getFlopSound()Lnet/minecraft/sound/SoundEvent;
-
mobTick
protected void mobTick() -
createTadpoleAttributes
- Mappings:
Namespace Name Mixin selector official fL
Lbot;fL()Lbdc$a;
intermediary method_41395
Lnet/minecraft/class_7110;method_41395()Lnet/minecraft/class_5132$class_5133;
named createTadpoleAttributes
Lnet/minecraft/entity/passive/TadpoleEntity;createTadpoleAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classFishEntity
- Mappings:
Namespace Name Mixin selector official w_
Lbcc;w_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/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:
writeCustomDataToNbt
in classFishEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbbn;b(Lpj;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/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.
nbt
might 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:
readCustomDataFromNbt
in classFishEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbbn;a(Lpj;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official r
Lbce;r()Lajv;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbcc;c(Lbaw;)Lajv;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official x_
Lbcc;x_()Lajv;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
interactMob
- Overrides:
interactMob
in classFishEntity
- Mappings:
Namespace Name Mixin selector official b
Lbce;b(Lbuc;Lbai;)Lbaj;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugData
in classMobEntity
- Mappings:
Namespace Name Mixin selector official R
Lbce;R()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
isFromBucket
public boolean isFromBucket()- Specified by:
isFromBucket
in interfaceBucketable
- Overrides:
isFromBucket
in classFishEntity
- Mappings:
Namespace Name Mixin selector official q
Lbng;q()Z
intermediary method_6453
Lnet/minecraft/class_5761;method_6453()Z
named isFromBucket
Lnet/minecraft/entity/Bucketable;isFromBucket()Z
-
setFromBucket
public void setFromBucket(boolean fromBucket) - Specified by:
setFromBucket
in interfaceBucketable
- Overrides:
setFromBucket
in classFishEntity
- Mappings:
Namespace Name Mixin selector official v
Lbng;v(Z)V
intermediary method_6454
Lnet/minecraft/class_5761;method_6454(Z)V
named setFromBucket
Lnet/minecraft/entity/Bucketable;setFromBucket(Z)V
-
copyDataToStack
- Specified by:
copyDataToStack
in interfaceBucketable
- Overrides:
copyDataToStack
in classFishEntity
- Mappings:
Namespace Name Mixin selector official m
Lbng;m(Lcax;)V
intermediary method_6455
Lnet/minecraft/class_5761;method_6455(Lnet/minecraft/class_1799;)V
named copyDataToStack
Lnet/minecraft/entity/Bucketable;copyDataToStack(Lnet/minecraft/item/ItemStack;)V
-
copyDataFromNbt
- Specified by:
copyDataFromNbt
in interfaceBucketable
- Overrides:
copyDataFromNbt
in classFishEntity
- Mappings:
Namespace Name Mixin selector official c
Lbng;c(Lpj;)V
intermediary method_35170
Lnet/minecraft/class_5761;method_35170(Lnet/minecraft/class_2487;)V
named copyDataFromNbt
Lnet/minecraft/entity/Bucketable;copyDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getBucketItem
- Mappings:
Namespace Name Mixin selector official b
Lbng;b()Lcax;
intermediary method_6452
Lnet/minecraft/class_5761;method_6452()Lnet/minecraft/class_1799;
named getBucketItem
Lnet/minecraft/entity/Bucketable;getBucketItem()Lnet/minecraft/item/ItemStack;
-
getBucketFillSound
- Specified by:
getBucketFillSound
in interfaceBucketable
- Overrides:
getBucketFillSound
in classFishEntity
- Mappings:
Namespace Name Mixin selector official t
Lbng;t()Lajv;
intermediary method_35171
Lnet/minecraft/class_5761;method_35171()Lnet/minecraft/class_3414;
named getBucketFillSound
Lnet/minecraft/entity/Bucketable;getBucketFillSound()Lnet/minecraft/sound/SoundEvent;
-
isSlimeBall
- Mappings:
Namespace Name Mixin selector official n
Lbot;n(Lcax;)Z
intermediary method_41399
Lnet/minecraft/class_7110;method_41399(Lnet/minecraft/class_1799;)Z
named isSlimeBall
Lnet/minecraft/entity/passive/TadpoleEntity;isSlimeBall(Lnet/minecraft/item/ItemStack;)Z
-
eatSlimeBall
- Mappings:
Namespace Name Mixin selector official a
Lbot;a(Lbuc;Lcax;)V
intermediary method_41391
Lnet/minecraft/class_7110;method_41391(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
named eatSlimeBall
Lnet/minecraft/entity/passive/TadpoleEntity;eatSlimeBall(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
decrementItem
- Mappings:
Namespace Name Mixin selector official b
Lbot;b(Lbuc;Lcax;)V
intermediary method_41393
Lnet/minecraft/class_7110;method_41393(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
named decrementItem
Lnet/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 fM
Lbot;fM()I
intermediary method_41396
Lnet/minecraft/class_7110;method_41396()I
named getTadpoleAge
Lnet/minecraft/entity/passive/TadpoleEntity;getTadpoleAge()I
-
increaseAge
private void increaseAge(int seconds) - Mappings:
Namespace Name Mixin selector official b
Lbot;b(I)V
intermediary method_41392
Lnet/minecraft/class_7110;method_41392(I)V
named increaseAge
Lnet/minecraft/entity/passive/TadpoleEntity;increaseAge(I)V
-
setTadpoleAge
private void setTadpoleAge(int tadpoleAge) - Mappings:
Namespace Name Mixin selector official c
Lbot;c(I)V
intermediary method_41394
Lnet/minecraft/class_7110;method_41394(I)V
named setTadpoleAge
Lnet/minecraft/entity/passive/TadpoleEntity;setTadpoleAge(I)V
-
growUp
private void growUp()- Mappings:
Namespace Name Mixin selector official fN
Lbot;fN()V
intermediary method_41397
Lnet/minecraft/class_7110;method_41397()V
named growUp
Lnet/minecraft/entity/passive/TadpoleEntity;growUp()V
-
getTicksUntilGrowth
private int getTicksUntilGrowth()- Mappings:
Namespace Name Mixin selector official fO
Lbot;fO()I
intermediary method_41398
Lnet/minecraft/class_7110;method_41398()I
named getTicksUntilGrowth
Lnet/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:
shouldDropXp
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official dM
Lbcc;dM()Z
intermediary method_6054
Lnet/minecraft/class_1309;method_6054()Z
named shouldDropXp
Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z