generic renderable active flag and renaming cube -> box
This commit is contained in:
+13
-1
@@ -10,11 +10,23 @@ import java.util.function.Consumer;
|
||||
public interface IDhApiRenderableBoxGroup extends List<DhApiRenderableBox>
|
||||
{
|
||||
|
||||
|
||||
long getId();
|
||||
|
||||
void setActive(boolean active);
|
||||
boolean isActive();
|
||||
|
||||
void setOriginBlockPos(DhApiVec3f pos);
|
||||
DhApiVec3f getOriginBlockPos();
|
||||
|
||||
void setPreRenderFunc(Consumer<DhApiRenderParam> renderEventParam);
|
||||
|
||||
/**
|
||||
* If a cube's color, position, or other property are changed this method
|
||||
* must be called for those changes to render. <br><br>
|
||||
*
|
||||
* Note: changing the group's position via {@link #setOriginBlockPos} doesn't
|
||||
* require calling this method.
|
||||
*/
|
||||
void triggerBoxChange();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user