Class MovingLoopingSoundEntityManager

java.lang.Object
net.frozenblock.lib.sound.api.MovingLoopingSoundEntityManager

public class MovingLoopingSoundEntityManager extends Object
  • Field Details

    • entity

      public net.minecraft.world.entity.Entity entity
  • Constructor Details

    • MovingLoopingSoundEntityManager

      public MovingLoopingSoundEntityManager(net.minecraft.world.entity.Entity entity)
  • Method Details

    • load

      public void load(net.minecraft.nbt.CompoundTag nbt)
    • save

      public void save(net.minecraft.nbt.CompoundTag nbt)
    • addSound

      public void addSound(net.minecraft.resources.ResourceLocation soundID, net.minecraft.sounds.SoundSource category, float volume, float pitch, net.minecraft.resources.ResourceLocation restrictionId, boolean stopOnDeath)
    • getSounds

    • tick

      public void tick()
    • syncWithPlayer

      public void syncWithPlayer(net.minecraft.server.level.ServerPlayer serverPlayer)