net.minecraft.world.entity.animal.frog

public class Frog

extends Animal implements VariantHolder<FrogVariant>

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, VariantHolder

bwg
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
bT
TEMPTATION_ITEM
field_37448
SLIME_BALL
f_218455_
protected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Frog>>>
bU
SENSOR_TYPES
field_37449
SENSORS
f_218456_
protected static final com.google.common.collect.ImmutableList<MemoryModuleType<?>>
bW
MEMORY_TYPES
field_37450
MEMORY_MODULES
f_218457_
private static final EntityDataAccessor<FrogVariant>
cc
DATA_VARIANT_ID
field_37457
VARIANT
f_218465_
private static final EntityDataAccessor<OptionalInt>
cd
DATA_TONGUE_TARGET_ID
field_37458
TARGET
f_218466_
private static final int
ce
FROG_FALL_DAMAGE_REDUCTION
field_37459
field_37459
f_218467_
public static final String
bX
VARIANT_KEY
field_38720
VARIANT_KEY
f_218458_
public final AnimationState
bY
jumpAnimationState
field_37451
longJumpingAnimationState
f_218459_
public final AnimationState
bZ
croakAnimationState
field_37452
croakingAnimationState
f_218460_
public final AnimationState
ca
tongueAnimationState
field_37453
usingTongueAnimationState
f_218461_
public final AnimationState
cb
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>
dO()
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>
dN()
getBrain()
method_18868()
getBrain()
m_6274_()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
s()
eraseTongueTarget()
method_41359()
clearFrogTarget()
m_218536_()
public Optional<Entity>
t()
getTongueTarget()
method_41360()
getFrogTarget()
m_218538_()
public void
a(biq arg0)
setTongueTarget(Entity arg0)
method_41352(class_1297 arg0)
setFrogTarget(Entity entity)
m_218481_(C_507_ arg0)
public int
fG()
getHeadRotSpeed()
method_20240()
getMaxLookYawChange()
m_21529_()
public int
Z()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
public FrogVariant
y()
getVariant()
method_41354()
getVariant()
m_28554_()
public void
a(bvc arg0)
setVariant(FrogVariant arg0)
method_41353(class_7106 arg0)
setVariant(FrogVariant variant)
m_28464_(C_213034_ arg0)
public void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
dQ()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
protected void
X()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public void
a(aee<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
protected void
v(float arg0)
updateWalkAnimation(float arg0)
method_48565(float arg0)
updateLimbs(float arg0)
m_267689_(float arg0)
public AgeableMob
a(akq arg0, bil 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
m_()
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(akq arg0, bur 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(cqk arg0, bgw arg1, bjk arg2, bjz arg3, qw 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
gd()
createAttributes()
method_41355()
createFrogAttributes()
m_218525_()
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
b(gw arg0, dfj 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
cy()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
protected void
W()
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
h(ehn arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public static boolean
j(bjg arg0)
canEat(LivingEntity arg0)
method_41358(class_1309 arg0)
isValidFrogFood(LivingEntity entity)
m_218532_(C_524_ p_218533_)
protected PathNavigation
b(cpv arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
protected org.joml.Vector3f
a(biq arg0, bir arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_299016_, C_510_ p_297721_, float arg2)
public boolean
m(cjf arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public static boolean
c(biu<? extends bur> arg0, cpw arg1, bjk arg2, gw arg3, asc 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_)