net.minecraft.world.entity.animal.frog

public class Frog

extends Animal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

boq
net.minecraft.world.entity.animal.frog.Frog
net.minecraft.class_7102
net.minecraft.entity.passive.FrogEntity
net.minecraft.src.C_213038_
net.minecraft.world.entity.animal.frog.Frog

Field summary

Modifier and TypeField
public static final Ingredient
bX
TEMPTATION_ITEM
field_37448
SLIME_BALL
f_218455_
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Frog>>>
bY
SENSOR_TYPES
field_37449
SENSORS
f_218456_
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
ca
MEMORY_TYPES
field_37450
MEMORY_MODULES
f_218457_
private static final EntityDataAccessor<FrogVariant>
ci
DATA_VARIANT_ID
field_37457
VARIANT
f_218465_
private static final EntityDataAccessor<OptionalInt>
cj
DATA_TONGUE_TARGET_ID
field_37458
TARGET
f_218466_
private static final int
ck
FROG_FALL_DAMAGE_REDUCTION
field_37459
field_37459
f_218467_
public static final String
cb
VARIANT_KEY
field_38720
VARIANT_KEY
f_218458_
public final AnimationState
cc
jumpAnimationState
field_37451
longJumpingAnimationState
f_218459_
public final AnimationState
cd
croakAnimationState
field_37452
croakingAnimationState
f_218460_
public final AnimationState
ce
tongueAnimationState
field_37453
usingTongueAnimationState
f_218461_
public final AnimationState
cf
walkAnimationState
field_37454
walkingAnimationState
f_218462_
public final AnimationState
cg
swimAnimationState
field_37455
swimmingAnimationState
f_218463_
public final AnimationState
ch
swimIdleAnimationState
field_37456
idlingInWaterAnimationState
f_218464_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Brain$Provider<Frog>
dz()
brainProvider()
method_28306()
createBrainProfile()
m_5490_()
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)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
public Brain<Frog>
dy()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
q()
eraseTongueTarget()
method_41359()
clearFrogTarget()
m_218536_()
public Optional<Entity>
t()
getTongueTarget()
method_41360()
getFrogTarget()
m_218538_()
public void
a(bbn arg0)
setTongueTarget(Entity arg0)
method_41352(class_1297 arg0)
setFrogTarget(Entity entity)
m_218481_(C_507_ arg0)
public int
fn()
getHeadRotSpeed()
method_20240()
getMaxLookYawChange()
m_21529_()
public int
V()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
public FrogVariant
fJ()
getVariant()
method_41354()
getVariant()
m_218524_()
public void
a(bnp arg0)
setVariant(FrogVariant arg0)
method_41353(class_7106 arg0)
setVariant(FrogVariant variant)
m_218483_(C_213034_ arg0)
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
dB()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
private boolean
fL()
isMovingOnLand()
method_41356()
shouldWalk()
m_218526_()
private boolean
fR()
isMovingInWater()
method_41357()
shouldSwim()
m_218527_()
protected void
T()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
public void
a(aaj<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public AgeableMob
a(agg arg0, bbk arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_218477_, C_141062_ arg1)
public boolean
y_()
isBaby()
method_6109()
isBaby()
m_6162_()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public void
a(agg arg0, bne arg1)
spawnChildFromBreeding(ServerLevel arg0, Animal arg1)
method_24650(class_3218 arg0, class_1429 arg1)
breed(ServerWorld arg0, AnimalEntity arg1)
m_27563_(C_12_ p_218480_, C_801_ arg1)
public SpawnGroupData
a(chm arg0, bah arg1, bcg arg2, bcu arg3, pj arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_218489_, C_469_ p_218490_, C_529_ p_218491_, C_542_ p_218492_, C_4917_ arg4)
public static AttributeSupplier$Builder
fK()
createAttributes()
method_41355()
createFrogAttributes()
m_218525_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(baw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(gt arg0, cvo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_218506_, C_2064_ arg1)
public boolean
cr()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
protected void
R()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected int
d(float arg0, float arg1)
calculateFallDamage(float arg0, float arg1)
method_23329(float arg0, float arg1)
computeFallDamage(float arg0, float arg1)
m_5639_(float p_218520_, float arg1)
public void
g(dwq arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public boolean
b(dqh arg0)
canCutCorner(BlockPathTypes arg0)
method_29244(class_7 arg0)
canJumpToNextPathNode(PathNodeType arg0)
m_21481_(C_2748_ arg0)
public static boolean
k(bcc arg0)
canEat(LivingEntity arg0)
method_41358(class_1309 arg0)
isValidFrogFood(LivingEntity entity)
m_218532_(C_524_ p_218533_)
protected PathNavigation
a(cgx arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public boolean
n(cax arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public static boolean
c(bbr<? extends bne> arg0, cgy arg1, bcg arg2, gt arg3, amn arg4)
checkFrogSpawnRules(EntityType<? extends Animal> arg0, LevelAccessor arg1, MobSpawnType 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)
m_218511_(C_513_<? extends C_801_> p_218512_, C_1598_ p_218513_, C_529_ p_218514_, C_4675_ p_218515_, C_212974_ p_218516_)