net.minecraft.world.entity.animal

public class Dolphin

extends WaterAnimal

All mapped superinterfaces:

Nameable, CommandSource

baf
net.minecraft.world.entity.animal.Dolphin
net.minecraft.class_1433
net.minecraft.entity.passive.DolphinEntity
net.minecraft.entity.passive.DolphinEntity
net.minecraft.server.v1_16_R3.EntityDolphin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<BlockPos>
c
TREASURE_POS
field_6747
TREASURE_POS
field_208014_b
private static final EntityDataAccessor<Boolean>
d
GOT_FISH
field_6750
HAS_FISH
field_208013_bB
private static final EntityDataAccessor<Integer>
bo
MOISTNESS_LEVEL
field_6749
MOISTNESS
field_211138_bB
private static final TargetingConditions
bp
SWIM_WITH_PLAYER_TARGETING
field_18101
CLOSE_PLAYER_PREDICATE
field_213810_bA
public static final Predicate<ItemEntity>
b
ALLOWED_ITEMS
field_6748
CAN_TAKE
field_205025_a

Constructor summary

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

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(bsk arg0, aos arg1, aqp arg2, arc arg3, md 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, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)
public boolean
cM()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
func_70648_aU()
protected void
a(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int arg0)
func_209207_l(int arg0)
public void
g(fx arg0)
setTreasurePos(BlockPos arg0)
method_6493(class_2338 arg0)
setTreasurePos(BlockPos treasurePos)
func_208012_g(BlockPos arg0)
setTreasurePos(BlockPosition arg0)
public BlockPos
m()
getTreasurePos()
method_6494()
getTreasurePos()
func_208010_l()
getTreasurePos()
public boolean
eK()
gotFish()
method_6487()
hasFish()
func_208011_dD()
gotFish()
public void
t(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
func_208008_s(boolean arg0)
setGotFish(boolean arg0)
public int
eL()
getMoistnessLevel()
method_6491()
getMoistness()
func_211136_dB()
getMoistness()
public void
b(int arg0)
setMoisntessLevel(int arg0)
method_6489(int arg0)
setMoistness(int moistness)
func_211137_b(int arg0)
setMoistness(int arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public static AttributeSupplier$Builder
eM()
createAttributes()
method_26884()
createDolphinAttributes()
func_234190_eK_()
protected PathNavigation
b(brx arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
func_175447_b(World arg0)
public boolean
B(aqa arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
func_70652_k(Entity arg0)
attackEntity(Entity arg0)
public int
bH()
getMaxAirSupply()
method_5748()
getMaxAir()
func_205010_bg()
protected int
m(int arg0)
increaseAirSupply(int arg0)
method_6064(int arg0)
getNextAirOnLand(int arg0)
func_207300_l(int arg0)
protected float
b(aqx arg0, aqb arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213348_b(Pose arg0, EntitySize arg1)
public int
O()
getMaxHeadXRot()
method_5978()
getLookPitchSpeed()
func_70646_bf()
public int
Q()
getMaxHeadYRot()
method_5986()
getBodyYawSpeed()
func_184649_cE()
protected boolean
n(aqa arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
func_184228_n(Entity arg0)
public boolean
e(bmb arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
func_213365_e(ItemStack arg0)
protected void
b(bcv arg0)
pickUpItem(ItemEntity arg0)
method_5949(class_1542 arg0)
loot(ItemEntity arg0)
func_175445_a(ItemEntity arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
protected InteractionResult
b(bfw arg0, aot arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
func_230254_b_(PlayerEntity arg0, Hand arg1)
public static boolean
b(aqe<baf> arg0, bry arg1, aqp arg2, fx arg3, Random arg4)
checkDolphinSpawnRules(EntityType<Dolphin> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20664(class_1299<class_1433> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<DolphinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
func_223364_b(EntityType<DolphinEntity> arg0, IWorld arg1, SpawnReason arg2, BlockPos arg3, Random arg4)
protected SoundEvent
e(apk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
func_184601_bQ(DamageSource arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
dq()
getDeathSound()
method_6002()
getDeathSound()
func_184615_bR()
getSoundDeath()
protected SoundEvent
I()
getAmbientSound()
method_5994()
getAmbientSound()
func_184639_G()
getSoundAmbient()
protected SoundEvent
aw()
getSwimSplashSound()
method_5625()
getSplashSound()
func_184181_aa()
getSoundSplash()
protected SoundEvent
av()
getSwimSound()
method_5737()
getSwimSound()
func_184184_Z()
getSoundSwim()
protected boolean
eN()
closeToNextPos()
method_6484()
isNearTarget()
func_208006_dE()
public void
g(dcn arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
func_213352_e(Vector3d arg0)
public boolean
a(bfw arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
func_184652_a(PlayerEntity arg0)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
private void
a(hf arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
func_208401_a(IParticleData arg0)