1.15 port
This commit is contained in:
@@ -19,18 +19,18 @@
|
||||
package appeng.bootstrap;
|
||||
|
||||
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
|
||||
|
||||
/**
|
||||
* A callback that allows the rendering of a item to be customized. Sadly this class is required and no lambdas can be
|
||||
* used
|
||||
* due to them not being able to be annotated with @SideOnly(CLIENT).
|
||||
* due to them not being able to be annotated with @OnlyIn(CLIENT).
|
||||
*/
|
||||
public abstract class ItemRenderingCustomizer
|
||||
{
|
||||
|
||||
@SideOnly( Side.CLIENT )
|
||||
@OnlyIn( Dist.CLIENT )
|
||||
public abstract void customize( IItemRendering rendering );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user