This commit is contained in:
Moulberry committed 2024-07-25 16:40:29 +08:00
1 parent 9c4a30d224
commit 666398e480
174 files changed
+8694 -2942

No files matched your search

Binary file not shown.
Binary file not shown.
@@ -0,0 +1,16 @@
{
"flashback.select_replay": "Select Replay",
"flashback.select_replay.open": "Open Replay",
"flashback.select_replay.loading_replays": "Loading Replays",
"flashback.select_replay.replay": "Replay",
"flashback.select_replay.data_read": "Reading replay data...",
"flashback.select_replay.delete_question": "Are you sure you want to delete this replay?",
"flashback.select_replay.duration": "Duration: %s",
"flashback.option.automatically_start": "Automatically Start",
"flashback.option.automatically_start.description": "Automatically starts a replay recording when joining a world/server",
"flashback.option.automatically_finish": "Automatically Finish",
"flashback.option.automatically_finish.description": "Automatically finishes a replay recording when exiting the world/server",
"flashback.option.show_recording_toasts": "Show Recording Toasts",
"flashback.option.show_recording_toasts.description": "Show toasts in the top right when starting/stopping a replay recording"
}
+15 -9
View File
@@ -3,7 +3,7 @@
"id": "flashback",
"version": "${version}",
"name": "Flashback",
"description": "Record and replay the game",
"description": "Record your gameplay, view the recordings and export cinematic shots",
"authors": [
"Moulberry"
],
@@ -13,22 +13,28 @@
},
"license": "ARR",
"icon": "assets/flashback/icon.png",
"environment": "*",
"environment": "client",
"entrypoints": {
"main": [
"com.moulberry.flashback.Flashback"
],
"client": [
"com.moulberry.flashback.FlashbackClient"
"com.moulberry.flashback.Flashback"
],
"frex_flawless_frames": [
"com.moulberry.flashback.exporting.FrexFlawlessFramesIntegration"
],
"modmenu": [
"com.moulberry.flashback.FlashbackModMenuApiImpl"
]
},
"accessWidener": "flashback.accesswidener",
"mixins": [
"flashback.mixins.json",
{
"config": "flashback.client.mixins.json",
"environment": "client"
}
"flashback.mixins.json"
],
"depends": {
"fabricloader": ">=0.15.10",
"minecraft": "~1.20.6",
"minecraft": "~1.21",
"java": ">=21",
"fabric-api": "*"
}
+36 -1
View File
@@ -28,6 +28,9 @@ accessible field net/minecraft/client/gui/components/PlayerTabOverlay footer Lne
accessible field net/minecraft/client/multiplayer/MultiPlayerGameMode destroyBlockPos Lnet/minecraft/core/BlockPos;
accessible field net/minecraft/network/protocol/game/ClientboundLevelChunkWithLightPacket lightData Lnet/minecraft/network/protocol/game/ClientboundLightUpdatePacketData;
mutable field net/minecraft/network/protocol/game/ClientboundLevelChunkWithLightPacket lightData Lnet/minecraft/network/protocol/game/ClientboundLightUpdatePacketData;
# Entity
accessible field net/minecraft/network/syncher/SynchedEntityData itemsById [Lnet/minecraft/network/syncher/SynchedEntityData$DataItem;
@@ -61,7 +64,11 @@ accessible class net/minecraft/world/level/chunk/PalettedContainer$Data
accessible method net/minecraft/server/MinecraftServer haveTime ()Z
extendable method net/minecraft/server/MinecraftServer haveTime ()Z
accessible method net/minecraft/server/MinecraftServer synchronizeTime (Lnet/minecraft/server/level/ServerLevel;)V
extendable method net/minecraft/server/MinecraftServer synchronizeTime (Lnet/minecraft/server/level/ServerLevel;)V
accessible class net/minecraft/server/level/ThreadedLevelLightEngine$TaskType
accessible field net/minecraft/server/network/PlayerChunkSender pendingChunks Lit/unimi/dsi/fastutil/longs/LongSet;
# Packets
accessible field net/minecraft/network/protocol/game/ClientboundPlayerInfoUpdatePacket entries Ljava/util/List;
@@ -74,11 +81,39 @@ mutable field net/minecraft/network/protocol/game/ClientboundAddEntityPacket dat
accessible field net/minecraft/network/protocol/game/ClientboundAddEntityPacket id I
mutable field net/minecraft/network/protocol/game/ClientboundAddEntityPacket id I
accessible field net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData blockEntitiesData Ljava/util/List;
accessible class net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData$BlockEntityInfo
accessible field net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData$BlockEntityInfo packedXZ I
accessible field net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData$BlockEntityInfo y I
accessible field net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData$BlockEntityInfo type Lnet/minecraft/world/level/block/entity/BlockEntityType;
accessible field net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData$BlockEntityInfo tag Lnet/minecraft/nbt/CompoundTag;
accessible field net/minecraft/network/protocol/game/ClientboundLevelChunkPacketData buffer [B
# Replay UI
accessible field net/minecraft/client/gui/screens/Screen renderables Ljava/util/List;
accessible field net/minecraft/client/KeyMapping key Lcom/mojang/blaze3d/platform/InputConstants$Key;
accessible method net/minecraft/client/particle/ParticleEngine clearParticles ()V
accessible field com/mojang/blaze3d/platform/Window width I
accessible field com/mojang/blaze3d/platform/Window height I
# Exporting
accessible field net/minecraft/client/Minecraft clientTickCount J
accessible field net/minecraft/client/Minecraft timer Lnet/minecraft/client/Timer;
accessible field net/minecraft/client/Minecraft timer Lnet/minecraft/client/DeltaTracker$Timer;
accessible field net/minecraft/client/DeltaTracker$Timer deltaTicks F
accessible field net/minecraft/client/DeltaTracker$Timer realtimeDeltaTicks F
accessible field net/minecraft/client/DeltaTracker$Timer deltaTickResidual F
accessible field net/minecraft/client/DeltaTracker$Timer pausedDeltaTickResidual F
accessible field com/mojang/blaze3d/platform/NativeImage pixels J
accessible field com/mojang/blaze3d/platform/NativeImage size J
accessible method net/minecraft/client/player/AbstractClientPlayer getPlayerInfo ()Lnet/minecraft/client/multiplayer/PlayerInfo;
accessible field net/minecraft/client/renderer/LevelRenderer visibleSections Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
accessible field net/minecraft/client/renderer/LevelRenderer sectionOcclusionGraph Lnet/minecraft/client/renderer/SectionOcclusionGraph;
accessible field net/minecraft/client/renderer/SectionOcclusionGraph fullUpdateTask Ljava/util/concurrent/Future;
accessible field net/minecraft/client/renderer/SectionOcclusionGraph needsFullUpdate Z
accessible field com/mojang/blaze3d/platform/Window framebufferWidth I
accessible field com/mojang/blaze3d/platform/Window framebufferHeight I
accessible field com/mojang/blaze3d/pipeline/RenderTarget colorTextureId I
accessible field net/minecraft/client/Minecraft mainRenderTarget Lcom/mojang/blaze3d/pipeline/RenderTarget;
mutable field net/minecraft/client/Minecraft mainRenderTarget Lcom/mojang/blaze3d/pipeline/RenderTarget;
+52 -8
View File
@@ -1,10 +1,54 @@
{
"required": true,
"package": "com.moulberry.flashback.mixin",
"compatibilityLevel": "JAVA_21",
"mixins": [
],
"injectors": {
"defaultRequire": 1
}
"required": true,
"package": "com.moulberry.flashback.mixin",
"compatibilityLevel": "JAVA_21",
"client": [
"MixinDebugScreenOverlay",
"MixinLevelRenderer",
"MixinMinecraft",
"MixinMouseHandler",
"MixinRenderTarget",
"MixinWindow",
"packet_fix.MixinBossHealthOverlay",
"playback.MixinArmorStandRenderer",
"playback.MixinClientCommonPacketListenerImpl",
"playback.MixinGameRenderer",
"playback.MixinItemInHandRenderer",
"record.MixinClientConfigurationPacketListenerImpl",
"ui.MixinPauseScreen",
"ui.MixinTitleScreen",
"visuals.MixinBossHealthOverlay",
"visuals.MixinClientLevelData",
"visuals.MixinEntityRenderDispatcher",
"visuals.MixinFogRenderer",
"visuals.MixinGui",
"visuals.MixinLoadingOverlay",
"visuals.MixinOptions"
],
"injectors": {
"defaultRequire": 1
},
"mixins": [
"MixinThreadedLevelLightEngine",
"compat.MixinAxiomEditorUI",
"compat.MixinSodiumWorldRenderer",
"playback.MixinEntity",
"playback.MixinLevelChunkSection",
"playback.MixinLivingEntity",
"playback.MixinPlayerChunkSender",
"playback.MixinScoreboard",
"playback.MixinTickRateManager",
"record.MixinConnection",
"record.MixinFFmpegFrameRecorder",
"replay_server.MixinChunkGenerators",
"replay_server.MixinChunkStatusTasks",
"replay_server.MixinPersistentEntitySectionManager",
"replay_server.MixinPlayerList",
"replay_server.MixinServerChunkCache",
"replay_server.MixinServerConfigurationPacketListenerImpl",
"replay_server.MixinServerEntity",
"replay_server.MixinServerGamePacketListenerImpl",
"replay_server.MixinServerLoginPacketListenerImpl",
"replay_server.MixinTickRateManager"
]
}