Package net.minecraft.entity.passive
Class TadpoleEntity
- All Implemented Interfaces:
Bucketable,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official botintermediary 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, 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 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, 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, updateGoalControlsMethods 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, wakeUpMethods 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, 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 bLbot;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 cLbot;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 dLbot;d:Fintermediary field_39303Lnet/minecraft/class_7110;field_39303:Fnamed HEIGHTLnet/minecraft/entity/passive/TadpoleEntity;HEIGHT:F
-
SENSORS
- Mappings:
Namespace Name Mixin selector official eLbot;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 bXLbot;bX: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 bYLbot;bY: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>Lbbn;<init>(Lbbr;Lcgx;)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 dzLbcc;dz()Lbcx$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 aLbcc;a(Lcom/mojang/serialization/Dynamic;)Lbcx;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 dyLbcc;dy()Lbcx;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 fKLbnb;fK()Lajv;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 fLLbot;fL()Lbdc$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 w_Lbcc;w_()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 bLbbn;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
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 aLbbn;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
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLbce;r()Lajv;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 cLbcc;c(Lbaw;)Lajv;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_Lbcc;x_()Lajv;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 bLbce;b(Lbuc;Lbai;)Lbaj;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 RLbce;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 qLbng;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 vLbng;v(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 mLbng;m(Lcax;)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 cLbng;c(Lpj;)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 bLbng;b()Lcax;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 tLbng;t()Lajv;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 nLbot;n(Lcax;)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 aLbot;a(Lbuc;Lcax;)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 bLbot;b(Lbuc;Lcax;)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 fMLbot;fM()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 bLbot;b(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 cLbot;c(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 fNLbot;fN()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 fOLbot;fO()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 dMLbcc;dM()Zintermediary method_6054Lnet/minecraft/class_1309;method_6054()Znamed shouldDropXpLnet/minecraft/entity/LivingEntity;shouldDropXp()Z