mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Initial
This commit is contained in:
commit
9c4a30d224
114 files changed
+12299
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package com.moulberry.flashback.action;
|
||||
|
||||
import com.moulberry.flashback.FlashbackClient;
|
||||
import com.moulberry.flashback.playback.ReplayServer;
|
||||
import net.minecraft.network.RegistryFriendlyByteBuf;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
|
||||
public class ActionGamePacket implements Action {
|
||||
|
||||
private static final ResourceLocation NAME = FlashbackClient.createResourceLocation("action/game_packet");
|
||||
public static final ActionGamePacket INSTANCE = new ActionGamePacket();
|
||||
private ActionGamePacket() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResourceLocation name() {
|
||||
return NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(ReplayServer replayServer, RegistryFriendlyByteBuf friendlyByteBuf) {
|
||||
replayServer.handleGamePacket(friendlyByteBuf);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user