2018-11-21 20:36:55 +01:00
|
|
|
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;
|
2018-11-21 20:36:55 +01:00
|
|
|
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;
|
2018-11-21 20:36:55 +01:00
|
|
|
|
2020-01-28 18:08:56 +01:00
|
|
|
import java.util.function.Function;
|
2020-01-28 20:36:08 +01:00
|
|
|
import java.util.function.Supplier;
|
2020-01-28 18:08:56 +01:00
|
|
|
|
2020-01-28 20:36:08 +01:00
|
|
|
public interface ITESRProvider<T extends TileEntity> {
|
2018-11-21 20:36:55 +01:00
|
|
|
|
2019-10-20 22:30:49 +02:00
|
|
|
@OnlyIn(Dist.CLIENT)
|
2020-01-28 20:36:08 +01:00
|
|
|
Tuple<TileEntityType<T>, Supplier<Function<? super TileEntityRendererDispatcher, ? extends TileEntityRenderer<? super T>>>> getTESR();
|
2018-11-21 20:36:55 +01:00
|
|
|
|
|
|
|
}
|