NaturesAura/src/main/java/de/ellpeck/naturesaura/reg/ITESRProvider.java
2020-01-28 20:36:08 +01:00

19 lines
701 B
Java

package de.ellpeck.naturesaura.reg;
import net.minecraft.client.renderer.tileentity.TileEntityRenderer;
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityType;
import net.minecraft.util.Tuple;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import java.util.function.Function;
import java.util.function.Supplier;
public interface ITESRProvider<T extends TileEntity> {
@OnlyIn(Dist.CLIENT)
Tuple<TileEntityType<T>, Supplier<Function<? super TileEntityRendererDispatcher, ? extends TileEntityRenderer<? super T>>>> getTESR();
}