Package com.hbm_m.client.sound
Class TurbineLoopSoundFactory
java.lang.Object
com.hbm_m.client.sound.TurbineLoopSoundFactory
Клиентский цикл звука турбины — вынесен из
MachineIndustrialTurbineBlockEntity, чтобы
серверный класс BE не содержал в bytecode ссылок на AbstractTickableSoundInstance.
Pitch/Volume зависят от Flywheel-Spin (0..1), wie im Original (AudioWrapper.updatePitch/updateVolume).-
Method Summary
Modifier and TypeMethodDescriptionstatic Objectcreate(MachineIndustrialTurbineBlockEntity turbine, net.minecraft.sounds.SoundEvent sound)
-
Method Details
-
create
public static Object create(MachineIndustrialTurbineBlockEntity turbine, net.minecraft.sounds.SoundEvent sound)
-