net.minecraft.world.entity.animal

public class Dolphin

extends AgeableWaterCreature

All mapped superinterfaces:

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

cif
net.minecraft.world.entity.animal.Dolphin
net.minecraft.class_1433
net.minecraft.entity.passive.DolphinEntity
net.minecraft.world.entity.animal.EntityDolphin

Field summary

Modifier and TypeField
private static final EntityDataAccessor<BlockPos>
cc
TREASURE_POS
field_6747
TREASURE_POS
private static final EntityDataAccessor<Boolean>
cd
GOT_FISH
field_6750
HAS_FISH
private static final EntityDataAccessor<Integer>
ce
MOISTNESS_LEVEL
field_6749
MOISTNESS
static final TargetingConditions
cf
SWIM_WITH_PLAYER_TARGETING
field_18101
CLOSE_PLAYER_PREDICATE
public static final int
bZ
TOTAL_AIR_SUPPLY
field_30326
MAX_AIR
private static final int
cg
TOTAL_MOISTNESS_LEVEL
field_30327
MAX_MOISTNESS
public static final Predicate<ItemEntity>
ca
ALLOWED_ITEMS
field_6748
CAN_TAKE
public static final float
cb
BABY_SCALE
field_52467
BABY_SCALE_FACTOR

Constructor summary

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

Method summary

Modifier and TypeMethod
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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)
public Dolphin
b(ash arg0, bvb arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_61468(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public float
ej()
getAgeScale()
method_17825()
getScaleFactor()
protected void
r(int arg0)
handleAirSupply(int arg0)
method_61456(int arg0)
tickBreathing(int arg0)
public void
h(jh arg0)
setTreasurePos(BlockPos arg0)
method_6493(class_2338 arg0)
setTreasurePos(BlockPos treasurePos)
public BlockPos
p()
getTreasurePos()
method_6494()
getTreasurePos()
public boolean
t()
gotFish()
method_6487()
hasFish()
public void
x(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
public int
x()
getMoistnessLevel()
method_6491()
getMoistness()
public void
s(int arg0)
setMoisntessLevel(int arg0)
method_6489(int arg0)
setMoistness(int moistness)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
B()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
go()
createAttributes()
method_26884()
createDolphinAttributes()
protected PathNavigation
b(dhi arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public void
gf()
playAttackSound()
method_59928()
playAttackSound()
public boolean
c(bwg arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
public int
cs()
getMaxAirSupply()
method_5748()
getMaxAir()
protected int
m(int arg0)
increaseAirSupply(int arg0)
method_6064(int arg0)
getNextAirOnLand(int arg0)
public int
Z()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public int
aa()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
protected boolean
o(bvk arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
protected boolean
f(bvs arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
protected void
a(ash arg0, cmb arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
public void
h()
tick()
method_5773()
tick()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
private void
a(lq arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
protected InteractionResult
b(cpx arg0, bti arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
aW()
getSwimSplashSound()
method_5625()
getSplashSound()
protected SoundEvent
aV()
getSwimSound()
method_5737()
getSwimSound()
protected boolean
gp()
closeToNextPos()
method_6484()
isNearTarget()
public void
a_(fby arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()