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

@@ -0,0 +1,11 @@
package com.moulberry.flashback.ext;
import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.player.AbstractClientPlayer;
import net.minecraft.client.renderer.MultiBufferSource;
public interface ItemInHandRendererExt {
void flashback$renderHandsWithItems(float f, PoseStack poseStack, MultiBufferSource.BufferSource bufferSource, AbstractClientPlayer localPlayer, int i);
}
@@ -0,0 +1,8 @@
package com.moulberry.flashback.ext;
public interface LevelChunkSectionExt {
int flashback$getCachedChunkId();
void flashback$setCachedChunkId(int id);
}
@@ -0,0 +1,16 @@
package com.moulberry.flashback.ext;
import net.minecraft.server.WorldStem;
import net.minecraft.server.packs.repository.PackRepository;
import net.minecraft.world.level.storage.LevelStorageSource;
import java.nio.file.Path;
import java.util.UUID;
public interface MinecraftExt {
void flashback$forceClientTick();
void flashback$startReplayServer(LevelStorageSource.LevelStorageAccess levelStorageAccess, PackRepository packRepository, WorldStem stem, UUID playbackUUID, Path path);
float flashback$getLocalPlayerPartialTick();
}
@@ -0,0 +1,13 @@
package com.moulberry.flashback.ext;
import net.minecraft.network.protocol.Packet;
import net.minecraft.network.protocol.configuration.ClientConfigurationPacketListener;
import net.minecraft.server.network.ConfigurationTask;
import java.util.List;
public interface ServerConfigurationPacketListenerImplExt {
void flashback$startConfiguration(List<Packet<? super ClientConfigurationPacketListener>> initialPackets, List<ConfigurationTask> tasks);
}
@@ -0,0 +1,13 @@
package com.moulberry.flashback.ext;
import net.minecraft.network.protocol.Packet;
import net.minecraft.network.protocol.configuration.ClientConfigurationPacketListener;
import net.minecraft.server.network.ConfigurationTask;
import java.util.List;
public interface ServerGamePacketListenerImplExt {
void flashback$switchToConfigWithTasks(List<Packet<? super ClientConfigurationPacketListener>> initialPackets, List<ConfigurationTask> tasks);
}
@@ -0,0 +1,7 @@
package com.moulberry.flashback.ext;
public interface ThreadedLevelLightEngineExt {
void flashback$submitPost(int x, int z, Runnable runnable);
}