Package net.minecraft.block.jukebox
Class JukeboxManager
java.lang.Object
net.minecraft.block.jukebox.JukeboxManager
- Mappings:
- Namespace - Name - named - net/minecraft/block/jukebox/JukeboxManager- intermediary - net/minecraft/class_9794- official - cwx
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final JukeboxManager.ChangeNotifierprivate final BlockPosprivate @Nullable RegistryEntry<JukeboxSong> static final intprivate long
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetSong()longprivate booleanbooleanvoidsetValues(RegistryEntry<JukeboxSong> song, long ticksPlaying) private static voidspawnNoteParticles(WorldAccess world, BlockPos pos) voidstartPlaying(WorldAccess world, RegistryEntry<JukeboxSong> song) voidstopPlaying(WorldAccess world, @Nullable BlockState state) voidtick(WorldAccess world, @Nullable BlockState state) 
- 
Field Details- 
TICKS_PER_SECONDpublic 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- Lcwx;a:I
 
- 
ticksSinceSongStartedprivate 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- Lcwx;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- Lcwx;c:Ljr;
 
- 
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- Lcwx;d:Lji;
 
- 
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- Lcwx;e:Lcwx$a;
 
 
- 
- 
Constructor Details- 
JukeboxManager- 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>- Lcwx;<init>(Lcwx$a;Lji;)V
 
 
- 
- 
Method Details- 
isPlayingpublic 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- Lcwx;a()Z
 
- 
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- Lcwx;b()Lcww;
 
- 
getTicksSinceSongStartedpublic 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- Lcwx;c()J
 
- 
setValues- 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- Lcwx;a(Ljr;J)V
 
- 
startPlaying- 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- Lcwx;a(Ldgk;Ljr;)V
 
- 
stopPlaying- 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- Lcwx;a(Ldgk;Ldwy;)V
 
- 
tick- 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- Lcwx;b(Ldgk;Ldwy;)V
 
- 
hasSecondPassedprivate 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- Lcwx;d()Z
 
- 
spawnNoteParticles- 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- Lcwx;a(Ldgk;Lji;)V
 
 
-