类的使用
net.minecraft.sound.SoundCategory
-
-
net.minecraft.client.gui.widget中SoundCategory的使用
声明为SoundCategory的net.minecraft.client.gui.widget中的字段 修饰符和类型 字段 说明 private SoundCategorySoundSliderWidget. category参数类型为SoundCategory的net.minecraft.client.gui.widget中的构造器 构造器 说明 SoundSliderWidget(MinecraftClient client, int x, int y, SoundCategory category, int width) -
net.minecraft.client.network中SoundCategory的使用
参数类型为SoundCategory的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 voidClientPlayerEntity. playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
net.minecraft.client.option中SoundCategory的使用
类型参数类型为SoundCategory的net.minecraft.client.option中的字段 修饰符和类型 字段 说明 private Object2FloatMap<SoundCategory>GameOptions. soundVolumeLevels参数类型为SoundCategory的net.minecraft.client.option中的方法 修饰符和类型 方法 说明 floatGameOptions. getSoundVolume(SoundCategory category)voidGameOptions. setSoundVolume(SoundCategory category, float volume) -
net.minecraft.client.sound中SoundCategory的使用
声明为SoundCategory的net.minecraft.client.sound中的字段 修饰符和类型 字段 说明 protected SoundCategoryAbstractSoundInstance. category类型参数类型为SoundCategory的net.minecraft.client.sound中的字段 修饰符和类型 字段 说明 private Multimap<SoundCategory,SoundInstance>SoundSystem. sounds返回SoundCategory的net.minecraft.client.sound中的方法 修饰符和类型 方法 说明 SoundCategoryAbstractSoundInstance. getCategory()SoundCategorySoundInstance. getCategory()参数类型为SoundCategory的net.minecraft.client.sound中的方法 修饰符和类型 方法 说明 private floatSoundSystem. getSoundVolume(@Nullable SoundCategory soundCategory)voidSoundManager. stopSounds(@Nullable Identifier id, @Nullable SoundCategory soundCategory)voidSoundSystem. stopSounds(@Nullable Identifier identifier, @Nullable SoundCategory soundCategory)voidSoundManager. updateSoundVolume(SoundCategory category, float volume)voidSoundSystem. updateSoundVolume(SoundCategory soundCategory, float volume)参数类型为SoundCategory的net.minecraft.client.sound中的构造器 构造器 说明 AbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory)AbstractSoundInstance(SoundEvent sound, SoundCategory category)AbstractSoundInstance(Identifier soundId, 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)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)PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean looping) -
net.minecraft.client.world中SoundCategory的使用
参数类型为SoundCategory的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中SoundCategory的使用
返回SoundCategory的net.minecraft.entity中的方法 修饰符和类型 方法 说明 SoundCategoryEntity. getSoundCategory()SoundCategoryExperienceOrbEntity. getSoundCategory()SoundCategoryItemEntity. getSoundCategory()SoundCategoryLightningEntity. getSoundCategory()参数类型为SoundCategory的net.minecraft.entity中的方法 修饰符和类型 方法 说明 voidSaddleable. saddle(@Nullable SoundCategory sound)voidShearable. sheared(SoundCategory shearedSoundCategory) -
net.minecraft.entity.boss.dragon中SoundCategory的使用
返回SoundCategory的net.minecraft.entity.boss.dragon中的方法 修饰符和类型 方法 说明 SoundCategoryEnderDragonEntity. getSoundCategory() -
net.minecraft.entity.mob中SoundCategory的使用
返回SoundCategory的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 SoundCategoryGhastEntity. getSoundCategory()SoundCategoryHoglinEntity. getSoundCategory()SoundCategoryHostileEntity. getSoundCategory()SoundCategoryPhantomEntity. getSoundCategory()SoundCategoryShulkerEntity. getSoundCategory() -
net.minecraft.entity.passive中SoundCategory的使用
返回SoundCategory的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 SoundCategoryParrotEntity. getSoundCategory()SoundCategoryRabbitEntity. getSoundCategory()参数类型为SoundCategory的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 voidHorseBaseEntity. saddle(@Nullable SoundCategory sound)voidPigEntity. saddle(@Nullable SoundCategory sound)voidStriderEntity. saddle(@Nullable SoundCategory sound)voidMooshroomEntity. sheared(SoundCategory shearedSoundCategory)voidSheepEntity. sheared(SoundCategory shearedSoundCategory)voidSnowGolemEntity. sheared(SoundCategory shearedSoundCategory) -
net.minecraft.entity.player中SoundCategory的使用
返回SoundCategory的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 SoundCategoryPlayerEntity. getSoundCategory()参数类型为SoundCategory的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 voidPlayerEntity. playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
net.minecraft.entity.projectile中SoundCategory的使用
返回SoundCategory的net.minecraft.entity.projectile中的方法 修饰符和类型 方法 说明 SoundCategoryShulkerBulletEntity. getSoundCategory() -
net.minecraft.network.packet.s2c.play中SoundCategory的使用
声明为SoundCategory的net.minecraft.network.packet.s2c.play中的字段 修饰符和类型 字段 说明 private SoundCategoryPlaySoundFromEntityS2CPacket. categoryprivate SoundCategoryPlaySoundIdS2CPacket. categoryprivate SoundCategoryPlaySoundS2CPacket. categoryprivate @Nullable SoundCategoryStopSoundS2CPacket. category返回SoundCategory的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 SoundCategoryPlaySoundFromEntityS2CPacket. getCategory()SoundCategoryPlaySoundIdS2CPacket. getCategory()SoundCategoryPlaySoundS2CPacket. getCategory()@Nullable SoundCategoryStopSoundS2CPacket. getCategory()参数类型为SoundCategory的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 PlaySoundFromEntityS2CPacket(SoundEvent sound, SoundCategory category, Entity entity, float volume, float pitch)PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch)PlaySoundS2CPacket(SoundEvent sound, SoundCategory category, double x, double y, double z, float volume, float pitch)StopSoundS2CPacket(@Nullable Identifier soundId, @Nullable SoundCategory category) -
net.minecraft.server.command中SoundCategory的使用
参数类型为SoundCategory的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private static intPlaySoundCommand. execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume)private static intStopSoundCommand. execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, @Nullable SoundCategory category, @Nullable Identifier sound)private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>PlaySoundCommand. makeArgumentsForCategory(SoundCategory category) -
net.minecraft.server.network中SoundCategory的使用
参数类型为SoundCategory的net.minecraft.server.network中的方法 修饰符和类型 方法 说明 voidServerPlayerEntity. playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
net.minecraft.server.world中SoundCategory的使用
参数类型为SoundCategory的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中SoundCategory的使用
返回SoundCategory的net.minecraft.sound中的方法 修饰符和类型 方法 说明 static SoundCategorySoundCategory. valueOf(String name)返回带有指定名称的该类型的枚举常量。static SoundCategory[]SoundCategory. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。 -
net.minecraft.world中SoundCategory的使用
参数类型为SoundCategory的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)
-