net.minecraft.world.entity.animal

public class Dolphin

extends WaterAnimal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

cfm
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>
cc
MOISTNESS_LEVEL
field_6749
MOISTNESS
f_28310_
static final TargetingConditions
cd
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
ce
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(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType 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_6518_(C_1618_ p_28333_, C_469_ p_28334_, C_529_ p_28335_, C_542_ arg3)
protected void
b(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int arg0)
m_6229_(int arg0)
public void
h(jd arg0)
setTreasurePos(BlockPos arg0)
method_6493(class_2338 arg0)
setTreasurePos(BlockPos treasurePos)
m_28384_(C_4675_ arg0)
public BlockPos
s()
getTreasurePos()
method_6494()
getTreasurePos()
m_28387_()
public boolean
t()
gotFish()
method_6487()
hasFish()
m_28377_()
public void
x(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
m_28393_(boolean arg0)
public int
x()
getMoistnessLevel()
method_6491()
getMoistness()
m_28378_()
public void
c(int arg0)
setMoisntessLevel(int arg0)
method_6489(int arg0)
setMoistness(int moistness)
m_28343_(int arg0)
protected void
a(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gk()
createAttributes()
method_26884()
createDolphinAttributes()
m_28379_()
protected PathNavigation
b(dcw arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
gd()
playAttackSound()
method_59928()
playAttackSound()
m_339982_()
public int
cl()
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)
public int
ac()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public int
ae()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected boolean
o(bsr arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
public boolean
f(cuq arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
m_7066_(C_1391_ arg0)
protected void
b(cjh arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
m_7581_(C_976_ arg0)
public void
l()
tick()
method_5773()
tick()
m_8119_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
private void
a(lk arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
m_28337_(C_4756_ arg0)
protected InteractionResult
b(cmx arg0, bqq 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
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
aR()
getSwimSplashSound()
method_5625()
getSplashSound()
m_5509_()
protected SoundEvent
aQ()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected boolean
gl()
closeToNextPos()
method_6484()
isNearTarget()
m_28380_()
public void
a(exc arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
m_6573_()