NaturesAura/src/main/java/de/ellpeck/naturesaura/api/render/IVisualizable.java

17 lines
476 B
Java
Raw Normal View History

2019-01-27 13:57:34 +01:00
package de.ellpeck.naturesaura.api.render;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos;
2021-12-04 15:40:09 +01:00
import net.minecraft.level.Level;
2019-10-20 22:30:49 +02:00
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
2019-01-27 13:57:34 +01:00
public interface IVisualizable {
2019-01-27 13:57:34 +01:00
2019-10-20 22:30:49 +02:00
@OnlyIn(Dist.CLIENT)
2021-12-04 15:40:09 +01:00
AxisAlignedBB getVisualizationBounds(Level level, BlockPos pos);
2019-01-27 13:57:34 +01:00
2019-10-20 22:30:49 +02:00
@OnlyIn(Dist.CLIENT)
2021-12-04 15:40:09 +01:00
int getVisualizationColor(Level level, BlockPos pos);
2019-01-27 13:57:34 +01:00
}