Module gomint.api

Interface BlockFenceGate

    • Method Detail

      • toggle

        void toggle()
        Toggle this fence gate
      • isOpen

        boolean isOpen()
        Check if this fence gate is open
        Returns:
        true if open, false if not
      • setWoodType

        void setWoodType​(WoodType woodType)
        Set the type of wood for this fence gate
        Parameters:
        woodType - type of wood
      • getWoodType

        WoodType getWoodType()
        Get the type of wood from which this fence gate has been made
        Returns:
        type of wood