net.minecraft.world.entity.animal.dolphin

public class Dolphin

extends AgeableWaterCreature

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting

cum
net.minecraft.world.entity.animal.dolphin.Dolphin
net.minecraft.class_1433
net.minecraft.entity.passive.DolphinEntity
net.minecraft.src.C_432213_
net.minecraft.world.entity.animal.dolphin.EntityDolphin

字段概要

修饰符与类型字段
private static final EntityDataAccessor<Boolean>
cy
GOT_FISH
field_6750
HAS_FISH
f_436860_
private static final EntityDataAccessor<Integer>
cz
MOISTNESS_LEVEL
field_6749
MOISTNESS
f_435220_
static final TargetingConditions
cA
SWIM_WITH_PLAYER_TARGETING
field_18101
CLOSE_PLAYER_PREDICATE
f_434325_
public static final int
cv
TOTAL_AIR_SUPPLY
field_30326
MAX_AIR
f_434395_
private static final int
cB
TOTAL_MOISTNESS_LEVEL
field_30327
MAX_MOISTNESS
f_437181_
public static final Predicate<ItemEntity>
cw
ALLOWED_ITEMS
field_6748
CAN_TAKE
f_436611_
public static final float
cx
BABY_SCALE
field_52467
BABY_SCALE_FACTOR
f_434422_
private static final boolean
cC
DEFAULT_GOT_FISH
field_57606
DEFAULT_HAS_FISH
f_434492_
BlockPos
cD
treasurePos
field_56651
treasurePos
f_436944_

构造函数概要

修饰符构造函数
public (EntityType<? extends Dolphin> p_459067_, Level arg1)

方法概要

修饰符与类型方法
public SpawnGroupData
a(dxf arg0, cda arg1, cgt arg2, cie 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)
m_6518_(C_1618_ p_455791_, C_469_ p_452580_, C_345845_ p_451925_, C_542_ arg3)
public Dolphin
b(axf arg0, cfy arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_61468(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_458180_, C_141062_ arg1)
public float
eE()
getAgeScale()
method_17825()
getScaleFactor()
m_320705_()
protected void
r(int arg0)
handleAirSupply(int arg0)
method_61456(int arg0)
tickBreathing(int arg0)
m_351760_(int arg0)
public boolean
p()
gotFish()
method_6487()
hasFish()
m_446011_()
public void
x(boolean arg0)
setGotFish(boolean arg0)
method_6486(boolean arg0)
setHasFish(boolean hasFish)
m_441708_(boolean arg0)
public int
gP()
getMoistnessLevel()
method_6491()
getMoistness()
m_443196_()
public void
s(int arg0)
setMoisntessLevel(int arg0)
method_6489(int arg0)
setMoistness(int moistness)
m_439289_(int arg0)
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
protected void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_7380_(C_398537_ arg0)
protected void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_7378_(C_398549_ arg0)
protected void
D()
registerGoals()
method_5959()
initGoals()
m_8099_()
public static AttributeSupplier$Builder
gQ()
createAttributes()
method_26884()
createDolphinAttributes()
m_440209_()
protected PathNavigation
b(dwo arg0)
createNavigation(Level arg0)
method_5965(class_1937 arg0)
createNavigation(World arg0)
m_6037_(C_1596_ arg0)
public void
fN()
playAttackSound()
method_59928()
playAttackSound()
m_340108_()
public boolean
c(chl arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
m_6779_(C_524_ arg0)
public int
cJ()
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)
public int
ac()
getMaxHeadXRot()
method_5978()
getMaxLookPitchChange()
m_8132_()
public int
ae()
getMaxHeadYRot()
method_5986()
getMaxHeadRotation()
m_8085_()
protected boolean
p(cgk arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
protected boolean
f(cgv arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
m_218379_(C_516_ arg0)
protected void
a(axf arg0, czl arg1)
pickUpItem(ServerLevel arg0, ItemEntity arg1)
method_5949(class_3218 arg0, class_1542 arg1)
loot(ServerWorld arg0, ItemEntity arg1)
m_7581_(C_12_ p_451623_, C_976_ arg1)
public void
g()
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(lw arg0)
addParticlesAroundSelf(ParticleOptions arg0)
method_6492(class_2394 arg0)
spawnParticlesAround(ParticleEffect parameters)
m_443186_(C_4756_ arg0)
protected InteractionResult
b(ddm arg0, cdb arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_456344_, C_470_ arg1)
protected SoundEvent
h(cex arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fd()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
W()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
bl()
getSwimSplashSound()
method_5625()
getSplashSound()
m_5509_()
protected SoundEvent
bk()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected boolean
gR()
closeToNextPos()
method_6484()
isNearTarget()
m_445766_()
protected void
a(ftm arg0, double arg1, boolean arg2, double arg3)
travelInWater(Vec3 arg0, double arg1, boolean arg2, double arg3)
method_76087(class_243 arg0, double arg1, boolean arg2, double arg3)
travelInWater(Vec3d arg0, double arg1, boolean arg2, double arg3)
m_439081_(C_3046_ p_454892_, double p_451068_, boolean arg2, double arg3)
public boolean
aj_()
canBeLeashed()
method_5931()
canBeLeashed()
m_6573_()