net.minecraft.world.entity.animal.frog

public class Frog

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting

ckl
net.minecraft.world.entity.animal.frog.Frog
net.minecraft.class_7102
net.minecraft.entity.passive.FrogEntity

Field summary

Modifier and TypeField
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Frog>>>
bF
SENSOR_TYPES
field_37449
SENSORS
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
bG
MEMORY_TYPES
field_37450
MEMORY_MODULES
private static final EntityDataAccessor<Holder<FrogVariant>>
bM
DATA_VARIANT_ID
field_37457
VARIANT
private static final EntityDataAccessor<OptionalInt>
bN
DATA_TONGUE_TARGET_ID
field_37458
TARGET
private static final int
bO
FROG_FALL_DAMAGE_REDUCTION
field_37459
field_37459
private static final ResourceKey<FrogVariant>
bP
DEFAULT_VARIANT
field_49988
DEFAULT_VARIANT_KEY
public final AnimationState
bH
jumpAnimationState
field_37451
longJumpingAnimationState
public final AnimationState
bJ
croakAnimationState
field_37452
croakingAnimationState
public final AnimationState
bK
tongueAnimationState
field_37453
usingTongueAnimationState
public final AnimationState
bL
swimIdleAnimationState
field_37456
idlingInWaterAnimationState

Constructor summary

ModifierConstructor
public (EntityType<? extends Animal> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected Brain$Provider<Frog>
ec()
brainProvider()
method_28306()
createBrainProfile()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Frog>
eb()
getBrain()
method_18868()
getBrain()
protected void
a(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
q()
eraseTongueTarget()
method_41359()
clearFrogTarget()
public Optional<Entity>
t()
getTongueTarget()
method_41360()
getFrogTarget()
public void
b(bwa arg0)
setTongueTarget(Entity arg0)
method_41352(class_1297 arg0)
setFrogTarget(Entity entity)
public int
ag()
getHeadRotSpeed()
method_20240()
getMaxLookYawChange()
public int
ad()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public Holder<FrogVariant>
x()
getVariant()
method_41354()
getVariant()
private void
j(je<ckn> arg0)
setVariant(Holder<FrogVariant> arg0)
method_41353(class_6880<class_7106> arg0)
setVariant(RegistryEntry<FrogVariant> variant)
public <T> T
a(ki<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
a(ke arg0)
applyImplicitComponents(DataComponentGetter arg0)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
b(ki<T> arg0, T arg1)
applyImplicitComponent(DataComponentType<T> arg0, T arg1)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(aro arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
h()
tick()
method_5773()
tick()
public void
a(akh<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
protected void
A(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
public void
gw()
playEatingSound()
method_61458()
playEatSound()
public AgeableMob
a(aro arg0, bvq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
n_()
isBaby()
method_6109()
isBaby()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
public void
a(aro arg0, cio arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
public SpawnGroupData
a(djg arg0, btw arg1, bwi arg2, bxr arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
public static AttributeSupplier$Builder
gq()
createAttributes()
method_41355()
createFrogAttributes()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(iu arg0, dzo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public boolean
cJ()
isPushedByFluid()
method_5675()
isPushedByFluids()
protected void
ab()
sendDebugPackets()
method_18409()
sendAiDebugData()
protected int
a(double arg0, float arg1)
calculateFallDamage(double arg0, float arg1)
method_23329(double arg0, float arg1)
computeFallDamage(double arg0, float arg1)
public void
a_(fdw arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public static boolean
i(bwz arg0)
canEat(LivingEntity arg0)
method_41358(class_1309 arg0)
isValidFrogFood(LivingEntity entity)
protected PathNavigation
b(dip arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public LivingEntity
f()
getTarget()
method_5968()
getTarget()
public boolean
k(cys arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static boolean
c(bwj<? extends cio> arg0, diq arg1, bwi arg2, iu arg3, azt arg4)
checkFrogSpawnRules(EntityType<? extends Animal> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_43398(class_1299<? extends class_1429> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)