Class SoundScapes
java.lang.Object
com.simibubi.create.foundation.sound.SoundScapes
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<net.minecraft.core.BlockPos>getAllLocations(SoundScapes.AmbienceGroup group, com.simibubi.create.foundation.sound.SoundScapes.PitchGroup pitchGroup) protected static net.minecraft.core.BlockPosstatic com.simibubi.create.foundation.sound.SoundScapes.PitchGroupgetGroupFromPitch(float pitch) static intgetSoundCount(SoundScapes.AmbienceGroup group, com.simibubi.create.foundation.sound.SoundScapes.PitchGroup pitchGroup) static voidprotected static booleanoutOfRange(net.minecraft.core.BlockPos pos) static voidplay(SoundScapes.AmbienceGroup group, net.minecraft.core.BlockPos pos, float pitch) static voidtick()
-
Constructor Details
-
SoundScapes
public SoundScapes()
-
-
Method Details
-
play
public static void play(SoundScapes.AmbienceGroup group, net.minecraft.core.BlockPos pos, float pitch) -
tick
public static void tick() -
invalidateAll
public static void invalidateAll() -
outOfRange
protected static boolean outOfRange(net.minecraft.core.BlockPos pos) -
getCameraPos
protected static net.minecraft.core.BlockPos getCameraPos() -
getSoundCount
public static int getSoundCount(SoundScapes.AmbienceGroup group, com.simibubi.create.foundation.sound.SoundScapes.PitchGroup pitchGroup) -
getAllLocations
public static Set<net.minecraft.core.BlockPos> getAllLocations(SoundScapes.AmbienceGroup group, com.simibubi.create.foundation.sound.SoundScapes.PitchGroup pitchGroup) -
getGroupFromPitch
public static com.simibubi.create.foundation.sound.SoundScapes.PitchGroup getGroupFromPitch(float pitch)
-