类的使用
net.minecraft.sound.SoundEvent
-
-
net.minecraft.block中SoundEvent的使用
返回SoundEvent的net.minecraft.block中的方法 修饰符和类型 方法 说明 protected abstract SoundEventAbstractButtonBlock. getClickSound(boolean powered)protected SoundEventStoneButtonBlock. getClickSound(boolean powered)protected SoundEventWoodenButtonBlock. getClickSound(boolean powered)返回变量类型为SoundEvent的类型的net.minecraft.block中的方法 修饰符和类型 方法 说明 Optional<SoundEvent>BubbleColumnBlock. getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.Optional<SoundEvent>FluidBlock. getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.Optional<SoundEvent>FluidDrainable. getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.Optional<SoundEvent>PowderSnowBlock. getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.default Optional<SoundEvent>Waterloggable. getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.参数类型为SoundEvent的net.minecraft.block中的方法 修饰符和类型 方法 说明 private voidBigDripleafBlock. changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt, @Nullable SoundEvent sound)private static voidBigDripleafBlock. playTiltSound(World world, BlockPos pos, SoundEvent soundEvent) -
net.minecraft.block.cauldron中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.block.cauldron中的方法 修饰符和类型 方法 说明 static ActionResultCauldronBehavior. emptyCauldron(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, ItemStack output, Predicate<BlockState> predicate, SoundEvent soundEvent)static ActionResultCauldronBehavior. fillCauldron(World world, BlockPos pos, PlayerEntity player, Hand hand, ItemStack stack, BlockState state, SoundEvent soundEvent) -
net.minecraft.block.entity中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 private voidBarrelBlockEntity. playSound(BlockState state, SoundEvent soundEvent)static voidBeaconBlockEntity. playSound(World world, BlockPos pos, SoundEvent sound)private static voidChestBlockEntity. playSound(World world, BlockPos pos, BlockState state, SoundEvent soundEvent) -
net.minecraft.block.enums中SoundEvent的使用
声明为SoundEvent的net.minecraft.block.enums中的字段 修饰符和类型 字段 说明 private SoundEventInstrument. sound返回SoundEvent的net.minecraft.block.enums中的方法 修饰符和类型 方法 说明 SoundEventInstrument. getSound()参数类型为SoundEvent的net.minecraft.block.enums中的构造器 构造器 说明 Instrument(String name, SoundEvent sound) -
net.minecraft.client.network中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 voidClientPlayerEntity. playSound(SoundEvent sound, float volume, float pitch)voidClientPlayerEntity. playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
net.minecraft.client.render中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.client.render中的方法 修饰符和类型 方法 说明 voidWorldRenderer. playSong(@Nullable SoundEvent song, BlockPos songPosition) -
net.minecraft.client.sound中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.client.sound中的方法 修饰符和类型 方法 说明 static PositionedSoundInstancePositionedSoundInstance. ambient(SoundEvent sound)static PositionedSoundInstancePositionedSoundInstance. ambient(SoundEvent sound, double x, double y, double z)static PositionedSoundInstancePositionedSoundInstance. ambient(SoundEvent sound, float pitch, float volume)static MusicSoundMusicType. createIngameMusic(SoundEvent event)static PositionedSoundInstancePositionedSoundInstance. master(SoundEvent sound, float pitch)static PositionedSoundInstancePositionedSoundInstance. master(SoundEvent sound, float pitch, float volume)static PositionedSoundInstancePositionedSoundInstance. music(SoundEvent sound)static PositionedSoundInstancePositionedSoundInstance. record(SoundEvent sound, double x, double y, double z)参数类型为SoundEvent的net.minecraft.client.sound中的构造器 构造器 说明 AbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory)AbstractSoundInstance(SoundEvent sound, SoundCategory category)EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity)EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, Entity entity)MovingSoundInstance(SoundEvent sound, SoundCategory category)MusicLoop(ClientPlayerEntity player, SoundEvent soundEvent)MusicLoop(SoundEvent sound)PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z)PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, double x, double y, double z)PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, BlockPos pos) -
net.minecraft.client.toast中SoundEvent的使用
声明为SoundEvent的net.minecraft.client.toast中的字段 修饰符和类型 字段 说明 private SoundEventToast.Visibility. sound参数类型为SoundEvent的net.minecraft.client.toast中的构造器 构造器 说明 Visibility(SoundEvent sound) -
net.minecraft.client.world中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.client.world中的方法 修饰符和类型 方法 说明 voidClientWorld. playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)voidClientWorld. playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)voidClientWorld. playSound(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)voidClientWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) -
net.minecraft.entity中SoundEvent的使用
返回SoundEvent的net.minecraft.entity中的方法 修饰符和类型 方法 说明 SoundEventBucketable. getBucketedSound()protected @Nullable SoundEventLivingEntity. getDeathSound()protected SoundEventLivingEntity. getDrinkSound(ItemStack stack)SoundEventLivingEntity. getEatSound(ItemStack stack)protected SoundEventLivingEntity. getFallSound(int distance)protected SoundEventEntity. getHighSpeedSplashSound()protected @Nullable SoundEventLivingEntity. getHurtSound(DamageSource source)protected SoundEventEntity. getSplashSound()protected SoundEventEntity. getSwimSound()参数类型为SoundEvent的net.minecraft.entity中的方法 修饰符和类型 方法 说明 voidEntity. playSound(SoundEvent sound, float volume, float pitch) -
net.minecraft.entity.ai.goal中SoundEvent的使用
声明为SoundEvent的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 private SoundEventHoldInHandsGoal. sound参数类型为SoundEvent的net.minecraft.entity.ai.goal中的构造器 构造器 说明 HoldInHandsGoal(T actor, ItemStack item, @Nullable SoundEvent sound, Predicate<? super T> condition) -
net.minecraft.entity.boss中SoundEvent的使用
返回SoundEvent的net.minecraft.entity.boss中的方法 修饰符和类型 方法 说明 protected SoundEventWitherEntity. getAmbientSound()protected SoundEventWitherEntity. getDeathSound()protected SoundEventWitherEntity. getHurtSound(DamageSource source) -
net.minecraft.entity.boss.dragon中SoundEvent的使用
返回SoundEvent的net.minecraft.entity.boss.dragon中的方法 修饰符和类型 方法 说明 protected SoundEventEnderDragonEntity. getAmbientSound()protected SoundEventEnderDragonEntity. getHurtSound(DamageSource source) -
net.minecraft.entity.decoration中SoundEvent的使用
返回SoundEvent的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 SoundEventGlowItemFrameEntity. getAddItemSound()SoundEventItemFrameEntity. getAddItemSound()SoundEventGlowItemFrameEntity. getBreakSound()SoundEventItemFrameEntity. getBreakSound()protected @Nullable SoundEventArmorStandEntity. getDeathSound()protected SoundEventArmorStandEntity. getFallSound(int distance)protected @Nullable SoundEventArmorStandEntity. getHurtSound(DamageSource source)SoundEventGlowItemFrameEntity. getPlaceSound()SoundEventItemFrameEntity. getPlaceSound()SoundEventGlowItemFrameEntity. getRemoveItemSound()SoundEventItemFrameEntity. getRemoveItemSound()SoundEventGlowItemFrameEntity. getRotateItemSound()SoundEventItemFrameEntity. getRotateItemSound() -
net.minecraft.entity.mob中SoundEvent的使用
返回SoundEvent的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 protected SoundEventBlazeEntity. getAmbientSound()protected SoundEventDrownedEntity. getAmbientSound()protected SoundEventElderGuardianEntity. getAmbientSound()protected SoundEventEndermanEntity. getAmbientSound()protected SoundEventEndermiteEntity. getAmbientSound()protected SoundEventEvokerEntity. getAmbientSound()protected SoundEventGhastEntity. getAmbientSound()protected SoundEventGuardianEntity. getAmbientSound()protected SoundEventHoglinEntity. getAmbientSound()protected SoundEventHuskEntity. getAmbientSound()protected SoundEventIllusionerEntity. getAmbientSound()protected @Nullable SoundEventMobEntity. getAmbientSound()protected SoundEventPhantomEntity. getAmbientSound()protected SoundEventPiglinBruteEntity. getAmbientSound()protected SoundEventPiglinEntity. getAmbientSound()protected SoundEventPillagerEntity. getAmbientSound()protected @Nullable SoundEventRavagerEntity. getAmbientSound()protected SoundEventShulkerEntity. getAmbientSound()protected SoundEventSilverfishEntity. getAmbientSound()protected SoundEventSkeletonEntity. getAmbientSound()protected SoundEventSkeletonHorseEntity. getAmbientSound()protected SoundEventSpiderEntity. getAmbientSound()protected SoundEventStrayEntity. getAmbientSound()protected SoundEventVexEntity. getAmbientSound()protected SoundEventVindicatorEntity. getAmbientSound()protected SoundEventWitchEntity. getAmbientSound()protected SoundEventWitherSkeletonEntity. getAmbientSound()protected SoundEventZoglinEntity. getAmbientSound()protected SoundEventZombieEntity. getAmbientSound()protected SoundEventZombieHorseEntity. getAmbientSound()SoundEventZombieVillagerEntity. getAmbientSound()protected SoundEventZombifiedPiglinEntity. getAmbientSound()protected SoundEventEvokerEntity. getCastSpellSound()protected SoundEventIllusionerEntity. getCastSpellSound()protected abstract SoundEventSpellcastingIllagerEntity. getCastSpellSound()SoundEventEvokerEntity. getCelebratingSound()SoundEventIllusionerEntity. getCelebratingSound()SoundEventPillagerEntity. getCelebratingSound()SoundEventRavagerEntity. getCelebratingSound()SoundEventVindicatorEntity. getCelebratingSound()SoundEventWitchEntity. getCelebratingSound()protected SoundEventBlazeEntity. getDeathSound()protected SoundEventCreeperEntity. getDeathSound()protected SoundEventDrownedEntity. getDeathSound()protected SoundEventElderGuardianEntity. getDeathSound()protected SoundEventEndermanEntity. getDeathSound()protected SoundEventEndermiteEntity. getDeathSound()protected SoundEventEvokerEntity. getDeathSound()protected SoundEventGhastEntity. getDeathSound()protected SoundEventGuardianEntity. getDeathSound()protected SoundEventHoglinEntity. getDeathSound()protected SoundEventHostileEntity. getDeathSound()protected SoundEventHuskEntity. getDeathSound()protected SoundEventIllusionerEntity. getDeathSound()protected SoundEventMagmaCubeEntity. getDeathSound()protected SoundEventPhantomEntity. getDeathSound()protected SoundEventPiglinBruteEntity. getDeathSound()protected SoundEventPiglinEntity. getDeathSound()protected SoundEventPillagerEntity. getDeathSound()protected SoundEventRavagerEntity. getDeathSound()protected SoundEventShulkerEntity. getDeathSound()protected SoundEventSilverfishEntity. getDeathSound()protected SoundEventSkeletonEntity. getDeathSound()protected SoundEventSkeletonHorseEntity. getDeathSound()protected SoundEventSlimeEntity. getDeathSound()protected SoundEventSpiderEntity. getDeathSound()protected SoundEventStrayEntity. getDeathSound()protected SoundEventVexEntity. getDeathSound()protected SoundEventVindicatorEntity. getDeathSound()protected SoundEventWitchEntity. getDeathSound()protected SoundEventWitherSkeletonEntity. getDeathSound()protected SoundEventZoglinEntity. getDeathSound()protected SoundEventZombieEntity. getDeathSound()protected SoundEventZombieHorseEntity. getDeathSound()SoundEventZombieVillagerEntity. getDeathSound()protected SoundEventZombifiedPiglinEntity. getDeathSound()protected SoundEventHostileEntity. getFallSound(int distance)protected SoundEventElderGuardianEntity. getFlopSound()protected SoundEventGuardianEntity. getFlopSound()protected SoundEventBlazeEntity. getHurtSound(DamageSource source)protected SoundEventCreeperEntity. getHurtSound(DamageSource source)protected SoundEventDrownedEntity. getHurtSound(DamageSource source)protected SoundEventElderGuardianEntity. getHurtSound(DamageSource source)protected SoundEventEndermanEntity. getHurtSound(DamageSource source)protected SoundEventEndermiteEntity. getHurtSound(DamageSource source)protected SoundEventEvokerEntity. getHurtSound(DamageSource source)protected SoundEventGhastEntity. getHurtSound(DamageSource source)protected SoundEventGuardianEntity. getHurtSound(DamageSource source)protected SoundEventHoglinEntity. getHurtSound(DamageSource source)protected SoundEventHostileEntity. getHurtSound(DamageSource source)protected SoundEventHuskEntity. getHurtSound(DamageSource source)protected SoundEventIllusionerEntity. getHurtSound(DamageSource source)protected SoundEventMagmaCubeEntity. getHurtSound(DamageSource source)protected SoundEventPhantomEntity. getHurtSound(DamageSource source)protected SoundEventPiglinBruteEntity. getHurtSound(DamageSource source)protected SoundEventPiglinEntity. getHurtSound(DamageSource source)protected SoundEventPillagerEntity. getHurtSound(DamageSource source)protected SoundEventRavagerEntity. getHurtSound(DamageSource source)protected SoundEventShulkerEntity. getHurtSound(DamageSource source)protected SoundEventSilverfishEntity. getHurtSound(DamageSource source)protected SoundEventSkeletonEntity. getHurtSound(DamageSource source)protected SoundEventSkeletonHorseEntity. getHurtSound(DamageSource source)protected SoundEventSlimeEntity. getHurtSound(DamageSource source)protected SoundEventSpiderEntity. getHurtSound(DamageSource source)protected SoundEventStrayEntity. getHurtSound(DamageSource source)protected SoundEventVexEntity. getHurtSound(DamageSource source)protected SoundEventVindicatorEntity. getHurtSound(DamageSource source)protected SoundEventWitchEntity. getHurtSound(DamageSource source)protected SoundEventWitherSkeletonEntity. getHurtSound(DamageSource source)protected SoundEventZoglinEntity. getHurtSound(DamageSource source)protected SoundEventZombieEntity. getHurtSound(DamageSource source)protected SoundEventZombieHorseEntity. getHurtSound(DamageSource source)SoundEventZombieVillagerEntity. getHurtSound(DamageSource source)protected SoundEventZombifiedPiglinEntity. getHurtSound(DamageSource source)protected SoundEventMagmaCubeEntity. getJumpSound()protected SoundEventSlimeEntity. getJumpSound()private static SoundEventPiglinBrain. getSound(PiglinEntity piglin, Activity activity)private static SoundEventHoglinBrain. getSoundEvent(HoglinEntity hoglin, Activity activity)protected SoundEventEvokerEntity.ConjureFangsGoal. getSoundPrepare()protected SoundEventEvokerEntity.SummonVexGoal. getSoundPrepare()protected SoundEventEvokerEntity.WololoGoal. getSoundPrepare()protected SoundEventIllusionerEntity.BlindTargetGoal. getSoundPrepare()protected @Nullable SoundEventIllusionerEntity.GiveInvisibilityGoal. getSoundPrepare()protected abstract @Nullable SoundEventSpellcastingIllagerEntity.CastSpellGoal. getSoundPrepare()protected SoundEventHoglinEntity. getSplashSound()protected SoundEventHostileEntity. getSplashSound()protected SoundEventMagmaCubeEntity. getSquishSound()protected SoundEventSlimeEntity. getSquishSound()(专用程序包) abstract SoundEventAbstractSkeletonEntity. getStepSound()protected SoundEventDrownedEntity. getStepSound()protected SoundEventHuskEntity. getStepSound()(专用程序包) SoundEventSkeletonEntity. getStepSound()(专用程序包) SoundEventStrayEntity. getStepSound()(专用程序包) SoundEventWitherSkeletonEntity. getStepSound()protected SoundEventZombieEntity. getStepSound()SoundEventZombieVillagerEntity. getStepSound()protected SoundEventDrownedEntity. getSwimSound()protected SoundEventHoglinEntity. getSwimSound()protected SoundEventHostileEntity. getSwimSound()protected SoundEventSkeletonHorseEntity. getSwimSound()返回变量类型为SoundEvent的类型的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 static Optional<SoundEvent>PiglinBrain. getCurrentActivitySound(PiglinEntity piglin)static Optional<SoundEvent>HoglinBrain. getSoundEvent(HoglinEntity hoglin)参数类型为SoundEvent的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 protected voidHoglinEntity. playSound(SoundEvent sound)protected voidPiglinEntity. playSound(SoundEvent sound) -
net.minecraft.entity.passive中SoundEvent的使用
类型参数类型为SoundEvent的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 private static Map<EntityType<?>,SoundEvent>ParrotEntity. MOB_SOUNDS返回SoundEvent的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 protected @Nullable SoundEventAxolotlEntity. getAmbientSound()@Nullable SoundEventBatEntity. getAmbientSound()protected SoundEventBeeEntity. getAmbientSound()protected @Nullable SoundEventCatEntity. getAmbientSound()protected SoundEventChickenEntity. getAmbientSound()protected SoundEventCodEntity. getAmbientSound()protected SoundEventCowEntity. getAmbientSound()protected @Nullable SoundEventDolphinEntity. getAmbientSound()protected SoundEventDonkeyEntity. getAmbientSound()protected @Nullable SoundEventFoxEntity. getAmbientSound()protected SoundEventGlowSquidEntity. getAmbientSound()protected SoundEventGoatEntity. getAmbientSound()protected @Nullable SoundEventGolemEntity. getAmbientSound()protected @Nullable SoundEventHorseBaseEntity. getAmbientSound()protected SoundEventHorseEntity. getAmbientSound()protected SoundEventLlamaEntity. getAmbientSound()protected SoundEventMuleEntity. getAmbientSound()protected @Nullable SoundEventOcelotEntity. getAmbientSound()protected @Nullable SoundEventPandaEntity. getAmbientSound()@Nullable SoundEventParrotEntity. getAmbientSound()protected SoundEventPigEntity. getAmbientSound()protected SoundEventPolarBearEntity. getAmbientSound()protected SoundEventPufferfishEntity. getAmbientSound()protected SoundEventRabbitEntity. getAmbientSound()protected SoundEventSalmonEntity. getAmbientSound()protected SoundEventSheepEntity. getAmbientSound()protected @Nullable SoundEventSnowGolemEntity. getAmbientSound()protected SoundEventSquidEntity. getAmbientSound()protected SoundEventStriderEntity. getAmbientSound()protected SoundEventTropicalFishEntity. getAmbientSound()protected @Nullable SoundEventTurtleEntity. getAmbientSound()protected @Nullable SoundEventVillagerEntity. getAmbientSound()protected SoundEventWanderingTraderEntity. getAmbientSound()protected SoundEventWolfEntity. getAmbientSound()protected SoundEventDonkeyEntity. getAngrySound()protected @Nullable SoundEventHorseBaseEntity. getAngrySound()protected SoundEventHorseEntity. getAngrySound()protected SoundEventLlamaEntity. getAngrySound()protected SoundEventMuleEntity. getAngrySound()SoundEventAxolotlEntity. getBucketedSound()SoundEventFishEntity. getBucketedSound()protected @Nullable SoundEventAxolotlEntity. getDeathSound()protected SoundEventBatEntity. getDeathSound()protected SoundEventBeeEntity. getDeathSound()protected SoundEventCatEntity. getDeathSound()protected SoundEventChickenEntity. getDeathSound()protected SoundEventCodEntity. getDeathSound()protected SoundEventCowEntity. getDeathSound()protected @Nullable SoundEventDolphinEntity. getDeathSound()protected SoundEventDonkeyEntity. getDeathSound()protected @Nullable SoundEventFoxEntity. getDeathSound()protected SoundEventGlowSquidEntity. getDeathSound()protected SoundEventGoatEntity. getDeathSound()protected @Nullable SoundEventGolemEntity. getDeathSound()protected @Nullable SoundEventHorseBaseEntity. getDeathSound()protected SoundEventHorseEntity. getDeathSound()protected SoundEventIronGolemEntity. getDeathSound()protected SoundEventLlamaEntity. getDeathSound()protected SoundEventMuleEntity. getDeathSound()protected SoundEventOcelotEntity. getDeathSound()protected @Nullable SoundEventPandaEntity. getDeathSound()protected SoundEventParrotEntity. getDeathSound()protected SoundEventPigEntity. getDeathSound()protected SoundEventPolarBearEntity. getDeathSound()protected SoundEventPufferfishEntity. getDeathSound()protected SoundEventRabbitEntity. getDeathSound()protected SoundEventSalmonEntity. getDeathSound()protected SoundEventSheepEntity. getDeathSound()protected @Nullable SoundEventSnowGolemEntity. getDeathSound()protected SoundEventSquidEntity. getDeathSound()protected SoundEventStriderEntity. getDeathSound()protected SoundEventTropicalFishEntity. getDeathSound()protected @Nullable SoundEventTurtleEntity. getDeathSound()protected SoundEventVillagerEntity. getDeathSound()protected SoundEventWanderingTraderEntity. getDeathSound()protected SoundEventWolfEntity. getDeathSound()protected SoundEventWanderingTraderEntity. getDrinkSound(ItemStack stack)protected @Nullable SoundEventDonkeyEntity. getEatSound()SoundEventFoxEntity. getEatSound(ItemStack stack)protected @Nullable SoundEventHorseBaseEntity. getEatSound()protected @Nullable SoundEventHorseEntity. getEatSound()protected @Nullable SoundEventLlamaEntity. getEatSound()protected @Nullable SoundEventMuleEntity. getEatSound()protected SoundEventCodEntity. getFlopSound()protected abstract SoundEventFishEntity. getFlopSound()protected SoundEventPufferfishEntity. getFlopSound()protected SoundEventSalmonEntity. getFlopSound()protected SoundEventTropicalFishEntity. getFlopSound()protected SoundEventAxolotlEntity. getHurtSound(DamageSource source)protected SoundEventBatEntity. getHurtSound(DamageSource source)protected SoundEventBeeEntity. getHurtSound(DamageSource source)protected SoundEventCatEntity. getHurtSound(DamageSource source)protected SoundEventChickenEntity. getHurtSound(DamageSource source)protected SoundEventCodEntity. getHurtSound(DamageSource source)protected SoundEventCowEntity. getHurtSound(DamageSource source)protected SoundEventDolphinEntity. getHurtSound(DamageSource source)protected SoundEventDonkeyEntity. getHurtSound(DamageSource source)protected @Nullable SoundEventFoxEntity. getHurtSound(DamageSource source)protected SoundEventGlowSquidEntity. getHurtSound(DamageSource source)protected SoundEventGoatEntity. getHurtSound(DamageSource source)protected @Nullable SoundEventGolemEntity. getHurtSound(DamageSource source)protected @Nullable SoundEventHorseBaseEntity. getHurtSound(DamageSource source)protected SoundEventHorseEntity. getHurtSound(DamageSource source)protected SoundEventIronGolemEntity. getHurtSound(DamageSource source)protected SoundEventLlamaEntity. getHurtSound(DamageSource source)protected SoundEventMuleEntity. getHurtSound(DamageSource source)protected SoundEventOcelotEntity. getHurtSound(DamageSource source)protected @Nullable SoundEventPandaEntity. getHurtSound(DamageSource source)protected SoundEventParrotEntity. getHurtSound(DamageSource source)protected SoundEventPigEntity. getHurtSound(DamageSource source)protected SoundEventPolarBearEntity. getHurtSound(DamageSource source)protected SoundEventPufferfishEntity. getHurtSound(DamageSource source)protected SoundEventRabbitEntity. getHurtSound(DamageSource source)protected SoundEventSalmonEntity. getHurtSound(DamageSource source)protected SoundEventSheepEntity. getHurtSound(DamageSource source)protected @Nullable SoundEventSnowGolemEntity. getHurtSound(DamageSource source)protected SoundEventSquidEntity. getHurtSound(DamageSource source)protected SoundEventStriderEntity. getHurtSound(DamageSource source)protected SoundEventTropicalFishEntity. getHurtSound(DamageSource source)protected @Nullable SoundEventTurtleEntity. getHurtSound(DamageSource source)protected SoundEventVillagerEntity. getHurtSound(DamageSource source)protected SoundEventWanderingTraderEntity. getHurtSound(DamageSource source)protected SoundEventWolfEntity. getHurtSound(DamageSource source)protected SoundEventRabbitEntity. getJumpSound()protected SoundEventGoatEntity. getMilkingSound()static SoundEventParrotEntity. getRandomSound(World world, Random random)private static SoundEventParrotEntity. getSound(EntityType<?> imitate)protected SoundEventAxolotlEntity. getSplashSound()protected SoundEventDolphinEntity. getSplashSound()protected SoundEventGlowSquidEntity. getSquirtSound()protected SoundEventSquidEntity. getSquirtSound()protected SoundEventAxolotlEntity. getSwimSound()protected SoundEventDolphinEntity. getSwimSound()protected SoundEventFishEntity. getSwimSound()protected SoundEventTurtleEntity. getSwimSound()protected SoundEventMerchantEntity. getTradingSound(boolean sold)protected SoundEventWanderingTraderEntity. getTradingSound(boolean sold)SoundEventMerchantEntity. getYesSound()SoundEventWanderingTraderEntity. getYesSound() -
net.minecraft.entity.player中SoundEvent的使用
返回SoundEvent的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 protected SoundEventPlayerEntity. getDeathSound()protected SoundEventPlayerEntity. getFallSound(int distance)protected SoundEventPlayerEntity. getHighSpeedSplashSound()protected SoundEventPlayerEntity. getHurtSound(DamageSource source)protected SoundEventPlayerEntity. getSplashSound()protected SoundEventPlayerEntity. getSwimSound()参数类型为SoundEvent的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 voidPlayerEntity. playSound(SoundEvent sound, float volume, float pitch)voidPlayerEntity. playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
net.minecraft.entity.projectile中SoundEvent的使用
声明为SoundEvent的net.minecraft.entity.projectile中的字段 修饰符和类型 字段 说明 private SoundEventPersistentProjectileEntity. sound返回SoundEvent的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 protected SoundEventPersistentProjectileEntity. getHitSound()protected SoundEventTridentEntity. getHitSound()protected SoundEventPersistentProjectileEntity. getSound()参数类型为SoundEvent的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 voidPersistentProjectileEntity. setSound(SoundEvent sound) -
net.minecraft.entity.raid中SoundEvent的使用
返回SoundEvent的net.minecraft.entity.raid中的方法 修饰符和类型 方法 说明 abstract SoundEventRaiderEntity. getCelebratingSound() -
net.minecraft.entity.vehicle中SoundEvent的使用
返回SoundEvent的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 protected @Nullable SoundEventBoatEntity. getPaddleSoundEvent() -
net.minecraft.fluid中SoundEvent的使用
返回变量类型为SoundEvent的类型的net.minecraft.fluid中的方法 修饰符和类型 方法 说明 Optional<SoundEvent>Fluid. getBucketFillSound()Returns the sound played when filling a bucket with this fluid.Optional<SoundEvent>LavaFluid. getBucketFillSound()Returns the sound played when filling a bucket with this fluid.Optional<SoundEvent>WaterFluid. getBucketFillSound()Returns the sound played when filling a bucket with this fluid. -
net.minecraft.item中SoundEvent的使用
声明为SoundEvent的net.minecraft.item中的字段 修饰符和类型 字段 说明 private SoundEventEntityBucketItem. emptyingSoundprivate SoundEventArmorMaterials. equipSoundprivate SoundEventPowderSnowBucketItem. placeSoundprivate SoundEventMusicDiscItem. sound类型参数类型为SoundEvent的net.minecraft.item中的字段 修饰符和类型 字段 说明 private static Map<SoundEvent,MusicDiscItem>MusicDiscItem. MUSIC_DISCS返回SoundEvent的net.minecraft.item中的方法 修饰符和类型 方法 说明 SoundEventHoneyBottleItem. getDrinkSound()SoundEventItem. getDrinkSound()SoundEventItemStack. getDrinkSound()SoundEventHoneyBottleItem. getEatSound()SoundEventItem. getEatSound()SoundEventItemStack. getEatSound()@Nullable SoundEventArmorItem. getEquipSound()SoundEventArmorMaterial. getEquipSound()SoundEventArmorMaterials. getEquipSound()@Nullable SoundEventElytraItem. getEquipSound()@Nullable SoundEventItem. getEquipSound()@Nullable SoundEventItemStack. getEquipSound()protected SoundEventBlockItem. getPlaceSound(BlockState state)protected SoundEventPowderSnowBucketItem. getPlaceSound(BlockState state)private SoundEventCrossbowItem. getQuickChargeSound(int stage)SoundEventMusicDiscItem. getSound()参数类型为SoundEvent的net.minecraft.item中的方法 修饰符和类型 方法 说明 static @Nullable MusicDiscItemMusicDiscItem. bySound(SoundEvent sound)参数类型为SoundEvent的net.minecraft.item中的构造器 构造器 说明 ArmorMaterials(String name, int durabilityMultiplier, int[] protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier)EntityBucketItem(EntityType<?> type, Fluid fluid, SoundEvent emptyingSound, Item.Settings settings)MusicDiscItem(int comparatorOutput, SoundEvent sound, Item.Settings settings)PowderSnowBucketItem(Block block, SoundEvent placeSound, Item.Settings settings) -
net.minecraft.network.packet.s2c.play中SoundEvent的使用
声明为SoundEvent的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private SoundEventPlaySoundFromEntityS2CPacket. soundprivate SoundEventPlaySoundS2CPacket. sound返回SoundEvent的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 SoundEventPlaySoundFromEntityS2CPacket. getSound()SoundEventPlaySoundS2CPacket. getSound()参数类型为SoundEvent的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 PlaySoundFromEntityS2CPacket(SoundEvent sound, SoundCategory category, Entity entity, float volume, float pitch)PlaySoundS2CPacket(SoundEvent sound, SoundCategory category, double x, double y, double z, float volume, float pitch) -
net.minecraft.server.network中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 voidServerPlayerEntity. playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
net.minecraft.server.world中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 voidServerWorld. playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)voidServerWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) -
net.minecraft.sound中SoundEvent的使用
类型参数类型为SoundEvent的net.minecraft.sound中的字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<SoundEvent>SoundEvent. CODEC返回SoundEvent的net.minecraft.sound中的方法 修饰符和类型 方法 说明 SoundEventBlockSoundGroup. getBreakSound()SoundEventBlockSoundGroup. getFallSound()SoundEventBlockSoundGroup. getHitSound()SoundEventBlockSoundGroup. getPlaceSound()SoundEventBiomeAdditionsSound. getSound()SoundEventBiomeMoodSound. getSound()SoundEventMusicSound. getSound()SoundEventBlockSoundGroup. getStepSound()private static SoundEventSoundEvents. register(String id)参数类型为SoundEvent的net.minecraft.sound中的构造器 构造器 说明 BiomeAdditionsSound(SoundEvent sound, double chance)BiomeMoodSound(SoundEvent sound, int cultivationTicks, int spawnRange, double extraDistance)BlockSoundGroup(float volume, float pitch, SoundEvent breakSound, SoundEvent stepSound, SoundEvent placeSound, SoundEvent hitSound, SoundEvent fallSound)MusicSound(SoundEvent sound, int minDelay, int maxDelay, boolean replaceCurrentMusic) -
net.minecraft.util.registry中SoundEvent的使用
类型参数类型为SoundEvent的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static Registry<SoundEvent>Registry. SOUND_EVENTstatic RegistryKey<Registry<SoundEvent>>Registry. SOUND_EVENT_KEY -
net.minecraft.village中SoundEvent的使用
声明为SoundEvent的net.minecraft.village中的字段 修饰符和类型 字段 说明 private @Nullable SoundEventVillagerProfession. workSound返回SoundEvent的net.minecraft.village中的方法 修饰符和类型 方法 说明 @Nullable SoundEventVillagerProfession. getWorkSound()SoundEventMerchant. getYesSound()SoundEventSimpleMerchant. getYesSound()参数类型为SoundEvent的net.minecraft.village中的方法 修饰符和类型 方法 说明 (专用程序包) static VillagerProfessionVillagerProfession. register(String id, PointOfInterestType workStation, @Nullable SoundEvent workSound)(专用程序包) static VillagerProfessionVillagerProfession. register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)参数类型为SoundEvent的net.minecraft.village中的构造器 构造器 说明 VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) -
net.minecraft.world中SoundEvent的使用
参数类型为SoundEvent的net.minecraft.world中的方法 修饰符和类型 方法 说明 voidChunkRegion. playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)voidWorld. playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)abstract voidWorld. playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)voidWorld. playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)voidWorldAccess. playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)abstract voidWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) -
net.minecraft.world.biome中SoundEvent的使用
类型参数类型为SoundEvent的net.minecraft.world.biome中的字段 修饰符和类型 字段 说明 private Optional<SoundEvent>BiomeEffects.Builder. loopSoundprivate Optional<SoundEvent>BiomeEffects. loopSound返回变量类型为SoundEvent的类型的net.minecraft.world.biome中的方法 修饰符和类型 方法 说明 Optional<SoundEvent>Biome. getLoopSound()Optional<SoundEvent>BiomeEffects. getLoopSound()Returns the loop sound.参数类型为SoundEvent的net.minecraft.world.biome中的方法 修饰符和类型 方法 说明 BiomeEffects.BuilderBiomeEffects.Builder. loopSound(SoundEvent sound)
-