2023-07-04 02:39:48 +02:00
|
|
|
package io.github.cottonmc.templates.api;
|
|
|
|
|
2023-07-04 03:55:32 +02:00
|
|
|
import net.fabricmc.fabric.api.rendering.data.v1.RenderAttachmentBlockEntity;
|
2023-07-04 02:39:48 +02:00
|
|
|
import net.minecraft.block.BlockState;
|
|
|
|
|
2023-07-04 03:55:32 +02:00
|
|
|
public interface ThemeableBlockEntity extends RenderAttachmentBlockEntity {
|
|
|
|
default BlockState getThemeState() {
|
|
|
|
return (BlockState) getRenderAttachmentData();
|
|
|
|
}
|
2023-07-04 02:39:48 +02:00
|
|
|
}
|