mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-16 09:04:30 +02:00
18 lines
592 B
Java
18 lines
592 B
Java
package de.ellpeck.naturesaura.reg;
|
|
|
|
import net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider;
|
|
import net.minecraft.util.Tuple;
|
|
import net.minecraft.world.level.block.entity.BlockEntity;
|
|
import net.minecraft.world.level.block.entity.BlockEntityType;
|
|
import net.minecraftforge.api.distmarker.Dist;
|
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
|
|
|
import java.util.function.Supplier;
|
|
|
|
public interface ITESRProvider<T extends BlockEntity> {
|
|
|
|
@OnlyIn(Dist.CLIENT)
|
|
Tuple<BlockEntityType<BlockEntity>, Supplier<BlockEntityRendererProvider<BlockEntity>>> getTESR();
|
|
|
|
}
|