annotation fixes

This commit is contained in:
FalsePattern committed 2022-06-12 11:58:13 +02:00
1 parent 3401ca837a
commit b4eacede64
5 files changed
+10

No files matched your search

@@ -1,5 +1,6 @@
package com.falsepattern.lib.compat;
import com.falsepattern.lib.StableAPI;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.ArrayList;
@@ -18,6 +19,7 @@ import org.lwjgl.opengl.GL11;
* A functional equivalent to GuiLabel present in Minecraft 1.12.
*/
@SideOnly(Side.CLIENT)
@StableAPI(since = "0.8.0")
public class GuiLabel extends Gui {
private final List<String> lines = new ArrayList<>();
private final FontRenderer fontRenderer;
@@ -1,11 +1,13 @@
package com.falsepattern.lib.mixin;
import com.falsepattern.lib.StableAPI;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import java.util.List;
import java.util.function.Predicate;
import java.util.function.Supplier;
import lombok.val;
@StableAPI(since = "0.8.0")
public interface IMixin {
String getMixin();
@@ -1,5 +1,6 @@
package com.falsepattern.lib.mixin;
import com.falsepattern.lib.StableAPI;
import com.falsepattern.lib.internal.CoreLoadingPlugin;
import java.io.File;
import java.io.FileNotFoundException;
@@ -20,6 +21,7 @@ import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
import static java.nio.file.Files.walk;
@StableAPI(since = "0.8.0")
public interface IMixinPlugin extends IMixinConfigPlugin {
Path MODS_DIRECTORY_PATH = CoreLoadingPlugin.mcDir.toPath().resolve("mods");
@@ -1,9 +1,11 @@
package com.falsepattern.lib.mixin;
import com.falsepattern.lib.StableAPI;
import com.google.common.io.Files;
import java.nio.file.Path;
import java.util.function.Predicate;
@StableAPI(since = "0.8.0")
public interface ITargetedMod {
String getModName();
@@ -1,5 +1,6 @@
package com.falsepattern.lib.util;
import com.falsepattern.lib.StableAPI;
import cpw.mods.fml.relauncher.ReflectionHelper;
import cpw.mods.fml.relauncher.SideOnly;
import lombok.*;
@@ -12,6 +13,7 @@ import static net.minecraft.client.Minecraft.getMinecraft;
@SideOnly(CLIENT)
@NoArgsConstructor(access = PRIVATE)
@StableAPI(since = "0.8.0")
public final class RenderUtil {
private final static Timer MINECRAFT_TIMER = getMinecraftTimer();