mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Stuff
This commit is contained in:
1 parent
9c4a30d224
commit
666398e480
174 files changed
+8694
-2942
No files matched your search
@@ -0,0 +1,30 @@
|
||||
package com.moulberry.flashback.playback;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.level.ClientInformation;
|
||||
import net.minecraft.server.level.ServerLevel;
|
||||
import net.minecraft.server.level.ServerPlayer;
|
||||
import net.minecraft.stats.Stat;
|
||||
import net.minecraft.world.item.crafting.RecipeHolder;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
public class ReplayPlayer extends ServerPlayer {
|
||||
public boolean followLocalPlayerNextTick = false;
|
||||
|
||||
public ReplayPlayer(MinecraftServer minecraftServer, ServerLevel serverLevel, GameProfile gameProfile, ClientInformation clientInformation) {
|
||||
super(minecraftServer, serverLevel, gameProfile, clientInformation);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int awardRecipes(Collection<RecipeHolder<?>> collection) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void awardStat(Stat<?> stat, int i) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user