net.minecraft.world.entity.animal

public class Dolphin

extends AgeableWaterCreature

All mapped superinterfaces:

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

chh
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>
cb
TREASURE_POS
field_6747
TREASURE_POS
private static final EntityDataAccessor<Boolean>
cc
GOT_FISH
field_6750
HAS_FISH
private static final EntityDataAccessor<Integer>
cd
MOISTNESS_LEVEL
field_6749
MOISTNESS
static final TargetingConditions
ce
SWIM_WITH_PLAYER_TARGETING
field_18101
CLOSE_PLAYER_PREDICATE
public static final int
bY
TOTAL_AIR_SUPPLY
field_30326
MAX_AIR
private static final int
cf
TOTAL_MOISTNESS_LEVEL
field_30327
MAX_MOISTNESS
public static final Predicate<ItemEntity>
bZ
ALLOWED_ITEMS
field_6748
CAN_TAKE
public static final float
ca
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(dha arg0, bsj arg1, bus arg2, bwb 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(ard arg0, bud arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_61468(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public float
ei()
getAgeScale()
method_17825()
getScaleFactor()
protected void
r(int arg0)
handleAirSupply(int arg0)
method_61456(int arg0)
tickBreathing(int arg0)
public void
h(ji 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(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
protected void
E()
registerGoals()
method_5959()
initGoals()
public static AttributeSupplier$Builder
gs()
createAttributes()
method_26884()
createDolphinAttributes()
protected PathNavigation
b(dgj arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
public void
gj()
playAttackSound()
method_59928()
playAttackSound()
public boolean
c(bvi 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
ad()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
public int
af()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
protected boolean
o(bum arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
protected boolean
f(buu arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
protected void
a(ard arg0, cld 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(lr arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
protected InteractionResult
b(coy arg0, bsk arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
protected SoundEvent
e(btc 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
gt()
closeToNextPos()
method_6484()
isNearTarget()
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()