net.minecraft.world.entity.animal

public class Dolphin

extends WaterAnimal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bhs
net.minecraft.world.entity.animal.Dolphin
net.minecraft.class_1433
net.minecraft.entity.passive.DolphinEntity
net.minecraft.src.C_826_
net.minecraft.world.entity.animal.EntityDolphin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<BlockPos>
d
TREASURE_POS
field_6747
TREASURE_POS
f_28312_
private static final EntityDataAccessor<Boolean>
e
GOT_FISH
field_6750
HAS_FISH
f_28313_
private static final EntityDataAccessor<Integer>
bW
MOISTNESS_LEVEL
field_6749
MOISTNESS
f_28310_
static final TargetingConditions
bX
SWIM_WITH_PLAYER_TARGETING
field_18101
CLOSE_PLAYER_PREDICATE
f_28311_
public static final int
b
TOTAL_AIR_SUPPLY
field_30326
MAX_AIR
f_148892_
private static final int
bY
TOTAL_MOISTNESS_LEVEL
field_30327
MAX_MOISTNESS
f_148893_
public static final Predicate<ItemEntity>
c
ALLOWED_ITEMS
field_6748
CAN_TAKE
f_28309_

Constructor summary

ModifierConstructor
public (EntityType<? extends Dolphin> p_28317_, Level arg1)

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(cas arg0, avo arg1, axl arg2, axz arg3, oc 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_28333_, C_469_ p_28334_, C_529_ p_28335_, C_542_ p_28336_, C_4917_ arg4)
public boolean
dw()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
protected void
a(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int arg0)
m_6229_(int arg0)
public void
g(gh arg0)
setTreasurePos(BlockPos arg0)
method_6493(class_2338 arg0)
setTreasurePos(BlockPos treasurePos)
m_28384_(C_4675_ arg0)
public BlockPos
n()
getTreasurePos()
method_6494()
getTreasurePos()
m_28387_()
public boolean
q()
gotFish()
method_6487()
hasFish()
m_28377_()
public void
v(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
m_28393_(boolean arg0)
public int
t()
getMoistnessLevel()
method_6491()
getMoistness()
m_28378_()
public void
b(int arg0)
setMoisntessLevel(int arg0)
method_6489(int arg0)
setMoistness(int moistness)
m_28343_(int arg0)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
fy()
createAttributes()
method_26884()
createDolphinAttributes()
m_28379_()
protected PathNavigation
a(cad arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public boolean
z(awt arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public int
bX()
getMaxAirSupply()
method_5748()
getMaxAir()
m_6062_()
protected int
n(int arg0)
increaseAirSupply(int arg0)
method_6064(int arg0)
getNextAirOnLand(int arg0)
m_7305_(int arg0)
protected float
b(axt arg0, awu arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_28353_, C_510_ arg1)
public int
T()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public int
U()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected boolean
l(awt arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
public boolean
g(bue arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
m_7066_(C_1391_ arg0)
protected void
b(bkq arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
m_7581_(C_976_ arg0)
public void
k()
tick()
method_5773()
tick()
m_8119_()
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
a(hv arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
m_28337_(C_4756_ arg0)
protected InteractionResult
b(bnr arg0, avp arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_28360_, C_470_ arg1)
protected SoundEvent
c(awd 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 SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
aG()
getSwimSplashSound()
method_5625()
getSplashSound()
m_5509_()
protected SoundEvent
aF()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected boolean
fz()
closeToNextPos()
method_6484()
isNearTarget()
m_28380_()
public void
h(dom arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public boolean
a(bnr arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)