Package net.minecraft.block.jukebox
Class JukeboxManager
java.lang.Object
net.minecraft.block.jukebox.JukeboxManager
- Mappings:
Namespace Name named net/minecraft/block/jukebox/JukeboxManagerintermediary net/minecraft/class_9794official cwx
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JukeboxManager.ChangeNotifierprivate final BlockPosprivate @Nullable RegistryEntry<JukeboxSong> static final intprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier 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_SECOND
public static final int TICKS_PER_SECOND- See Also:
- Mappings:
Namespace Name Mixin selector named TICKS_PER_SECONDLnet/minecraft/block/jukebox/JukeboxManager;TICKS_PER_SECOND:Iintermediary field_52032Lnet/minecraft/class_9794;field_52032:Iofficial aLcwx;a:I
-
ticksSinceSongStarted
private long ticksSinceSongStarted- Mappings:
Namespace Name Mixin selector named ticksSinceSongStartedLnet/minecraft/block/jukebox/JukeboxManager;ticksSinceSongStarted:Jintermediary field_52033Lnet/minecraft/class_9794;field_52033:Jofficial bLcwx;b:J
-
song
- Mappings:
Namespace Name Mixin selector named songLnet/minecraft/block/jukebox/JukeboxManager;song:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_52034Lnet/minecraft/class_9794;field_52034:Lnet/minecraft/class_6880;official cLcwx;c:Ljr;
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/block/jukebox/JukeboxManager;pos:Lnet/minecraft/util/math/BlockPos;intermediary field_52035Lnet/minecraft/class_9794;field_52035:Lnet/minecraft/class_2338;official dLcwx;d:Lji;
-
changeNotifier
- Mappings:
Namespace Name Mixin selector named changeNotifierLnet/minecraft/block/jukebox/JukeboxManager;changeNotifier:Lnet/minecraft/block/jukebox/JukeboxManager$ChangeNotifier;intermediary field_52036Lnet/minecraft/class_9794;field_52036:Lnet/minecraft/class_9794$class_9795;official eLcwx;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;)Vintermediary <init>Lnet/minecraft/class_9794;<init>(Lnet/minecraft/class_9794$class_9795;Lnet/minecraft/class_2338;)Vofficial <init>Lcwx;<init>(Lcwx$a;Lji;)V
-
-
Method Details
-
isPlaying
public boolean isPlaying()- Mappings:
Namespace Name Mixin selector named isPlayingLnet/minecraft/block/jukebox/JukeboxManager;isPlaying()Zintermediary method_60754Lnet/minecraft/class_9794;method_60754()Zofficial aLcwx;a()Z
-
getSong
- Mappings:
Namespace Name Mixin selector named getSongLnet/minecraft/block/jukebox/JukeboxManager;getSong()Lnet/minecraft/block/jukebox/JukeboxSong;intermediary method_60759Lnet/minecraft/class_9794;method_60759()Lnet/minecraft/class_9793;official bLcwx;b()Lcww;
-
getTicksSinceSongStarted
public long getTicksSinceSongStarted()- Mappings:
Namespace Name Mixin selector named getTicksSinceSongStartedLnet/minecraft/block/jukebox/JukeboxManager;getTicksSinceSongStarted()Jintermediary method_60761Lnet/minecraft/class_9794;method_60761()Jofficial cLcwx;c()J
-
setValues
- Mappings:
Namespace Name Mixin selector named setValuesLnet/minecraft/block/jukebox/JukeboxManager;setValues(Lnet/minecraft/registry/entry/RegistryEntry;J)Vintermediary method_60758Lnet/minecraft/class_9794;method_60758(Lnet/minecraft/class_6880;J)Vofficial aLcwx;a(Ljr;J)V
-
startPlaying
- Mappings:
Namespace Name Mixin selector named startPlayingLnet/minecraft/block/jukebox/JukeboxManager;startPlaying(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_60757Lnet/minecraft/class_9794;method_60757(Lnet/minecraft/class_1936;Lnet/minecraft/class_6880;)Vofficial aLcwx;a(Ldgk;Ljr;)V
-
stopPlaying
- Mappings:
Namespace Name Mixin selector named stopPlayingLnet/minecraft/block/jukebox/JukeboxManager;stopPlaying(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/BlockState;)Vintermediary method_60755Lnet/minecraft/class_9794;method_60755(Lnet/minecraft/class_1936;Lnet/minecraft/class_2680;)Vofficial aLcwx;a(Ldgk;Ldwy;)V
-
tick
- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/block/jukebox/JukeboxManager;tick(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/BlockState;)Vintermediary method_60760Lnet/minecraft/class_9794;method_60760(Lnet/minecraft/class_1936;Lnet/minecraft/class_2680;)Vofficial bLcwx;b(Ldgk;Ldwy;)V
-
hasSecondPassed
private boolean hasSecondPassed()- Mappings:
Namespace Name Mixin selector named hasSecondPassedLnet/minecraft/block/jukebox/JukeboxManager;hasSecondPassed()Zintermediary method_60763Lnet/minecraft/class_9794;method_60763()Zofficial dLcwx;d()Z
-
spawnNoteParticles
- Mappings:
Namespace Name Mixin selector named spawnNoteParticlesLnet/minecraft/block/jukebox/JukeboxManager;spawnNoteParticles(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_60756Lnet/minecraft/class_9794;method_60756(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Vofficial aLcwx;a(Ldgk;Lji;)V
-