NaturesAura/src/main/java/de/ellpeck/naturesaura/reg/ITESRProvider.java

19 lines
639 B
Java
Raw Normal View History

package de.ellpeck.naturesaura.reg;
2019-10-20 22:30:49 +02:00
import net.minecraft.client.renderer.tileentity.TileEntityRenderer;
2020-01-28 18:08:56 +01:00
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityType;
import net.minecraft.util.Tuple;
2019-10-20 22:30:49 +02:00
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
2020-01-28 18:08:56 +01:00
import java.util.function.Function;
public interface ITESRProvider {
2019-10-20 22:30:49 +02:00
@OnlyIn(Dist.CLIENT)
2020-01-28 18:08:56 +01:00
Tuple<TileEntityType, Function<? super TileEntityRendererDispatcher, ? extends TileEntityRenderer<? super TileEntity>>> getTESR();
}