Class UploadSoundBuffer
java.lang.Object
de.mrjulsen.dragnsounds.core.data.UploadSoundBuffer
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionUploadSoundBuffer
(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
getId()
net.minecraft.world.entity.player.Player
void
queue
(UploadSoundPacket packet) void
-
Constructor Details
-
UploadSoundBuffer
public UploadSoundBuffer(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player)
-
-
Method Details
-
getId
public long getId() -
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
queue
-
setFinalizerPacket
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-