PredictiveAction .java

net.minecraft.client.multiplayer.prediction.PredictiveAction (interface, 13 lines): members: predict. ann: @FunctionalInterface. imports: Packet, EnvType.

net.minecraft.client.multiplayer.predictioninterface13 linesclient385 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

PredictiveAction.java13 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.multiplayer.prediction;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import net.minecraft.network.protocol.Packet;
6
import net.minecraft.network.protocol.game.ServerGamePacketListener;
7
8
@FunctionalInterface
9
@Environment(EnvType.CLIENT)
10
public interface PredictiveAction {
11
	Packet<ServerGamePacketListener> predict(int sequence);
12
}
13

Decompiled Minecraft 26.3 source of PredictiveAction (net/minecraft/client/multiplayer/prediction/PredictiveAction.java) with Mojang official mappings, stored verbatim on the site.