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

cjr
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>>>
bZ
SENSOR_TYPES
field_37449
SENSORS
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
ca
MEMORY_TYPES
field_37450
MEMORY_MODULES
private static final EntityDataAccessor<Holder<FrogVariant>>
ch
DATA_VARIANT_ID
field_37457
VARIANT
private static final EntityDataAccessor<OptionalInt>
ci
DATA_TONGUE_TARGET_ID
field_37458
TARGET
private static final int
cj
FROG_FALL_DAMAGE_REDUCTION
field_37459
field_37459
public static final String
cb
VARIANT_KEY
field_38720
VARIANT_KEY
private static final ResourceKey<FrogVariant>
ck
DEFAULT_VARIANT
field_49988
DEFAULT_VARIANT_KEY
public final AnimationState
cd
jumpAnimationState
field_37451
longJumpingAnimationState
public final AnimationState
ce
croakAnimationState
field_37452
croakingAnimationState
public final AnimationState
cf
tongueAnimationState
field_37453
usingTongueAnimationState
public final AnimationState
cg
swimIdleAnimationState
field_37456
idlingInWaterAnimationState

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Brain$Provider<Frog>
ed()
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>
ec()
getBrain()
method_18868()
getBrain()
protected void
a(alg$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(bvk arg0)
setTongueTarget(Entity arg0)
method_41352(class_1297 arg0)
setFrogTarget(Entity entity)
public int
ac()
getHeadRotSpeed()
method_20240()
getMaxLookYawChange()
public int
aa()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
public Holder<FrogVariant>
x()
getVariant()
method_41354()
getVariant()
public void
j(jq<cii> arg0)
setVariant(Holder<FrogVariant> arg0)
method_41353(class_6880<class_7106> arg0)
setVariant(RegistryEntry<FrogVariant> arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
h()
tick()
method_5773()
tick()
public void
a(alc<?> 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
gu()
playEatingSound()
method_61458()
playEatSound()
public AgeableMob
a(ash arg0, bvb 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(ash arg0, chx arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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
go()
createAttributes()
method_41355()
createFrogAttributes()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(jh arg0, dxv 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
Y()
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_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public static boolean
j(bwg arg0)
canEat(LivingEntity arg0)
method_41358(class_1309 arg0)
isValidFrogFood(LivingEntity entity)
protected PathNavigation
b(dhi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public LivingEntity
O_()
getTarget()
method_5968()
getTarget()
public boolean
j(cxp arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public static boolean
c(bvr<? extends chx> arg0, dhj arg1, bvq arg2, jh arg3, bam 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)