Class FacadeableDefault

java.lang.Object
org.cyclops.integrateddynamics.capability.facadeable.FacadeableDefault
All Implemented Interfaces:
IFacadeable

public class FacadeableDefault extends Object implements IFacadeable
Default implementation of IFacadeable.
  • Constructor Details

    • FacadeableDefault

      public FacadeableDefault()
  • Method Details

    • hasFacade

      public boolean hasFacade()
      Specified by:
      hasFacade in interface IFacadeable
      Returns:
      If this container has a facade.
    • getFacade

      public net.minecraft.world.level.block.state.BlockState getFacade()
      Specified by:
      getFacade in interface IFacadeable
      Returns:
      The blockstate of the facade.
    • setFacade

      public void setFacade(@Nullable net.minecraft.world.level.block.state.BlockState blockState)
      Description copied from interface: IFacadeable
      Set the new facade
      Specified by:
      setFacade in interface IFacadeable
      Parameters:
      blockState - The new facade or null.