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

17 lines
450 B
Java
Raw Normal View History

2019-01-27 13:57:34 +01:00
package de.ellpeck.naturesaura.api.render;
2021-12-06 14:38:12 +01:00
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.Level;
import net.minecraft.world.phys.AABB;
2024-02-03 14:56:07 +01:00
import net.neoforged.api.distmarker.Dist;
import net.neoforged.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-06 14:38:12 +01:00
AABB 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
}