net.minecraft.world.entity.animal.frog

public class Frog

extends Animal implements VariantHolder<Holder<FrogVariant>>

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, VariantHolder

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

Field summary

Modifier and TypeField
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Frog>>>
bY
SENSOR_TYPES
field_37449
SENSORS
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
bZ
MEMORY_TYPES
field_37450
MEMORY_MODULES
private static final EntityDataAccessor<Holder<FrogVariant>>
cg
DATA_VARIANT_ID
field_37457
VARIANT
private static final EntityDataAccessor<OptionalInt>
ch
DATA_TONGUE_TARGET_ID
field_37458
TARGET
private static final int
ci
FROG_FALL_DAMAGE_REDUCTION
field_37459
field_37459
public static final String
ca
VARIANT_KEY
field_38720
VARIANT_KEY
private static final ResourceKey<FrogVariant>
cj
DEFAULT_VARIANT
field_49988
DEFAULT_VARIANT_KEY
public final AnimationState
cc
jumpAnimationState
field_37451
longJumpingAnimationState
public final AnimationState
cd
croakAnimationState
field_37452
croakingAnimationState
public final AnimationState
ce
tongueAnimationState
field_37453
usingTongueAnimationState
public final AnimationState
cf
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(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
p()
eraseTongueTarget()
method_41359()
clearFrogTarget()
public Optional<Entity>
t()
getTongueTarget()
method_41360()
getFrogTarget()
public void
b(bum arg0)
setTongueTarget(Entity arg0)
method_41352(class_1297 arg0)
setFrogTarget(Entity entity)
public int
ai()
getHeadRotSpeed()
method_20240()
getMaxLookYawChange()
public int
af()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public Holder<FrogVariant>
x()
getVariant()
method_41354()
getVariant()
public void
j(jr<chk> arg0)
setVariant(Holder<FrogVariant> arg0)
method_41353(class_6880<class_7106> arg0)
setVariant(RegistryEntry<FrogVariant> arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
h()
tick()
method_5773()
tick()
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
protected void
B(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
public void
gy()
playEatingSound()
method_61458()
playEatSound()
public AgeableMob
a(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
e_()
isBaby()
method_6109()
isBaby()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
public void
a(ard arg0, cgz arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb 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
gs()
createAttributes()
method_41355()
createFrogAttributes()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(ji arg0, dwy 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
ac()
sendDebugPackets()
method_18409()
sendAiDebugData()
protected int
f(float arg0, float arg1)
calculateFallDamage(float arg0, float arg1)
method_23329(float arg0, float arg1)
computeFallDamage(float arg0, float arg1)
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public static boolean
j(bvi arg0)
canEat(LivingEntity arg0)
method_41358(class_1309 arg0)
isValidFrogFood(LivingEntity entity)
protected PathNavigation
b(dgj arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
public boolean
j(cwq arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static boolean
c(but<? extends cgz> arg0, dgk arg1, bus arg2, ji arg3, azh 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)