net.minecraft.entity.passive

public class DolphinEntity

extends WaterAnimalEntity

All mapped superinterfaces:

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

crd
net.minecraft.world.entity.animal.Dolphin
net.minecraft.class_1433
net.minecraft.entity.passive.DolphinEntity
net.minecraft.unmapped.C_ucpoxhfy
net.minecraft.entity.passive.DolphinEntity
net.minecraft.src.C_826_

Field summary

Modifier and TypeField
private static final TrackedData<Boolean>
cw
GOT_FISH
field_6750
HAS_FISH
f_aoecznax
HAS_FISH
f_28313_
private static final TrackedData<Integer>
cx
MOISTNESS_LEVEL
field_6749
MOISTNESS
f_kriyywfw
MOISTNESS
f_28310_
static final TargetPredicate
cy
SWIM_WITH_PLAYER_TARGETING
field_18101
CLOSE_PLAYER_PREDICATE
f_dvjzwxyf
CLOSE_PLAYER_PREDICATE
f_28311_
public static final int
ct
TOTAL_AIR_SUPPLY
field_30326
MAX_AIR
f_wnftchzc
TOTAL_AIR_SUPPLY
f_148892_
private static final int
cz
TOTAL_MOISTNESS_LEVEL
field_30327
MAX_MOISTNESS
f_qiqilmke
MAX_MOISTNESS
f_148893_
public static final Predicate<ItemEntity>
cu
ALLOWED_ITEMS
field_6748
CAN_TAKE
f_nlpajyrn
CAN_TAKE
f_28309_
public static final float
cv
BABY_SCALE
field_52467
BABY_SCALE_FACTOR
f_vzcfzugn
BABY_SCALE
f_347091_
private static final boolean
cA
DEFAULT_GOT_FISH
field_57606
DEFAULT_HAS_FISH
f_uhhxtloe
f_381654_
BlockPos
cB
treasurePos
field_56651
treasurePos
f_jmeungiz
pos
f_382538_

Constructor summary

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

Method summary

Modifier and TypeMethod
public EntityData
a(dsh o, cbo o, ced o, cfo 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_28333_, C_469_ p_367449_, C_345845_ p_28335_, C_542_ arg3)
public DolphinEntity
b(awx o, cdj arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_61468(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_nammmxbz(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld world, AgingEntity waypoint)
m_142606_(C_12_ p_368979_, C_141062_ arg1)
public float
ez()
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_28325_(int arg0)
public boolean
m()
gotFish()
method_6487()
hasFish()
m_uupoccsd()
hasFish()
m_28377_()
public void
x(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
m_zrkwjlhx(boolean arg0)
setHasFish(boolean hasFish)
m_28393_(boolean arg0)
public int
n()
getMoistnessLevel()
method_6491()
getMoistness()
m_jlxlczsj()
getMoistness()
m_28378_()
public void
s(int arg0)
setMoisntessLevel(int arg0)
method_6489(int arg0)
setMoistness(int moistness)
m_klqlmxxs(int arg0)
setMoistness(int moistness)
m_28343_(int arg0)
protected void
a(alq$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(fir 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(fip 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
H()
registerGoals()
method_5959()
initGoals()
m_itjttsuo()
initGoals()
m_8099_()
public static DefaultAttributeContainer$Builder
s()
createAttributes()
method_26884()
createDolphinAttributes()
m_vkirjfvm()
buildAttributes()
m_28379_()
protected EntityNavigation
b(drq 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
gB()
playAttackSound()
method_59928()
playAttackSound()
m_dwkutgwm()
playAttackSound()
m_339982_()
public boolean
c(cew 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
cE()
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
af()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_wdfnuhez()
getLookPitchSpeed()
m_8132_()
public int
ah()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_lqlfsnxj()
getBodyYawSpeed()
m_8085_()
protected boolean
p(cdv 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(cef 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(awx o, cvr 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_28357_, 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(mc arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
m_olzusaso(C_nqucohct arg0)
spawnParticlesAround(ParticleEffect parameters)
m_28337_(C_4756_ arg0)
protected ActionResult
b(czl o, cbp 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_28360_, C_470_ arg1)
protected SoundEvent
e(cci 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
f_()
getDeathSound()
method_6002()
getDeathSound()
m_axkhmdzu()
getDeathSound()
m_5592_()
protected SoundEvent
p()
getAmbientSound()
method_5994()
getAmbientSound()
m_jjefzxbm()
getAmbientSound()
m_7515_()
protected SoundEvent
bh()
getSwimSplashSound()
method_5625()
getSplashSound()
m_vkgfaeyc()
getSplashSound()
m_5509_()
protected SoundEvent
bg()
getSwimSound()
method_5737()
getSwimSound()
m_ngysbrcu()
getSwimSound()
m_5501_()
protected boolean
gI()
closeToNextPos()
method_6484()
isNearTarget()
m_qhnjnskh()
isNearTarget()
m_28380_()
public void
m(foh arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_pdfqoxex(C_vgpupfxx arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public boolean
v()
canBeLeashed()
method_5931()
canBeLeashed()
m_xvyvanvw()
canBeLeashed()
m_6573_()