net.minecraft.entity.passive

public class DolphinEntity

extends WaterAnimalEntity

All mapped superinterfaces:

DataTracked, DebugTrackable, Nameable, HeldItemContext, StackReferenceGetter, EntityLike, UniquelyIdentifiable, ScoreHolder, ComponentsAccess, Attackable, ServerWaypoint, Waypoint, EquipmentHolder, Leashable, Targeter

cum
net.minecraft.world.entity.animal.dolphin.Dolphin
net.minecraft.class_1433
net.minecraft.entity.passive.DolphinEntity
net.minecraft.unmapped.C_ucpoxhfy
net.minecraft.entity.passive.DolphinEntity
net.minecraft.src.C_432213_

Field summary

Modifier and TypeField
private static final TrackedData<Boolean>
cy
GOT_FISH
field_6750
HAS_FISH
f_aoecznax
HAS_FISH
f_436860_
private static final TrackedData<Integer>
cz
MOISTNESS_LEVEL
field_6749
MOISTNESS
f_kriyywfw
MOISTNESS
f_435220_
static final TargetPredicate
cA
SWIM_WITH_PLAYER_TARGETING
field_18101
CLOSE_PLAYER_PREDICATE
f_dvjzwxyf
CLOSE_PLAYER_PREDICATE
f_434325_
public static final int
cv
TOTAL_AIR_SUPPLY
field_30326
MAX_AIR
f_wnftchzc
TOTAL_AIR_SUPPLY
f_434395_
private static final int
cB
TOTAL_MOISTNESS_LEVEL
field_30327
MAX_MOISTNESS
f_qiqilmke
MAX_MOISTNESS
f_437181_
public static final Predicate<ItemEntity>
cw
ALLOWED_ITEMS
field_6748
CAN_TAKE
f_nlpajyrn
CAN_TAKE
f_436611_
public static final float
cx
BABY_SCALE
field_52467
BABY_SCALE_FACTOR
f_vzcfzugn
BABY_SCALE
f_434422_
private static final boolean
cC
DEFAULT_GOT_FISH
field_57606
DEFAULT_HAS_FISH
f_uhhxtloe
f_434492_
BlockPos
cD
treasurePos
field_56651
treasurePos
f_jmeungiz
pos
f_436944_

Constructor summary

ModifierConstructor
public (EntityType<? extends DolphinEntity> type, World world)

Method summary

Modifier and TypeMethod
public EntityData
a(dxf o, cda o, cgt o, cie 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)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_455791_, C_469_ p_452580_, C_345845_ p_451925_, C_542_ arg3)
public DolphinEntity
b(axf o, cfy arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_61468(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_tviuqokj(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld world, AgingEntity waypoint)
m_142606_(C_12_ p_458180_, C_141062_ arg1)
public float
eE()
getAgeScale()
method_17825()
getScaleFactor()
m_rzywzrvn()
getAgeScale()
m_320705_()
protected void
r(int arg0)
handleAirSupply(int arg0)
method_61456(int arg0)
tickBreathing(int arg0)
m_hkdiomer(int arg0)
tickAirSupply(int arg0)
m_351760_(int arg0)
public boolean
p()
gotFish()
method_6487()
hasFish()
m_uupoccsd()
hasFish()
m_446011_()
public void
x(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
m_zrkwjlhx(boolean arg0)
setHasFish(boolean hasFish)
m_441708_(boolean arg0)
public int
gP()
getMoistnessLevel()
method_6491()
getMoistness()
m_jlxlczsj()
getMoistness()
m_443196_()
public void
s(int arg0)
setMoisntessLevel(int arg0)
method_6489(int arg0)
setMoistness(int moistness)
m_klqlmxxs(int arg0)
setMoistness(int moistness)
m_439289_(int arg0)
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_xuwbpohg(C_kespdwpv arg0)
writeCustomData(DataWriter arg0)
m_7380_(C_398537_ arg0)
protected void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_obkzfysl(C_djkzhngg arg0)
readCustomData(DataReader arg0)
m_7378_(C_398549_ arg0)
protected void
D()
registerGoals()
method_5959()
initGoals()
m_itjttsuo()
initGoals()
m_8099_()
public static DefaultAttributeContainer$Builder
gQ()
createAttributes()
method_26884()
createDolphinAttributes()
m_vkirjfvm()
buildAttributes()
m_440209_()
protected EntityNavigation
b(dwo arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_tqtwudhk(C_cdctfzbn arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
fN()
playAttackSound()
method_59928()
playAttackSound()
m_wdlwqhln()
m_340108_()
public boolean
c(chl arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
m_lazolqzm(C_usxaxydn arg0)
canTarget(LivingEntity arg0)
m_6779_(C_524_ arg0)
public int
cJ()
getMaxAirSupply()
method_5748()
getMaxAir()
m_yxossras()
getMaxAir()
m_6062_()
protected int
m(int arg0)
increaseAirSupply(int arg0)
method_6064(int arg0)
getNextAirOnLand(int arg0)
m_vjmkpqwf(int arg0)
getNextAirOnLand(int arg0)
m_7305_(int arg0)
public int
ac()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_wdfnuhez()
getLookPitchSpeed()
m_8132_()
public int
ae()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_lqlfsnxj()
getBodyYawSpeed()
m_8085_()
protected boolean
p(cgk arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_swzplugo(C_astfners arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
protected boolean
f(cgv arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
m_zqlgoica(C_yuycoehb arg0)
canDispenserEquipInto(EquipmentSlot arg0)
m_218379_(C_516_ arg0)
protected void
a(axf o, czl arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
m_avgkrrey(C_bdwnwhiu arg0, C_uqpzijng arg1)
loot(ServerWorld arg0, ItemEntity arg1)
m_7581_(C_12_ p_451623_, C_976_ arg1)
public void
g()
tick()
method_5773()
tick()
m_arkgrfeb()
tick()
m_8119_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
a(lw arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
m_olzusaso(C_nqucohct arg0)
spawnParticlesAround(ParticleEffect parameters)
m_443186_(C_4756_ arg0)
protected ActionResult
b(ddm o, cdb arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_456344_, C_470_ arg1)
protected SoundEvent
h(cex arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fd()
getDeathSound()
method_6002()
getDeathSound()
m_axkhmdzu()
getDeathSound()
m_5592_()
protected SoundEvent
W()
getAmbientSound()
method_5994()
getAmbientSound()
m_jjefzxbm()
getAmbientSound()
m_7515_()
protected SoundEvent
bl()
getSwimSplashSound()
method_5625()
getSplashSound()
m_vkgfaeyc()
getSplashSound()
m_5509_()
protected SoundEvent
bk()
getSwimSound()
method_5737()
getSwimSound()
m_ngysbrcu()
getSwimSound()
m_5501_()
protected boolean
gR()
closeToNextPos()
method_6484()
isNearTarget()
m_qhnjnskh()
isNearTarget()
m_445766_()
protected void
a(ftm o, double o, boolean arg2, double arg3)
travelInWater(Vec3 arg0, double arg1, boolean arg2, double arg3)
method_76087(class_243 arg0, double arg1, boolean arg2, double arg3)
travelInWater(Vec3d arg0, double arg1, boolean arg2, double arg3)
m_vdffrknh(C_vgpupfxx arg0, double arg1, boolean arg2, double arg3)
m_439081_(C_3046_ p_454892_, double p_451068_, boolean arg2, double arg3)
public boolean
aj_()
canBeLeashed()
method_5931()
canBeLeashed()
m_xvyvanvw()
canBeLeashed()
m_6573_()