package org.cyclops.integrateddynamics.api.block;

import net.minecraft.world.level.block.state.BlockState;

import javax.annotation.Nullable;

/**
 * Capability for targets that can hold facades.
 * @author rubensworks
 */
public interface IFacadeable {

    /**
     * @return If this container has a facade.
     */
    public boolean hasFacade();

    /**
     * @return The blockstate of the facade.
     */
    public BlockState getFacade();

    /**
     * Set the new facade
     * @param blockState The new facade or null.
     */
    public void setFacade(@Nullable BlockState blockState);

}
