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 Details

  • 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

      public MovingLoopingSoundEntityManager frozenLib$getSoundManager()
      Specified by:
      frozenLib$getSoundManager in interface EntityLoopingSoundInterface
    • 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$addSound in interface EntityLoopingSoundInterface
    • frozenLib$getFadingSoundManager

      public MovingLoopingFadingDistanceSoundEntityManager frozenLib$getFadingSoundManager()
      Specified by:
      frozenLib$getFadingSoundManager in interface EntityLoopingFadingDistanceSoundInterface
    • 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$addFadingDistanceSound in interface EntityLoopingFadingDistanceSoundInterface