This commit is contained in:
Moulberry committed 2024-09-01 18:08:55 +08:00
1 parent fcf1b4168f
commit 2fbe1f5480
46 files changed
+1846 -132

No files matched your search

@@ -9,6 +9,7 @@ import net.minecraft.server.level.ServerLevel;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.stats.Stat;
import net.minecraft.world.damagesource.DamageSource;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.crafting.RecipeHolder;
import net.minecraft.world.level.biome.BiomeManager;
@@ -18,6 +19,16 @@ import java.util.UUID;
public class ReplayPlayer extends ServerPlayer {
public boolean followLocalPlayerNextTick = false;
public UUID spectatingUuid = null;
public int spectatingUuidTickCount = 0;
public UUID lastFirstPersonDataUUID = null;
public int lastFirstPersonSelectedSlot = -1;
public ItemStack[] lastFirstPersonHotbarItems = new ItemStack[9];
public float lastFirstPersonExperienceProgress = 0.0f;
public int lastFirstPersonTotalExperience = 0;
public int lastFirstPersonExperienceLevel = 0;
public int lastFirstPersonFoodLevel = 0;
public float lastFirstPersonSaturationLevel = 0;
public ReplayPlayer(MinecraftServer minecraftServer, ServerLevel serverLevel, GameProfile gameProfile, ClientInformation clientInformation) {
super(minecraftServer, serverLevel, gameProfile, clientInformation);