Class JukeboxManager

java.lang.Object
net.minecraft.block.jukebox.JukeboxManager

public class JukeboxManager extends Object
Mappings:
Namespace Name
named net/minecraft/block/jukebox/JukeboxManager
intermediary net/minecraft/class_9794
official cxv
  • Field Details

    • TICKS_PER_SECOND

      public static final int TICKS_PER_SECOND
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TICKS_PER_SECOND Lnet/minecraft/block/jukebox/JukeboxManager;TICKS_PER_SECOND:I
      intermediary field_52032 Lnet/minecraft/class_9794;field_52032:I
      official a Lcxv;a:I
    • ticksSinceSongStarted

      private long ticksSinceSongStarted
      Mappings:
      Namespace Name Mixin selector
      named ticksSinceSongStarted Lnet/minecraft/block/jukebox/JukeboxManager;ticksSinceSongStarted:J
      intermediary field_52033 Lnet/minecraft/class_9794;field_52033:J
      official b Lcxv;b:J
    • song

      Mappings:
      Namespace Name Mixin selector
      named song Lnet/minecraft/block/jukebox/JukeboxManager;song:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_52034 Lnet/minecraft/class_9794;field_52034:Lnet/minecraft/class_6880;
      official c Lcxv;c:Ljq;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/block/jukebox/JukeboxManager;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_52035 Lnet/minecraft/class_9794;field_52035:Lnet/minecraft/class_2338;
      official d Lcxv;d:Ljh;
    • changeNotifier

      private final JukeboxManager.ChangeNotifier changeNotifier
      Mappings:
      Namespace Name Mixin selector
      named changeNotifier Lnet/minecraft/block/jukebox/JukeboxManager;changeNotifier:Lnet/minecraft/block/jukebox/JukeboxManager$ChangeNotifier;
      intermediary field_52036 Lnet/minecraft/class_9794;field_52036:Lnet/minecraft/class_9794$class_9795;
      official e Lcxv;e:Lcxv$a;
  • Constructor Details

    • JukeboxManager

      public JukeboxManager(JukeboxManager.ChangeNotifier changeNotifier, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/jukebox/JukeboxManager;<init>(Lnet/minecraft/block/jukebox/JukeboxManager$ChangeNotifier;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_9794;<init>(Lnet/minecraft/class_9794$class_9795;Lnet/minecraft/class_2338;)V
      official <init> Lcxv;<init>(Lcxv$a;Ljh;)V
  • Method Details

    • isPlaying

      public boolean isPlaying()
      Mappings:
      Namespace Name Mixin selector
      named isPlaying Lnet/minecraft/block/jukebox/JukeboxManager;isPlaying()Z
      intermediary method_60754 Lnet/minecraft/class_9794;method_60754()Z
      official a Lcxv;a()Z
    • getSong

      @Nullable public @Nullable JukeboxSong getSong()
      Mappings:
      Namespace Name Mixin selector
      named getSong Lnet/minecraft/block/jukebox/JukeboxManager;getSong()Lnet/minecraft/block/jukebox/JukeboxSong;
      intermediary method_60759 Lnet/minecraft/class_9794;method_60759()Lnet/minecraft/class_9793;
      official b Lcxv;b()Lcxu;
    • getTicksSinceSongStarted

      public long getTicksSinceSongStarted()
      Mappings:
      Namespace Name Mixin selector
      named getTicksSinceSongStarted Lnet/minecraft/block/jukebox/JukeboxManager;getTicksSinceSongStarted()J
      intermediary method_60761 Lnet/minecraft/class_9794;method_60761()J
      official c Lcxv;c()J
    • setValues

      public void setValues(RegistryEntry<JukeboxSong> song, long ticksPlaying)
      Mappings:
      Namespace Name Mixin selector
      named setValues Lnet/minecraft/block/jukebox/JukeboxManager;setValues(Lnet/minecraft/registry/entry/RegistryEntry;J)V
      intermediary method_60758 Lnet/minecraft/class_9794;method_60758(Lnet/minecraft/class_6880;J)V
      official a Lcxv;a(Ljq;J)V
    • startPlaying

      public void startPlaying(WorldAccess world, RegistryEntry<JukeboxSong> song)
      Mappings:
      Namespace Name Mixin selector
      named startPlaying Lnet/minecraft/block/jukebox/JukeboxManager;startPlaying(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary method_60757 Lnet/minecraft/class_9794;method_60757(Lnet/minecraft/class_1936;Lnet/minecraft/class_6880;)V
      official a Lcxv;a(Ldhi;Ljq;)V
    • stopPlaying

      public void stopPlaying(WorldAccess world, @Nullable @Nullable BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named stopPlaying Lnet/minecraft/block/jukebox/JukeboxManager;stopPlaying(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/BlockState;)V
      intermediary method_60755 Lnet/minecraft/class_9794;method_60755(Lnet/minecraft/class_1936;Lnet/minecraft/class_2680;)V
      official a Lcxv;a(Ldhi;Ldxu;)V
    • tick

      public void tick(WorldAccess world, @Nullable @Nullable BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/block/jukebox/JukeboxManager;tick(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/BlockState;)V
      intermediary method_60760 Lnet/minecraft/class_9794;method_60760(Lnet/minecraft/class_1936;Lnet/minecraft/class_2680;)V
      official b Lcxv;b(Ldhi;Ldxu;)V
    • hasSecondPassed

      private boolean hasSecondPassed()
      Mappings:
      Namespace Name Mixin selector
      named hasSecondPassed Lnet/minecraft/block/jukebox/JukeboxManager;hasSecondPassed()Z
      intermediary method_60763 Lnet/minecraft/class_9794;method_60763()Z
      official d Lcxv;d()Z
    • spawnNoteParticles

      private static void spawnNoteParticles(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named spawnNoteParticles Lnet/minecraft/block/jukebox/JukeboxManager;spawnNoteParticles(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_60756 Lnet/minecraft/class_9794;method_60756(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      official a Lcxv;a(Ldhi;Ljh;)V