fix: add missing SideOnly annotations

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2024-07-15 13:20:43 +05:00
parent ac41344a3c
commit bdec1683c2
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
3 changed files with 9 additions and 0 deletions

View file

@ -7,11 +7,14 @@ import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Vec3d;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.lwjgl.opengl.GL11;
import ru.octol1ttle.knockdowns.Tags;
import ru.octol1ttle.knockdowns.client.communication.KnockedNotificationManager;
import ru.octol1ttle.knockdowns.client.util.KnockedPlayerData;
@SideOnly(Side.CLIENT)
public class KnockedNotificationGui extends KnockdownsBaseGui {
private static final Minecraft client = Minecraft.getMinecraft();
private static final int KNOCKED_ICON_SIZE = 18;

View file

@ -5,9 +5,12 @@ import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.text.TextFormatting;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import ru.octol1ttle.knockdowns.common.KnockdownsUtils;
import ru.octol1ttle.knockdowns.common.data.IKnockdownsPlayerData;
@SideOnly(Side.CLIENT)
public class ReviveGui extends KnockdownsBaseGui {
private static final Minecraft client = Minecraft.getMinecraft();

View file

@ -1,7 +1,10 @@
package ru.octol1ttle.knockdowns.client.util;
import net.minecraft.util.math.Vec3d;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class KnockedPlayerData {
private final int playerId;
private final Vec3d position;