GameLoopListener.java
520 Bytes
/*
* This file is part of LiteLoader.
* Copyright (C) 2012-16 Adam Mummery-Smith
* All Rights Reserved.
*/
package com.mumfrey.liteloader;
import net.minecraft.client.Minecraft;
/**
* Interface for mods which want a frame notification every single game loop
*
* @author Adam Mummery-Smith
*/
public interface GameLoopListener extends LiteMod
{
/**
* Called every frame, before the world is ticked
*
* @param minecraft
*/
public abstract void onRunGameLoop(Minecraft minecraft);
}