net.minecraft.world.entity.animal

public class Dolphin

extends WaterAnimal

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting

brr
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>
bS
MOISTNESS_LEVEL
field_6749
MOISTNESS
f_28310_
static final TargetingConditions
bT
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
bU
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(cmx arg0, bdw arg1, bgb arg2, bgr arg3, re 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
dK()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
protected void
b(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int arg0)
m_6229_(int arg0)
public void
g(gt arg0)
setTreasurePos(BlockPos arg0)
method_6493(class_2338 arg0)
setTreasurePos(BlockPos treasurePos)
m_28384_(C_4675_ arg0)
public BlockPos
q()
getTreasurePos()
method_6494()
getTreasurePos()
m_28387_()
public boolean
r()
gotFish()
method_6487()
hasFish()
m_28377_()
public void
w(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
m_28393_(boolean arg0)
public int
w()
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_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(re arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(re arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected void
x()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
fS()
createAttributes()
method_26884()
createDolphinAttributes()
m_28379_()
protected PathNavigation
a(cmi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public boolean
z(bfh arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
public int
cc()
getMaxAirSupply()
method_5748()
getMaxAir()
m_6062_()
protected int
m(int arg0)
increaseAirSupply(int arg0)
method_6064(int arg0)
getNextAirOnLand(int arg0)
m_7305_(int arg0)
protected float
b(bgj arg0, bfi 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
V()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public int
W()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected boolean
l(bfh arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
public boolean
f(cfv arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
m_7066_(C_1391_ arg0)
protected void
b(bvf 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(is arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
m_28337_(C_4756_ arg0)
protected InteractionResult
b(bym arg0, bdx 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(bem 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
s()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
aJ()
getSwimSplashSound()
method_5625()
getSplashSound()
m_5509_()
protected SoundEvent
aI()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected boolean
fT()
closeToNextPos()
method_6484()
isNearTarget()
m_28380_()
public void
h(ede arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public boolean
a(bym arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)