Package net.frozenblock.lib.sound.mixin
Class EntityMixin
java.lang.Object
net.frozenblock.lib.sound.mixin.EntityMixin
- All Implemented Interfaces:
EntityLoopingFadingDistanceSoundInterface,EntityLoopingSoundInterface
public abstract class EntityMixin
extends Object
implements EntityLoopingSoundInterface, EntityLoopingFadingDistanceSoundInterface
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfrozenLib$addFadingDistanceSound(net.minecraft.resources.ResourceLocation soundID, net.minecraft.resources.ResourceLocation sound2ID, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation restrictionId, boolean stopOnDeath, float fadeDist, float maxDist) voidfrozenLib$addSound(net.minecraft.resources.ResourceLocation soundID, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation restrictionId, boolean stopOnDeath) voidfrozenLib$loadLoopingSoundData(net.minecraft.nbt.CompoundTag compoundTag, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info) voidfrozenLib$saveLoopingSoundData(net.minecraft.nbt.CompoundTag compoundTag, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.nbt.CompoundTag> info) voidfrozenLib$tickSounds(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info)
-
Field Details
-
frozenLib$loopingSoundManager
-
frozenLib$loopingFadingDistanceSoundManager
-
-
Constructor Details
-
EntityMixin
public EntityMixin()
-
-
Method Details
-
frozenLib$saveLoopingSoundData
public void frozenLib$saveLoopingSoundData(net.minecraft.nbt.CompoundTag compoundTag, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<net.minecraft.nbt.CompoundTag> info) -
frozenLib$loadLoopingSoundData
public void frozenLib$loadLoopingSoundData(net.minecraft.nbt.CompoundTag compoundTag, org.spongepowered.asm.mixin.injection.callback.CallbackInfo info) -
frozenLib$tickSounds
public void frozenLib$tickSounds(org.spongepowered.asm.mixin.injection.callback.CallbackInfo info) -
frozenLib$getSoundManager
- Specified by:
frozenLib$getSoundManagerin interfaceEntityLoopingSoundInterface
-
frozenLib$addSound
public void frozenLib$addSound(net.minecraft.resources.ResourceLocation soundID, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation restrictionId, boolean stopOnDeath) - Specified by:
frozenLib$addSoundin interfaceEntityLoopingSoundInterface
-
frozenLib$getFadingSoundManager
- Specified by:
frozenLib$getFadingSoundManagerin interfaceEntityLoopingFadingDistanceSoundInterface
-
frozenLib$addFadingDistanceSound
public void frozenLib$addFadingDistanceSound(net.minecraft.resources.ResourceLocation soundID, net.minecraft.resources.ResourceLocation sound2ID, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation restrictionId, boolean stopOnDeath, float fadeDist, float maxDist) - Specified by:
frozenLib$addFadingDistanceSoundin interfaceEntityLoopingFadingDistanceSoundInterface
-