Class ChannelMixin

java.lang.Object
net.ixdarklord.coolcatcanvas.internal.mixin.client.ChannelMixin
All Implemented Interfaces:
FilterableChannel

public abstract class ChannelMixin extends Object implements FilterableChannel
  • Constructor Details

    • ChannelMixin

      public ChannelMixin()
  • Method Details

    • coolcatlib$setSound

      public void coolcatlib$setSound(net.minecraft.resources.Identifier sound, net.minecraft.sounds.SoundSource source)
      Description copied from interface: FilterableChannel
      Which sound the channel plays, set as it starts (SoundEngineMixin). On the sound thread.
      Specified by:
      coolcatlib$setSound in interface FilterableChannel
    • coolcatlib$refilter

      public void coolcatlib$refilter()
      Description copied from interface: FilterableChannel
      Asks the providers again for this channel's sound and applies their filter. On the sound thread.
      Specified by:
      coolcatlib$refilter in interface FilterableChannel